Use of Line Breaks HTML Code For Website - Learn About Website | DaddyFile

0

HTML Line Breaks Explain

The HTML <br> element defines a line break.
Use <br> if you want a line break (a new line) without starting a new paragraph.


The <br> element is an empty HTML element. It has no end tag.



Html Code:

<!DOCTYPE html>
<html>
<body>

<p>This is<br>a para<br>graph with line breaks</p>

</body>
</html>



Html Code Result:

This is
a para
graph with line breaks

Post a Comment

 
Top