HTML Heading

HTML Headings are specified using Heading tags.

HTML Heading is considered very important in Web Pages. Search engines uses headings when indexing pages, use headings only for headings don't use them to change font properties. There are six heading tags availble from h1 to h6 with h1 being the most important and h6 being the least important


HTML Headings Example

HTML Headings Example



<h1>This is a Link</h1>
<h2>This is a Link</h2>
<h3>This is a Link</h3>
<h4>This is a Link</h4>
<h5>This is a Link</h5>
<h6>This is a Link</h6>

		

Preview

Browsers will automatically add some space before and after the headings, the amount of space depends on the type of browser.


Next Lesson > HTML Paragraph