Paragraphs in HTML

The <p> tag in HTML is used to define paragraphs. It helps organize text content on a webpage.


📌 Each <p> tag starts a new paragraph and automatically adds some spacin

Example:

<P> Welcome to the world of HTML </P>
<P> First paragraph.
Text of First paragraph goes here </P>
Attributes of <p> Tag

1. Align Text (align)

The align attribute is used to set text alignment inside the paragraph.

📌 Values: left (default), center, right, justify

Qus. 1 : Among the following, which is the HTML paragraph tag?

  1. <p>
  2. <pre>
  3. <hr>
  4. <a>
Qus. 2 : Which tag is used to create a blank line in HTML?

  1. <b>
  2. <br>
  3. <em>
  4. <blank>
Qus. 3 : <br> Tag is used for

  1. Line Break
  2. Horizontal row
  3. Heading
  4. Underline

Programs

Create html web page for Gateway of India

View Solution


Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad