HTML:Paragraphs tag

<p> 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.     Code=
  • <!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> . Out put=This is the First Paragraph starting
    This is the Second Paragraph starting
    This is the Fourth Paragraph starting
    This is the Fifth Paragraph starting
  • HTML:Paragraphs tag HTML:Paragraphs tag Reviewed by Network security on April 29, 2019 Rating: 5

    No comments:

    Useful Information

    Powered by Blogger.