28 lines
631 B
HTML
28 lines
631 B
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<title>CSS 2.1 Test Suite: Characters and Case: Character Escapes</title>
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#q6">
|
|
<style type="text/css">
|
|
|
|
p.class#id { background: green; color: white; }
|
|
|
|
p\.class#id { background: red; }
|
|
|
|
p.class\#id { background: red; }
|
|
|
|
p.class#id { background\: red; }
|
|
|
|
p.class#id { background: red\; }
|
|
|
|
p.class#id \{ background: red; \}
|
|
p.class#id { background: red; }
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<p id="id" class="class">This paragraph should have a green background.</p>
|
|
|
|
</body>
|
|
</html> |