HTML – Paragraphs
- The HTML Paragraph Tag <p> element is used to define and structure paragraph text on a webpage.
- It is a block-level element, meaning it takes up the full width available.
- The HTML Paragraph Tag has default margin-top and margin-bottom i.e. 16px (1em)
- A paragraph always starts on a new line
- Learn more about other essential HTML tags in our complete HTML guide.
Example-

Output-
This is a paragraph of text.
🚀 Try it yourself! Click the button below to run the code and see the output in action.
HTML Code
Output
NOTE: If you want to break the line in between paragraph then you can use <br> tag
Example- <p>This is <br> with line breaks</p>
Real Life Example
- The HTML Paragraph Tag (`<p>`) is like writing in a notebook, where each paragraph represents a separate thought or idea.
- Just as spaces between paragraphs make an essay easier to read, the
<p>
tag helps structure content clearly on a webpage. - Similar to how teachers prefer well-organized writing, browsers use the
<p>
tag to display text neatly for better readability.
Important Note: Want to download the full HTML course as a PDF? Click here to save it locally!