HTML header tag


<h1> to <h6> tags are often used for heading, title, an important section.


example

<h1>Main title</h1>
<h2>Secondary title</h2> 
<h3>Sub title</h3> 
<h4>Sub title</h4> 
<h5>Sub title</h5> 
<h6>Sub title</h6> 
Result :

Main title

Secondary title

Sub title

Sub title

Sub title
Sub title

H1 is used only once in a web page, such as a main title

H1 is important for SEO




Copyright 2014-2017 by DeveloperTut.com. All Rights Reserved.
TwitterGoogle+Facebook