How to create Paragraphs in HTML Page?

HTMLWeb DevelopmentFront End Technology

HTML provides <p> tag to add paragraph to an HTML Document. It has a start tag <p> and an end tag </p>. Always use <p>…</p> tags inside <body>…</body> tag.

Just keep in mind, multiple <p>…</p> can be used in an HTML page inside the <body>…</body> tag. 

Example

You can try the following code to create paragraphs in an HTML page −

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Paragraphs</title>
   </head>

   <body>
      <p>Our first HTML Document.</p>
      <p>HTML is easy to learn</p>
   </body>
</html>

Output

Our first HTML Document.

HTML is easy to learn
raja
Updated on 22-Dec-2021 06:54:41

Advertisements