Main Index | Style Sheet Index | Element Tree | Element Index | HTML Support History |
A HREF [ IE3B1
| N4B5 ] States: 'link' [ IE3B1 | N4B5 ]: General state of a hyperlink before it has been activated. 'visited' [ IE3B1 | N4B5 ]: State of a hyperlink after it has been activated. 'active' [ IE4B1 | N ]: State of a hyperlink during which it is currently activated. HTML Equivalent: <body LINK VLINK ALINK> Examples: Modifying a plain tag: a:active { color: red } Combining with a normal class: a.test:visited { color: red } Within a Contextual Selector: a:link img { border: solid green } |
Pseudo Element |
Support |
Applies To |
Example |
Description |
first-letter | IE | N | Block Elements |
div:first-letter { font-size: xx-large } |
This is used to apply styles to the first LETTER of an HTML Block Structure. The browser will decide which characters are inside this Pseudo-Element. |
first-line | IE | N | Block Elements |
p:first-line { margin-left: 0.5in } |
This is used to apply styles to the first LINE of an HTML Block Structure on an output device (A browser screen, printer, etc.) |