Expression |
Name |
Description / Example |
E#myid |
ID selectors |
Matches any E element with ID equal to "myid". |
E:link, E:visited |
The link pseudo-class |
Matches element E if E is the source anchor of a hyperlink of which the target is
not yet visited (:link) or already visited (:visited). |
E:active, E:hover, E:focus |
The dynamic pseudo-classes |
Matches E during certain user actions. |
E:first-line |
The :first-line pseudo-class |
The :first-line pseudo-element applies special styles to the contents of the first
formatted line of a paragraph. |
E:first-letter |
The :first-letter pseudo-class |
The :first-letter pseudo-element must select the first letter of the first line of
a block, if it is not preceded by any other content (such as images or inline tables) on
its line. The :first-letter pseudo-element may be used for "initial caps" and "drop caps",
which are common typographical effects. |