Basic HTML

Advance HTML

HTML Tags Reference

HTML Code Generator

HTML Resource

HTML Header Tags H1 to H6




Definition and Usage

HTML header tag h1 is used for specifying heading level 1. There are 6 levels of headings (h1 - h6) with h1 the most important and h6 the least important.

Browsers are supported various headings in different sizes - with h1 being the largest and h6 being the smallest.

Example-Code:

<html>
<head>
<title> HTML Attributes Example </title> 
</head>
<body>
 <h1>Heading h1<h1>
 <h1>Heading h2<h1>
 <h1>Heading h3<h1>
 <h1>Heading h4<h1>
 <h1>Heading h5<h1>
 <h1>Heading h6<h1>
</body>
</html>
Online Try This Code Your Self....   »

Example-Results:

Important of Heading

There is a special tag for specifying headings in HTML. There are 6 levels of headings in HTML ranging from h1 for the most important Tag and h6 tag for the least important.

Don't use headings to make text <big> or <strong>.