HTML Headings


Go to main Page

Headings in HTML

HTML has 6 headings <h1> to <h6>

<h1> represents most important heading and it has large size than other headings.<h6> represnents least important heading.And <h2>,<h3>,<h4>,,<h5> are in between ,<h1> and ,<h6>.You can use all headings or any of one you need.

Example

<!DOCTYPE html>
<html>
<head>
<title>Tiltle of Page here</title>
</head>
<body>

<h1>Heading Here</h1>
<h2>Heading Here</h2>
<h3>Heading Here</h3>
<h4>Heading Here</h4>
<h5>Heading Here</h5>
<h6>Heading Here</h6>

</body>
</html> 

Large Headings

You can add font size in heading to make your heading large and large.

Example


<h1 style="font-size: 80px;">Topic</h1>

 

Bold text in HTML

we can make text bold by using <b> tag.

Example


<p><b>Text here is now bold</b></p>

 

Undeline text in HTML

we can make text underline by using <u> tag.

Example


<p><u>Text here is now underline</u></p>