HTML Tutorial

The language for building web pages.

HTML Paragraphs

HTML Paragraphs

The HTML <p> element defines a paragraph. Browsers automatically add white space (margin) before and after a paragraph.

Related Tags:

  • <p> - Paragraph
  • <br> - Line break inside paragraph
  • <pre> - Preformatted text (preserves spaces/newlines)
  • <hr> - Thematic break / horizontal line

Try It Yourself

Edit the code below and click Run to see the result live.

Source Code
Result
Topics