Articles → HTML → Heading Tags In HTML

Heading Tags In HTML






H1 To H6 Heading





Example


<html>
  <head>
    <title>Heading Demo</title>
  </head>
  <body>
    <h1>heading 1</h1>
    <h2>heading 2</h2>
    <h3>heading 3</h3>
    <h4>heading 4</h4>
    <h5>heading 5</h5>
    <h6>heading 6</h6>
  </body>
</html>

Try It


Output


Picture showing the output of the heading tags in HTML



Browser Support


Internet ExplorerFirefoxChromeSafariOperaEdge
YesYesYesYesYesYes



Posted By  -  Karan Gupta
 
Posted On  -  Friday, July 15, 2016
 
Updated On  -  Monday, September 4, 2017

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250