06/02/2026
HTML Paragraphs
In HTML, a paragraph is a block of text that is grouped together using the (paragraph) tag. It is used to organize written content on a webpage so that it is easy to read and understand.
How it Works
The paragraph starts with and ends with . Any text written between these tags becomes part of that paragraph.
Example:
This is a paragraph.
Important Features of Paragraphs
1. Creates Text Blocks
The tag separates text into readable sections.
2. Automatic Spacing
Web browsers automatically add space before and after paragraphs.
3. Block-Level Element
A paragraph always starts on a new line and takes the full width available.
4. Closing Tag Required
The paragraph must end with .
Multiple Paragraphs Example
This is the first paragraph.
This is the second paragraph.
Each paragraph appears on a new line with spacing between them.
Paragraph vs Line Break
β’ creates a new paragraph.
β’ only moves text to the next line without creating a new paragraph
Example:
This is line one.This is line two.