Advertisements
Advertisements
Question
Explain the purpose of the following tag:
<P>
Explain
Advertisements
Solution
The
<p> A tag is used to define a paragraph in an HTML document. Its purposes are:- Text Grouping: It is used to group related sentences or a block of text together.
- Automatic Spacing: Browsers automatically add a blank line (margin) before and after an
<p>element to separate it from other paragraphs or elements. - Structural Clarity: It helps in organising the content of a webpage into readable sections, making it easier for the user to follow.
shaalaa.com
Is there an error in this question or solution?
2025-2026 (March) Official Board Paper
