Report HTML Tags¶
With the upgrade of Jquery version from 3.4.1 to 3.6.0 some HTML5 tags to be closed explicitly.
Here is a comprehensive list of HTML elements that are used in HTML5, divided into their respective categories.
Note that in HTML5, self-closing tags do not require an explicit closing tag, but if you want to close them explicitly, you can follow the XHTML syntax.
Common HTML Elements
Structural Elements¶
<html> ... </html>
<head> ... </head>
<body> ... </body>
Metadata Elements¶
<title> ... </title>
Sectioning Elements¶
<header> ... </header>
<nav> ... </nav>
<section> ... </section>
<article> ... </article>
<aside> ... </aside>
<footer> ... </footer>
<main> ... </main>
<address> ... </address>
<h1> ... </h1> (and <h2>, <h3>, <h4>, <h5>, <h6>)
Grouping Content¶
<p> ... </p>
<pre> ... </pre>
<blockquote> ... </blockquote>
<ol> ... </ol>
<ul> ... </ul>
<li> ... </li>
<dl> ... </dl>
<dt> ... </dt>
<dd> ... </dd>
<figure> ... </figure>
<figcaption> ... </figcaption>
<div> ... </div>
Text-level Semantics¶
<a> ... </a>
<em> ... </em>
<strong> ... </strong>
<small> ... </small>
<s> ... </s>
<cite> ... </cite>
<q> ... </q>
<dfn> ... </dfn>
<abbr> ... </abbr>
<data> ... </data>
<time> ... </time>
<code> ... </code>
<var> ... </var>
<samp> ... </samp>
<kbd> ... </kbd>
<sub> ... </sub>
<sup> ... </sup>
<i> ... </i>
<b> ... </b>
<u> ... </u>
<mark> ... </mark>
<ruby> ... </ruby>
<rt> ... </rt>
<rp> ... </rp>
<bdi> ... </bdi>
<bdo> ... </bdo>
<span> ... </span>
Edits¶
<ins> ... </ins>
<del> ... </del>
Embedded Content¶
<iframe> ... </iframe>
<object> ... </object>
<video> ... </video>
<audio> ... </audio>
<canvas> ... </canvas>
<map> ... </map>
<svg> ... </svg>
<math> ... </math>
Table Content¶
<table> ... </table>
<caption> ... </caption>
<colgroup> ... </colgroup>
<tbody> ... </tbody>
<thead> ... </thead>
<tfoot> ... </tfoot>
<tr> ... </tr>
<td> ... </td>
<th> ... </th>
Forms¶
<form> ... </form>
<label> ... </label>
<button> ... </button>
<select> ... </select>
<datalist> ... </datalist>
<optgroup> ... </optgroup>
<option> ... </option>
<textarea> ... </textarea>
<output> ... </output>
<progress> ... </progress>
<meter> ... </meter>
<fieldset> ... </fieldset>
<legend> ... </legend>
Self-Closing Tags in HTML5¶
In HTML5, self-closing tags do not need an explicit closing slash (/). However, if you are following XHTML syntax or want to close them explicitly, you can do so:
<meta />
<link />
<hr />
<br />
<img />
<input />
<source />
<track />
<wbr />
<area />
<base />
<col />
<embed />
<keygen />
<param />