| void | Replaced | ||
<!--...--> | A Comment | ||
<a> | |||
<abbr> | |||
<acronym> | |||
<address> | is used to indicate contact information for is nearest <article> or <body> ancestor. | ||
<applet> | |||
<area> | ✓ | ||
<aside> | Used for content that is only indirectly related to the document's main content. | ||
<audio> | sometimes | ||
<b> | ✓ | ||
<base> | ✓ | ||
<basefont> | |||
<bdo> | |||
<big> | |||
<blockquote> | represents a section that is quoted from another source. | ||
<body> | |||
<br> | |||
<button> | |||
<canvas> | sometimes | ||
<caption> | |||
<center> | |||
<cite> | represents a title of work. | ||
<code> | |||
<col> | ✓ | ||
<colgroup> | |||
<dl>, <dt> and <dd> | |||
<del> | |||
<details> | : the visibility of its content can be toggled by the users. | ||
<dfn> | |||
<dir> | |||
<div> | |||
<dl>, <dt> and <dd> | |||
<dl>, <dt> and <dd> | |||
<em> | |||
<embed> | ✓ | yes | |
<fieldset> | |||
<figcaption> | |||
<figure> | |||
<font> | |||
<form> | |||
<frame> | |||
<frameset> | |||
<h1> … <h6> | |||
<head> | contains the metadata about the document. | ||
<hr> | ✓ | ||
<html> | |||
<i> | |||
<iframe> | yes | ||
<img> | ✓ | yes | data URIs, determining width and height with javascript. |
<input> | ✓ | special | allows the user of a web page to input values for processing locally with JavaScript or to be submitted to the web server. |
<ins> | |||
<isindex> | |||
<kbd> | |||
<label> | |||
<legend> | |||
<li> | |||
<link> | ✓ | allows authors to link a document to other resources. | |
<map> | |||
<menu> | |||
<meta> | ✓ | ||
<noframes> | |||
<noscript> | compare with <script> | ||
<object> | sometimes | ||
<ol> | |||
<optgroup> | |||
<option> | sometimes | ||
<p> | |||
<param> | |||
<pre> | |||
<q> | |||
<s> | |||
<samp> | |||
<script> | compare with <noscript> | ||
<select> | allows to define a drop down list from which a user can select a value. | ||
<small> | |||
<source> | ✓ | Specifies the media resource for <picture>, <audio> or <video>. | |
<span> | |||
<summary> | |||
<strike> | |||
<strong> | |||
<style> | |||
<sub> | |||
<sup> | |||
<svg> | |||
<table> | |||
<tbody> | |||
<td> | |||
<textarea> | |||
<tfoot> | |||
<th> | |||
<thead> | |||
<time> | |||
<title> | |||
<tr> | |||
<track> | ✓ | Used as child of the <audio> or <video> media elements. | |
<tt> | |||
<u> | |||
<ul> | |||
<var> | |||
<viewport> | |||
<video> | yes | for example to render a webcam stream in a HTML page. | |
<wbr> | marks a position with a word break opportunity. |
<article>
<header>
<main>
<nav>
<footer> <img> or <video> element. object-fit CSS property defines how the content of a replaced element should be resized to fit its container. <br/> <meta …></meta> would be wrong.
document.createElement and added to the DOM tree with an element's appendChild() method. <!DOCTYPE html>, which technically is not a tag. HTMLElement. < and > denote an element in a HTML document, these characters need to be «escaped» with an entity.