Tuesday, May 22, 2018

Web Programming Lessons - HTML - Headings

HTML defines 6 levels of Headings.

Example : 
     
                   <h1>Heading 1</h1>
        <h2>Heading 2</h2>
        <h3>Heading 3</h3>
        <h4>Heading 4</h4>
        <h5>Heading 5</h5>
        <h6>Heading 6</h6>

Result : 















the higher the heading level number, the greater it's importance — so <h1> defines the most important heading, whereas the <h6>defines the least important heading in the document.


No comments:

Post a Comment