You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
2.1KB

  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>
  12. <h1>HTML Purifier All Elements Smoketest</h1>
  13. <p>This is the all elements smoke
  14. test. It is divided by XHTML 1.1 style modules. Make sure
  15. <code>div</code>, <code>span</code> and <code>id</code> are allowed,
  16. otherwise there will be problems.</p>
  17. <h2>Core attributes</h2>
  18. <div id="core-attributes">
  19. <div id="core-attributes-id">id</div>
  20. <div class="core-attributes-class">class</div>
  21. <div title="tooltip">title</div>
  22. <div lang="en">lang</div>
  23. <div xml:lang="en">xml:lang (green when lang also present)</div>
  24. <div style="background:#008000">style</div>
  25. <div onclick="alert('foo');">onclick (and other event handlers)</div>
  26. </div>
  27. <h2>Text module</h2>
  28. <div id="module-text">
  29. <abbr>abbr</abbr>
  30. <acronym>acronym</acronym>
  31. <div><blockquote>blockquote</blockquote></div>
  32. <blockquote cite="http://www.example.com">blockquote@cite</blockquote>
  33. <br />
  34. <cite>cite</cite>
  35. <code>code</code>
  36. <dfn>dfn</dfn>
  37. <em>em</em>
  38. <h1>h1</h1>
  39. <h2>h2</h2>
  40. <h3>h3</h3>
  41. <h4>h4</h4>
  42. <h5>h5</h5>
  43. <h6>h6</h6>
  44. <kbd>kbd</kbd>
  45. <p>p</p>
  46. <pre>pre</pre>
  47. <span><q>q</q></span>
  48. <q cite="http://www.example.com">q@cite</q>
  49. <samp>samp</samp>
  50. <strong>strong</strong>
  51. <var>var</var>
  52. </div>
  53. <h2>Hypertext module</h2>
  54. <div id="module-hypertext">
  55. <span><a>a</a></span>:
  56. <a accesskey="q">accesskey</a>
  57. <a charset="UTF-8">charset</a>
  58. <a href="http://www.example.com/">href</a>
  59. <a hreflang="en">hreflang</a>
  60. <a rel="nofollow">rel</a>
  61. <a rev="index">rev</a>
  62. <a tabindex="1">tabindex</a>
  63. <a type="text/plain">type</a>
  64. </div>
  65. <h2>List module</h2>
  66. <div id="module-list">
  67. <dl><dt>dl dt</dt><dd>dl dd</dd></dl>
  68. <ol><li>ol li</li></ol>
  69. <ul><li>ul li</li></ul>
  70. </div>
  71. </body>
  72. </html>
  73. <!-- vim: et sw=4 sts=4
  74. -->