This section provides the basic structure of an HTML page. It's the bare minimum you need to create a webpage.
<!DOCTYPE html><html><head><metacharset="UTF-8" />
<title>Title</title></head><body><!-- content here --></body></html>
Head
This section explains the tag in HTML, which contains meta-information about the webpage like the title, links to CSS files, scripts, and other metadata.
This part introduces the semantic elements introduced in HTML5, which help to describe the type of content contained in them, making it easier for both people and machines to understand. It includes elements for defining the structure of the page (like header, footer, section, etc.) and new elements for figures, details, progress bars, and more.
Page layout
<header>My website</header><nav><ahref="page1">Page 1</a><ahref="page2">Page 2</a><ahref="page3">Page 3</a></nav><section>Hello everybody, Welcome to my website !</section><article><header><h2>Title</h2></header><p>My article</p></article><aside>Writen by me</aside><sectionid="comments"><article>Comment 1</article><article>Comment 2</article></section><footer>Copyright notice</footer>
tag
element
header
header of document or section
footer
footer of document or section
section
section
article
article, forum post, blog post, comment
aside
aside content related to surrounding content
nav
navigation links
New elements
<figure><imgsrc="image.png" alt="figure 1" />
<figcaption>Figure 1</figcaption></figure><details><summary>
Declaration of M. X on <timedatetime="2013-12-25">Christmas day</time></summary><p>M. X said...</p></details>
Downloading progress : <progressvalue="53" max="100"></progress> Disk space :
<metervalue="62" min="10" max="350"></meter>