J
last year
Joycountry asked

What does <p> mean in HTML, how is it used, and what is the difference between <p> and </p>?

Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi Joy,

is an HTML tag used to create a paragraph.

  • is the opening tag. It starts the paragraph.

  • is the closing tag. It ends the paragraph.

Example:

This is a paragraph.

This is another paragraph.

The browser shows each paragraph on its own line with some space.

If you have more questions, I am here to help 😊

HTML
This question was asked as part of the Learn HTML course.