E#id

Matches the element E with the id attribute "id" (source: W3C).

HTML:

  1. <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
  2. <p id="teasertext">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>

CSS:

  1. p#teasertext{font-weight:bold}

Output:

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

In the example, the second paragraph should be in bold text.