Home > Web Front-end > HTML Tutorial > Commonly used attributes in body and usage and detailed explanation of a link color

Commonly used attributes in body and usage and detailed explanation of a link color

云罗郡主
Release: 2018-10-18 16:30:59
forward
2961 people have browsed it

The content this article brings to you is about the commonly used attributes in the body and the usage and detailed explanation of a link color. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

Commonly used attributes in body and usage and detailed explanation of a link color

bgcolor="Background Color" background="Background Image" text="Text Color"

link="Connection File Color" vlink="Visit "alink="activated link text" (that is, the color generated when the mouse clicks)

leftmargin="left margin" topmargin="top margin"

The above attributes are not supported Used to apply styles instead.

a:link - the color of the link when not visited

a:visited - the color of the link after visited

a:hover - the color displayed when the mouse is placed on the link

a:active - the color displayed when the link is clicked

Note: a:hover must be set after a:link and a:visited, a:active must be set after a:hover after.

The above is the complete introduction. If you want to know more about HTML video tutorial, please pay attention to the PHP Chinese website.


The above is the detailed content of Commonly used attributes in body and usage and detailed explanation of a link color. For more information, please follow other related articles on the PHP Chinese website!

source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template