<i> elements in <p> elements that are the first child of another element:
:lang pseudo-class allows you to define special rules for different languages.
In the example below, the :lang class defines the quotation marks for q elements with lang="no":
| Pseudo-class | Purpose | CSS |
|---|---|---|
| :active | Adds special style to an activated element | 1 |
| :focus | Adds special style to an element while the element has focus | 2 |
| :hover | Adds special style to an element when you mouse over it | 1 |
| :link | Adds special style to an unvisited link | 1 |
| :visited | Adds special style to a visited link | 1 |
| :first-child | Adds special style to an element that is the first child of some other element | 2 |
| :lang | Allows the author to specify a language to use in a specified element | 2 |