HTML5 Elements and Attributes

  1. <a href hreflang media ping rel target type>
  2. <abbr title>
  3. <address>
  4. <area alt coords href hreflang media ping rel shape target type>
  5. <article>
  6. <aside>
  7. <audio autoplay controls end playcount loopend loopstart src start>
  8. <b>
  9. <base href target>
  10. <bdo dir>
  11. <blockquote cite>
  12. <body>
  13. <br>
  14. <canvas height width>
  15. <caption>
  16. <cite>
  17. <code>
  18. <col span>
  19. <colgroup span>
  20. <command checked default disabled hidden icon label radiogroup title type>
  21. <datagrid disabled multiple>
  22. <datatemplate>
  23. <dd>
  24. <del cite datetime>
  25. <details open>
  26. <dfn title>
  27. <dialog>
  28. <div>
  29. <dl>
  30. <dt>
  31. <em>
  32. <embed height src type width>
  33. <event-source src>
  34. <figure>
  35. <footer>
  36. <h1>
  37. <h2>
  38. <h3>
  39. <h4>
  40. <h5>
  41. <h6>
  42. <head>
  43. <header>
  44. <hr>
  45. <html manifest>
  46. <i>
  47. <iframe name src>
  48. <img alt height ismap src usemap width>
  49. <ins cite datetime>
  50. <kbd>
  51. <legend>
  52. <li value>
  53. <link href hreflang media rel sizestitle type>
  54. <mark>
  55. <map>
  56. <menu autosubmit label type>
  57. <meta charset content http-equiv name>
  58. <meter high low max min optimum value>
  59. <nav>
  60. <nest filter mode>
  61. <noscript>
  62. <object data height name type usemap width>
  63. <ol reversed start>
  64. <p>
  65. <param name value>
  66. <pre>
  67. <progress max value>
  68. <q cite>
  69. <rule condition mode>
  70. <samp>
  71. <script async defer src type>
  72. <section>
  73. <small>
  74. <source media src type>
  75. <span>
  76. <strong>
  77. <style media scoped title type>
  78. <sub>
  79. <sup>
  80. <table>
  81. <tbody>
  82. <td colspan rowspan>
  83. <tfoot>
  84. <th colspan rowspan scope>
  85. <thead>
  86. <time datetime>
  87. <title>
  88. <tr>
  89. <ul>
  90. <var>
  91. <video autoplay controls end height playcount loopend loopstart poster src start width>

Defined in Web Forms 2.0

  1. <button accesskey action autofocus disabled enctype form method name replace tabindex template type value>
  2. <datalist data>
  3. <fieldset disabled form>
  4. <form accept accept-charset action data enctype method replace>
  5. <input accept accesskey action alt autocomplete autofocus checked disabled enctype form inputmode list maxlength method min max name pattern step readonly replace required size src tabindex template type value>
  6. <label accesskey for>
  7. <optgroup disabled label>
  8. <option disabled label selected value>
  9. <output for form name>
  10. <select accesskey autofocus data disabled form multiple name size tabindex>
  11. <textarea accept accesskey autofocus cols disabled form inputmode maxlength name readonly required rows tabindex wrap>

Global Attributes

Event Handler Attributes

Superglobal Attributes

These attributes are allowed on any element. When used on non-HTML elements these attributes have to be namespaced.

Acknowledgements

Thanks to Matt McDonald for doing the real work that made this page possible.

Simon Pieters