• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in HTML by
How many types of heading does an HTML contain?

1 Answer

0 votes
The HTML contains six types of headings which are defined with the <h1> to <h6> tags. Each type of heading tag displays different text size from another. So, <h1> is the largest heading tag and <h6> is the smallest one. For example:

<h1>Heading no. 1</h1>    

<h2>Heading no. 2</h2>    

<h3>Heading no. 3</h3>    

<h4>Heading no. 4</h4>    

<h5>Heading no. 5</h5>    

<h6>Heading no. 6</h6>

Related questions

+1 vote
asked Jan 28 in HTML by SakshiSharma
0 votes
asked Jan 9 in HTML by SakshiSharma