| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 5 |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> |
| 6 |
<title>Untitled Document</title> |
| 7 |
<style type="text/css"> |
| 8 |
<!-- |
| 9 |
|
| 10 |
* { |
| 11 |
line-height:20px; |
| 12 |
} |
| 13 |
|
| 14 |
div#id-one { |
| 15 |
color:#990033; |
| 16 |
font-size:18px; |
| 17 |
width:800px; |
| 18 |
} |
| 19 |
|
| 20 |
div#id-one h1[title]{ |
| 21 |
font-size:60px; |
| 22 |
} |
| 23 |
|
| 24 |
div#id-one h1[class=example]{ |
| 25 |
font-size:100px; |
| 26 |
} |
| 27 |
|
| 28 |
h1.another { |
| 29 |
font-style:italic; |
| 30 |
} |
| 31 |
|
| 32 |
h1.one { |
| 33 |
color:#FF3399; |
| 34 |
} |
| 35 |
|
| 36 |
p.class-one { |
| 37 |
color:#0000CC; |
| 38 |
font-size:11px; |
| 39 |
width:600px; |
| 40 |
} |
| 41 |
|
| 42 |
div#id-one p.class-one { |
| 43 |
color:#FF33CC; |
| 44 |
font-size:11px; |
| 45 |
background-color:#FFFFCC; |
| 46 |
width:400px; |
| 47 |
} |
| 48 |
|
| 49 |
div#id-one p.class-one, p.class-one span, p.class-two { |
| 50 |
font-style:italic; |
| 51 |
} |
| 52 |
|
| 53 |
div#id-one p.class-two * { |
| 54 |
color:#00CC66; |
| 55 |
} |
| 56 |
|
| 57 |
p.class-two em { |
| 58 |
font-size:24px; |
| 59 |
} |
| 60 |
|
| 61 |
div#id-one p.class-one > span { |
| 62 |
font-weight:bold; |
| 63 |
padding-left:100px; |
| 64 |
} |
| 65 |
|
| 66 |
|
| 67 |
div em { |
| 68 |
text-decoration:underline; |
| 69 |
} |
| 70 |
|
| 71 |
|
| 72 |
div>em { |
| 73 |
text-decoration:line-through; |
| 74 |
} |
| 75 |
|
| 76 |
div#id-one div p>em { |
| 77 |
text-decoration:overline; |
| 78 |
} |
| 79 |
|
| 80 |
div#id-one div p>em span[class|=sub] { |
| 81 |
color:#FFFF00; |
| 82 |
} |
| 83 |
|
| 84 |
div#id-one div p>em span[class=sub-class2] + span[class=under_class2] { |
| 85 |
color:#33FF66; |
| 86 |
} |
| 87 |
|
| 88 |
div#id-one div.class-three p>em span[class|=sub-class2] + span[class=under_class2] { |
| 89 |
color:#FF6600; |
| 90 |
} |
| 91 |
|
| 92 |
div.class-three + div.class-four { |
| 93 |
margin-left:200px; |
| 94 |
} |
| 95 |
|
| 96 |
div#id-one * span + span.sub-class2 > strong { |
| 97 |
color:#30ff00; |
| 98 |
} |
| 99 |
|
| 100 |
div#id-one div.class-three p>em span[class=under_class2] + span[class~=under_class3] { |
| 101 |
color:#0088dc; |
| 102 |
} |
| 103 |
|
| 104 |
div#id-one div[class=class-three] span[class=sub-class2] strong[class=class-four] { |
| 105 |
font-size:30px; |
| 106 |
} |
| 107 |
|
| 108 |
h1[title][class=last-one][rel=last] { |
| 109 |
color:#b34b22; |
| 110 |
} |
| 111 |
|
| 112 |
a, a:link, a:visited { |
| 113 |
font-size:30px; |
| 114 |
color:#f5a100; |
| 115 |
font-weight:bold; |
| 116 |
text-decoration:underline; |
| 117 |
} |
| 118 |
|
| 119 |
--> |
| 120 |
</style></head> |
| 121 |
|
| 122 |
<body> |
| 123 |
(body) |
| 124 |
<div id="id-one"> |
| 125 |
(div id="id-one") |
| 126 |
<h1>(h1)(/h1)</h1> |
| 127 |
<h1 title="lorum">(h1 title="lorum")(/h1)</h1> |
| 128 |
<h1 class="example">(h1 class="example")(/h1)</h1> |
| 129 |
<h1 class="another one">(h1 class="another one")(/h1)</h1> |
| 130 |
<h1 title="myheading" class="last-one" rel="last">(h1 title="myheading" class="last-one" rel="last")(/h1)</h1> |
| 131 |
<h1 class="last-one">(h1 class="last-one)</h1> |
| 132 |
<div> |
| 133 |
(div) |
| 134 |
<p> |
| 135 |
(p) |
| 136 |
<em> |
| 137 |
(em) |
| 138 |
<span class="sub-class">(span class="sub-class")(/span)</span> |
| 139 |
<span class="sub-class2">(span class="sub-class2")(/span)</span> |
| 140 |
<span class="under_class2">(span class="under_class2")(/span)</span> |
| 141 |
<span class="sub-class2 under_class3">(span class="sub-class2 under_class3")(/span)</span> |
| 142 |
(/em) |
| 143 |
</em> |
| 144 |
(/p) |
| 145 |
</p> |
| 146 |
(/div) |
| 147 |
</div> |
| 148 |
|
| 149 |
<div class="class-three"> |
| 150 |
(div class="class-three") |
| 151 |
<p> |
| 152 |
(p) |
| 153 |
<em> |
| 154 |
(em) |
| 155 |
<span class="sub-class">(span class="sub-class")(/span)</span> |
| 156 |
<span class="sub-class2">(span class="sub-class2")<strong>(strong)(/strong)</strong><strong class="class-four">(strong class="class-four")(/strong)</strong>(/span)</span> |
| 157 |
<span class="under_class2">(span class="under_class2")(/span)</span> |
| 158 |
(/em) |
| 159 |
</em> |
| 160 |
(/p) |
| 161 |
</p> |
| 162 |
(/div) |
| 163 |
</div> |
| 164 |
|
| 165 |
<div class="class-four"> |
| 166 |
(div class="class-four") |
| 167 |
<p>(p)(/p)</p> |
| 168 |
<em>(em)(/em)</em> |
| 169 |
(/div) |
| 170 |
</div> |
| 171 |
|
| 172 |
<p class="class-two"> |
| 173 |
(p class="class-two")(/p) |
| 174 |
</p> |
| 175 |
|
| 176 |
<p class="class-one"> |
| 177 |
(p class="class-one") |
| 178 |
<span>(span)(/span)</span> text <span>(span)(/span)</span> |
| 179 |
(/p) |
| 180 |
</p> |
| 181 |
|
| 182 |
<div class="class-four"> |
| 183 |
(div class="class-four") |
| 184 |
<p>(p)(/p)</p> |
| 185 |
<em>(em)(/em)</em> |
| 186 |
(/div) |
| 187 |
</div> |
| 188 |
|
| 189 |
<p class="class-two"> |
| 190 |
(p class="class-two")(/p) |
| 191 |
</p> |
| 192 |
(/div) |
| 193 |
</div> |
| 194 |
|
| 195 |
<p class="class-one"> |
| 196 |
(p class="class-one")<span>(span)(/span)</span> text <span>(span)(/span)</span>(/p) |
| 197 |
</p> |
| 198 |
|
| 199 |
<p class="class-two"> |
| 200 |
(p class="class-two") |
| 201 |
<em>(em)(/em)</em> text <span>(span)(/span)</span><a href="#">(a href="#")(/a)</a> |
| 202 |
(/p) |
| 203 |
</p> |
| 204 |
(/body) |
| 205 |
</body> |
| 206 |
</html> |
| 207 |
|