Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.

Get Started Now!

HTML heading describe what type of heading given in html pages.

There are six type of html headings using in html

Syntax:

<h1> This is heading 1 </h1>

<h2> This is heading 2 </h2>

<h3> This is heading 3 </h3>

<h4> This is heading 4 </h4>

<h5> This is heading 5 </h5>

<h6> This is heading 6 </h6>

Example of html heading tags:

<!DOCTYPE html>
<html>
<head>
        <title>HTML Deading Tags</title>
</head>
<body>
    <h1>This is heading tag 1</h1>
    <h2>This is heading tag 2</h2>
    <h3>This is heading tag 3</h3>
    <h4>This is heading tag 4</h4>
    <h5>This is heading tag 5</h5>
    <h6>This is heading tag 6</h6>
</body>
</html>

Output:

Note: if we write heading tag <h7>This is heading 7 </h7>, its display normal text because it is not predefine tags.

Related Posts

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Artificial Intelligence