हिंदी

Explain the following tag with a suitable example: <P> - Computer Science 1

Advertisements
Advertisements

प्रश्न

Explain the following tag with a suitable example:

<P>

स्पष्ट कीजिए
Advertisements

उत्तर

It is used to define a paragraph of text in HTML. It always starts on a new line and takes up the full width available. Browsers automatically add a blank line (margin) before and after each <p> element. It is a container tag, meaning it requires both an opening <p> and a closing </p> tag.

For example,

<p>This is the first paragraph.</p>

<p>This is the second paragraph.</p>      

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2025-2026 (March) Official Board Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×