Release 4.5.0
[htmlpurifier.git] / smoketests / basic / allElements.html
blob994c8df4607fb31b48413f32ec3b0ebd50f3f213
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-loose.dtd">
5 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6 <head>
7 <title>HTML Purifier All Elements Smoketest</title>
8 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
9 <link rel="stylesheet" href="allElements.css" type="text/css" />
10 </head>
11 <body>
13 <h1>HTML Purifier All Elements Smoketest</h1>
15 <p>This is the all elements smoke
16 test. It is divided by XHTML 1.1 style modules. Make sure
17 <code>div</code>, <code>span</code> and <code>id</code> are allowed,
18 otherwise there will be problems.</p>
20 <h2>Core attributes</h2>
21 <div id="core-attributes">
22 <div id="core-attributes-id">id</div>
23 <div class="core-attributes-class">class</div>
24 <div title="tooltip">title</div>
25 <div lang="en">lang</div>
26 <div xml:lang="en">xml:lang (green when lang also present)</div>
27 <div style="background:#008000">style</div>
28 <div onclick="alert('foo');">onclick (and other event handlers)</div>
29 </div>
31 <h2>Text module</h2>
32 <div id="module-text">
33 <abbr>abbr</abbr>
34 <acronym>acronym</acronym>
35 <div><blockquote>blockquote</blockquote></div>
36 <blockquote cite="http://www.example.com">blockquote@cite</blockquote>
37 <br />
38 <cite>cite</cite>
39 <code>code</code>
40 <dfn>dfn</dfn>
41 <em>em</em>
42 <h1>h1</h1>
43 <h2>h2</h2>
44 <h3>h3</h3>
45 <h4>h4</h4>
46 <h5>h5</h5>
47 <h6>h6</h6>
48 <kbd>kbd</kbd>
49 <p>p</p>
50 <pre>pre</pre>
51 <span><q>q</q></span>
52 <q cite="http://www.example.com">q@cite</q>
53 <samp>samp</samp>
54 <strong>strong</strong>
55 <var>var</var>
56 </div>
58 <h2>Hypertext module</h2>
59 <div id="module-hypertext">
60 <span><a>a</a></span>:
61 <a accesskey="q">accesskey</a>
62 <a charset="UTF-8">charset</a>
63 <a href="http://www.example.com/">href</a>
64 <a hreflang="en">hreflang</a>
65 <a rel="nofollow">rel</a>
66 <a rev="index">rev</a>
67 <a tabindex="1">tabindex</a>
68 <a type="text/plain">type</a>
69 </div>
71 <h2>List module</h2>
72 <div id="module-list">
73 <dl><dt>dl dt</dt><dd>dl dd</dd></dl>
74 <ol><li>ol li</li></ol>
75 <ul><li>ul li</li></ul>
76 </div>
78 </body>
79 </html>
81 <!-- vim: et sw=4 sts=4
82 -->