grouping-000.xht (822B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 <head> 5 <title>CSS Test: Selectors: Grouping</title> 6 <link rel="author" title="Gabriele Romanato" href="mailto:gabriele.romanato@gmail.com" /> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#grouping" /> 8 <link rel="match" href="grouping-000-ref.xht"/> 9 <link rel="mismatch" href="grouping-000-notref.xht"/> 10 <meta name="assert" content="Browsers should apply the rule to all elements grouped"/> 11 <style type="text/css"> 12 p, div, h4 {color: green; font-weight: bold} 13 </style> 14 </head> 15 <body> 16 <p>This text should be green.</p> 17 <div>This text should be green.</div> 18 <h4>This text should be green.</h4> 19 </body> 20 </html>