- 论坛徽章:
- 0
|
实现起来比较简单,
A:visited
{
BACKGROUND-COLOR: black
}
A A:active
{
}
或者在body标签里面设置vlink 和alink
The BODY element
<!ELEMENT BODY O O (%block;|SCRIPT)+ +(INS|DEL) -- document body -->
<!ATTLIST BODY
%attrs; -- %coreattrs, %i18n, %events --
onload %Script; #IMPLIED -- the document has been loaded --
onunload %Script; #IMPLIED -- the document has been removed --
>
Start tag: optional, End tag: optional
Attribute definitions
background = uri [CT]
Deprecated. The value of this attribute is a URI that designates an image resource. The image generally tiles the background (for visual browsers).
text = color [CI]
Deprecated. This attribute sets the foreground color for text (for visual browsers).
link = color [CI]
Deprecated. This attribute sets the color of text marking unvisited hypertext links (for visual browsers).
vlink = color [CI]
Deprecated. This attribute sets the color of text marking visited hypertext links (for visual browsers).
alink = color [CI]
Deprecated. This attribute sets the color of text marking hypertext links when selected by the user (for visual browsers). |
|