HTML elements

H elements

h1, h2, h3, h4, h5, h6

This element represent headings from the highest to lowest rank.

Heading level 1

Heading level 2

Heading level 3

Heading level 4

Heading level 5
Heading level 6
<h1>Heading level 1</h1>
<h2>Heading level 2</h2>
<h3>Heading level 3</h3>
<h4>Heading level 4</h4>
<h5>Heading level 5</h5>
<h6>Heading level 6</h6>


This element represents a collection of metadata for the Document.

<html lang="en">
    This is the HEAD element


This element represents the "header" of a document or section of a document. The header element is typically used to group a set of h1–h6 lements to mark up a page's title with its subtitle or tagline.

<header class="class-name" id="header-id-name" role="banner">
  This is a HEADER element


This element represents a paragraph-level thematic break.

Some content
Some more content


This element represents the root of an HTML document.

<html lang="en">
  This is the HTML element