<br> Line break Element

The <br> element is used to create a new line.

 

  • Has no end tag
  • Sometimes seen with a closing forward slash <br />

 

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

Save & refresh browser:

Paragraph one 

 

 

 

 

Paragraph two

Paragraph three

Leave a Reply