Paragraphs

The <p> element


The <p> tag defines a paragraph of text. It is a block-level element, it always start on a new line, and browsers automatically add margin before and after each paragraph.

To create a paragraph, simply type in the <p> element with its opening and closing tags:

<html>
<head>
<title> I am the title. </title>
</head>
<body>
<p> I am a paragraph. </p>
<body>

</html>


Result:

I am a paragraph.

Leave a comment

Website Powered by WordPress.com.

Up ↑

Design a site like this with WordPress.com
Get started