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>
Qus. 1 : Correct HTML tag for the largest heading is

  1. <head>
  2. <h6>
  3. <heading>
  4. <h1>
Qus. 2 : Which of the following tag is used for inserting the largest heading in HTML ?

  1. <h3>
  2. <h1>
  3. <h6>
  4. <h2>
Qus. 3 : How many headings in HTML?

  1. 4
  2. 7
  3. 6
  4. 5
Qus. 4 : Which of the following tag is used for inserting the largest heading in HTML?

  1. head
  2. <h1>
  3. <h6>
  4. heading
Qus. 5 : What is the use of <hr/> tag in HTML?

  1. For making content appearance italics
  2. To create vertical rule between sections
  3. To create a line break
  4. To create horizontal rule between sections
Qus. 6 : How many headings in HTML

  1. 5
  2. 6
  3. 7
  4. 8

Programs

Create html web page for Gateway of India

View Solution


Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad