Wednesday, July 24, 2019

Uses of

tag





Uses of <p> tag

  • The <p> tag is used to define the HTML paragraph element.
  • The paragraph element begins with the <p> tag and ends with the </p> tag.
  • The HTML paragraph element should not contain tables and other block elements.
    <!DOCTYPE html> 
    <html> 
     
    <head> 
     <meta name="viewport" content="width=device-width, initial-scale=1"> 
     <title>Paragraph Tag</title> 
    </head> 
     
    <body> 
     
     <p>This is the First Paragraph starting</p> 
     <p>This is the Second Paragraph starting</p> 
     <p>This is the Fourth Paragraph starting</p> 
     <p>This is the Fifth Paragraph starting</p> 
     
    </body> 
     
    </html>