Course Content
Basic Structure of an HTML Document
0/2
HTML Attributes
0/1
HTML links and the anchor (a) tag
0/2
HTML Images and Image tag
0/1
HTML Tutorial

What is HTML Heading? 

HTML headings are used to define titles or subtitles on a webpage. HTML provides six levels of headings, from most important to least:

Key Points:

  • <h1> is typically used for main titles (usually one per page)

  • <h2> to <h6> are used for subheadings

  • They help with page structure, SEO, and accessibility

Example:

<h1>My Blog</h1>
<h2>Introduction</h2>
<h3>Why I Started Blogging</h3>