<p> Paragraph Element

HTML Paragraphs are defined with the <p> element.

 

Browsers automatically add an empty line (line break) before and after a paragraph.

 

All paragraphs must include the closing tag, although browsers will allow not including it, future versions will be more strict and can produce unexpected results / errors.

 

<!DOCTYPE html>
<html>
	<head>
		<title>My Document Title</title>
	</head>
	<body>
		<p>Paragraph one</p>
		<p>Paragraph two</p>
		<p>Paragraph three</p>
	</body>
</html>

Save & refresh browser:

Paragraph one 

Paragraph two

Paragraph three

Leave a Reply