Header Ads Widget

Responsive Advertisement

Ticker

6/recent/ticker-posts

HTML Headings

Headings: HTML headings are titles or subtitles that you want to display on a webpage.

 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>   
   <!DOCTYPE html>   
   <html>   
    <head>   
     <title>Heading elements</title>   
    </head>   
    <body>   
      <h1>This is main heading of page. </h1>   
      <p>h1 is the most important heading, which is used to display the keyword of page </p>   
      <h2>This is first sub-heading</h2>   
      <p>h2 describes the first sub heading of page. </p>   
      <h3>This is Second sub-heading</h3>   
      <p>h3 describes the second sub heading of page.</p>   
      <p>We can use h1 to h6 tag to use the different sub-heading with their paragraphs if       
              required.    
           </p>   
     </body>   
   </html>   






Post a Comment

0 Comments