Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
<head>
<title>CSS Test: Color keyword syntax</title>
<link rel="author" title="Germain Garand" href="mailto:germain@ebooksfrance.org"/>
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
<link rel="reviewer" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-07-01 -->
<link rel="match" href="colors-007-ref.xht" />
<meta name="flags" content="invalid"/>
<style type="text/css">
p.correct { color: red }
p.incorrect { color: green }
p#keyword { color: green }
p#quoted { color: 'red'; color: "red"; }
p#hash { color: #red }
p#escape { color: g\re\45n }
</style>
</head>
<body>
<p class="incorrect" id="quoted">This sentence must be green.</p>
<p class="incorrect" id="hash">This sentence must be green.</p>
<p class="correct" id="keyword">This sentence must be green.</p>
<p class="correct" id="escape">This sentence must be green.</p>
</body>
</html>