<H1>-<H6>

Description

<h1> creates the level 1 header. <h2> creates the level 2 header, etc.

Example


<html>
<body>
     <h1>This is a #1 heading</h1>
     <h2>This is a #2 heading</h2>
     <h3>This is a #3 heading</h3>
     <h4>This is a #4 heading</h4>
     <h5>This is a #5 heading</h5>
     <h6>This is a #6 heading</h6>
</body><!--from   ww w  .java  2s.  c o m-->
</html>

Click to view the demo

The code above generates the following result.

H1-H6




















Home »
  HTML CSS »
    HTML CSS Reference »




HTML Tag Reference
CSS Reference
CSS Selector Reference
Encoding Reference