18 lines
637 B
HTML
18 lines
637 B
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<title>CSS 2.1 Test Suite: important</title>
|
|
<style type="text/css">
|
|
p { color: green ! important; }
|
|
p { color: red; }
|
|
p#id1 { color: red; }
|
|
</style>
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#important-rules" title="6.4.2 !important rules">
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascading-order" title="6.4.1 Cascading order">
|
|
</head>
|
|
<body>
|
|
<p> This line should be green. </p>
|
|
<p id="id1"> This line should be green. </p>
|
|
<p style="color: red;"> This line should be green. </p>
|
|
</body>
|
|
</html> |