HTML Heading Tags

HTML Heading Tags

The HTML Heading tags are can be defined asa title or subtitle display on the html webpage.

These tags are six types

  • h1
  • h2
  • h3
  • h4
  • h5
  • h6

in this list of heading tags <h1> is the most important tag.

h1 is the largest heading tag and h6 is the smallest tag.

HTML Heading tags Syntax

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

all search engines to use the heading tags to index the content of your webpages.


<!DOCTYPE html>
    <title>Example of HTML headings tag</title>
<h1>Heading  1</h1>
<h2>Heading  2</h2>
<h3>Heading  3</h3>
<h4>Heading  4</h4>
<h5>Heading  5</h5>
<h6>Heading  6</h6>

Click on the "Run This Code" button to see how it works.


Welcome HTML Getting Started HTML Elements HTML Attributes HTML Headings HTML Paragraphs HTML Links HTML Styles HTML Text Formatting HTML Tables HTML Images HTML Forms HTML Lists HTML Iframes HTML Comments HTML CSS HTML Colors HTML Classes HTML Id HTML javascript HTML Filepaths

HTML Advanced

HTML Doctypes HTML Validation HTML Validation HTML URL HTML URL Encode HTML URL Entities HTML Layout HTML Head HTML Meta HTML Scripts HTML Tags

HTML Media

HTML Media HTML Audio HTML Video HTML Plug-ins HTML Youtube

HTML Graphics