ID selectors work like class selectors, except that they can only be usedon one element per page. Given the following CSS rule:
p#bold { font-weight: bold; }And this HTML:
<p id="bold"> This paragraph will be rendered bold. </p>The result would be:
This paragraph will be rendered bold.