About Lesson
Introduction
An HTML heading tag is used to define the headings of a page. There are six levels of headings defined by HTML. These 6 heading elements are H1, H2, H3, H4, H5, and H6.
Importance of Heading:
- Search Engines use headings for indexing the structure and content of the webpage.
- Headings are used for highlighting important topics.
- They provide valuable information and tell us about the structure of the document.
Example:
This example illustrates the HTML heading tags.
<h1>Code4Education</h1>
<h2>Code4Education</h2>
<h3>Code4Education</h3>
<h4>Code4Education</h4>
<h5>Code4Education</h5>
<h6>Code4Education</h6>
Exercise Files
No Attachment Found
Join the conversation