Tags are case-insensitive, but it is recommended to use lowercase.
Normal Elements #
<Opening Tag>Nested Content</Closing Tag>
Normal elements can have nested elements and text nodes.
The Nested Content sets the default value.<textarea>Default</textarea>
<Tag />
The trailing slash is not required, but it makes XHTML-compatible and more readable.
Void elements cannot have nested elements and text nodes.
The value attribute sets the default value.<input value="Default" />
<meta><link><img><input><hr><br>
<!doctype html><html><head><meta><title><link>External CSS, Favicon
<style>Internal CSS
<script><noscript>Can be nested in the
<body>element.<body><header><main><footer><aside><nav><article>Independent Content
<section>Semantic Block Grouping
<div>Non-Semantic Block Grouping
<span>Non-Semantic Inline Grouping
<fieldset><legend><label><input><button><datalist><select><optgroup><option><textarea><output><hgroup><h1>~<h6><p><strong><b>Bold
<em><i>Italic
<s>Strikethrough
<mark>Highlight
<del><ins>Delete and Insert
<small><var><sub><sup>Variable
<kbd>Keyboard
<samp>Program Sample Output
<pre><code><bdo><bdi><hr><br><ul><ol><li><dl><dt><dd><details><summary><data><time><figure><figcaption><img><map><area><picture><source><video><source><audio><source><iframe>