HTML Heading - Cheat Sheet

  • HTML headings are titles or subtitles that you want to display on a webpage. 
  • Maximum number of headings are 6.

HTML Code:

<!DOCTYPE html>
<html>
    <body>

        <h1>Most Important</h1>
        <h2>Heading 2</h2>
        <h3>Heading 3</h3>
        <h4>Heading 4</h4>
        <h5>Heading 5</h5>
        <h6>Least Important</h6>

    </body>
</html>

Sample

<h1> - Most Important

<h2> - Heading 2

<h3> - Heading 3

<h4> - Heading 4

<h5> - Heading 5
<h6> - Least Important

No comments:

Post a Comment

HTML Forms - Input Types - Cheat Sheet

Popular Posts