HTML BASICS: Paragraphs

HTML paragraphs are defined with the <p> tag:

HTML file: Displayed by browser:
<!DOCTYPE html>
  <html>
    <body>
      <p>This is a paragraph.</p>
      <p>This is another paragraph.</p>
    </body>
  </html>

This is a paragraph.

This is another paragraph.

Note how using the <p> tag puts a space between the paragraphs.

Back button Table of Contents Next button