Headings in HTML

Headings in HTML

HTML has six header tags <H1>, <H2>...........<H6> used to specify section headings. Text with header tags is displayed in larger and bolder fonts than the normal body text by a web browser. Every header leaves a blank line above and below it when displayed in browser.

Example:

<HTML>
	<HEAD>
		<TITLE>
			Section Heading
		</TITLE>
	</HEAD>
	<BODY>
		<H1>This is Section Heading 1 </H1>
		<H2>This is Section Heading 2 </H2>
		<H3>This is Section Heading 3 </H3>
		<H4>This is Section Heading 4 </H4>
		<H5>This is Section Heading 5 </H5>
		<H6>This is Section Heading 6 </H6>
	</BODY>
</HTML>
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad