CSS :first-child pseudo-class property
Usage
Adds special styling to the first child of a parent element. In the example below the first time the <em> tag is used in a paragraph it will be displayed in bold. All subsequent uses will be displayed as normal. Not supported by Internet Explorer.
Example
Code:
p:first-child em {
font-weight: bold;
}