HTML Headings

HTML headers help define structure to your web page by highlighting important topics.

Contents

The importance of headings
Types of headers

The importance of headings

Headings play 2 big roles in the web.

  • Lets users see the structure and topics of a document.
  • Search engines use headings to index the content and structure of web pages.

Types of headers

There are 6 types of headings.


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

The bigger the number gets, the smaller the size of the heading and shows the least importance.

Heading types

Do you want more HTML articles?

Hey, here at Linguine Code, we want to teach you everything we know about HTML. Our only question is, are you in?