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 a webpage with HTML describing your department use paragraph and list tags.

View Solution


Open your chosen code editor and create a new HTML document.

View Solution


Create an HTML page containing the following polynomial expression.

View Solution


Create a webpage named welcome.html that includes.

View Solution


Latest Current Affairs 2026 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