| 1. |
What Are Pseudo-classes? |
|
Answer» Pseudo-classes are fictional element types that do not exist in HTML. In CSS1 there is only one element TYPE which can be classed this way, namely the A element(anchor). By creating three fictional types of the A element individual style can be attached to each class. These three fictional element types are: A as unvisited link, A as active link and A as VISITED link. Pseudo-classes are created by a colon followed by pseudo-class's name. They can also be COMBINED with normal classes example: A:link {BACKGROUND: black; color: white}
Pseudo-classes are fictional element types that do not exist in HTML. In CSS1 there is only one element type which can be classed this way, namely the A element(anchor). By creating three fictional types of the A element individual style can be attached to each class. These three fictional element types are: A as unvisited link, A as active link and A as visited link. Pseudo-classes are created by a colon followed by pseudo-class's name. They can also be combined with normal classes example: A:link {background: black; color: white}
|
|