|
The :first-child pseudo-class allows you to apply a style to the first child of a tag. For example: body:first-child {text-style: bold;} This makes sure that the first child tag of body displays in bold. You might use this if you want the first paragraph of a document to look different from the remaining paragraphs. |
More information a:link, a:active and a:visited first-child |