Home  >  Article  >  Web Front-end  >  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

云罗郡主
云罗郡主forward
2018-10-18 16:30:592904browse

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!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete