English

Explain the purpose of the following tag: <P> - Computer Applications

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:
  1. Text Grouping: It is used to group related sentences or a block of text together.
  2. Automatic Spacing: Browsers automatically add a blank line (margin) before and after an <p> element to separate it from other paragraphs or elements.
  3. 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
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×