Paragraph

Category:HTML Tags

Paragraph

The <p> tag is used to define a paragraph of text.

Examples

Multiple Short Paragraphs

Using <p> to define a paragraph

<p>My favorite animals are birds.</p>
<p>My favorite sport is baseball.</p>

Single Longer Paragraph

Using <p> to define a paragraph of multiple lines.

<p>
Soccer is an awesome sport because you get to play on a team with all your friends. I love the challenge of learning new skills like headers and corner kicks.
</p>

Syntax

<p></p>

Tips

  • We can use the <p> tag to write several paragraphs.
  • We can use the <p> tag to write a paragraph of multiple lines.

Additional Information

For more information, see http://www.w3schools.com/tags/tag_p.asp

Found a bug in the documentation? Let us know at documentation@code.org