<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>CSS 2.1 Test Suite: ID as selector</title> <style type="text/css"><![CDATA[ body {color: red;} #test1 {color: green;} #test2 {color: green;} p#test3 {color: green;} ]]></style> <link title="5.9 ID selectors" href="http://www.w3.org/TR/CSS21/selector.html#id-selectors" rel="help"/> </head> <body> <p id="test1"> This line should be green. </p> <p id="test2"> This line should be green. </p> <p id="test3"> This line should be green. </p> </body> </html>