CSS1 Test Suite: 1.6 Contextual selectors

The style declarations which apply to the text below are:

    P {color: navy; font-family: serif;}
    HTML BODY TABLE P {color: purple; font-family: sans-serif;}
    EM, UL LI LI {color: green;}

This sentence should be navy serif in the first half of the page, but purple and sans-serif in the table.

This sentence should be normal for its section, except for the last word, which should be green.

- Hello. The first "hello" should be green, but this part should be black.
  - This should be green.

TABLE Testing Section
| This sentence should be navy serif in the first half of the page, but purple and sans-serif in the table. This sentence should be normal for its section, except for the last word, which should be green. Hello. The first "hello" should be green, but this part should be black. This should be green.