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 −

Live Demo

<!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>
raja
Published on 18-Jan-2018 09:32:52
Advertisements