HTML - Basics

HTML Basics


  • HTML Headings
    HTML Headings are defined with <h1> to <h6> tags.  <h1> is the largest font size for header & <h6> is the smallest font. All the opening tags of header tags closed
    Opening & Closing tag pairs can be
    either;
    <h1> </h1>  

    <h2> </h2>  

    <h3> </h3> 

    <h4> </h4> 

    <h5> </h5> 

    <h6> </h6>

    Or
    <h1>
    </h>  
    <h2> </h>  

    <h3> </h> 

    <h4> </h> 

    <h5> </h> 

    <h6> </h>

    sample code :
    <h1> Heading 1</h1>  
    <h2> Heading 2</h2>  

    <h3> Heading 3</h3> 

    <h4> Heading 4</h4> 

    <h5> Heading 5</h5> 

    <h6> Heading 6</h6>

     
  • HTML Paragraph
    HTML Paragraph defines with <p> & </p> tag pair.

    Sample Code :
    <p>This is 1st paragraph</p>
    <p>This is 2nd paragraph</p>

No comments:

Post a Comment