css3-modsel-3a.xml (795B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>Universal selector (no namespaces)</title> 5 <style type="text/css"><![CDATA[* { color : lime } 6 ul, p { color : red } 7 *.t1 { color : lime } 8 ]]></style> 9 <link rel="author" title="Daniel Glazman" href="http://glazman.org/"/> 10 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 11 <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"/> <!-- bogus link to make sure it gets found --> 12 </head> 13 <body> 14 <p> 15 <span class="t1">This paragraph, and all textual contents in the document, 16 should be green.</span> 17 </p> 18 <ul> 19 <li class="t1">This item should be green.</li> 20 </ul> 21 </body> 22 </html>