Lecture

p Tag

The <p> tag creates a paragraph of text.

Example of Using the p Tag
<p>Hello!</p>

In the code above, the <p> tag displays the paragraph "Hello!" on the screen.


Try writing a paragraph introducing yourself using the p tag as shown below.

Example of Using the p Tag
<div class="content-text"> <h2>I am {Name}</h2> <p>Enter paragraph text here</p> </div>

Lecture

AI Tutor

Design

Upload

Notes

Favorites

Help