Use the <br> tag if you want a line break (a new line) without starting a new paragraph:
Example:
<!DOCTYPE html>
<html>
<body>
<p>This is<br>a para<br>graph with line breaks</p>
</body>
</html>
The <br> element is an empty HTML element. It has no end tag.
Example:
<!DOCTYPE html>
<html>
<body>
<p>This is<br>a para<br>graph with line breaks</p>
</body>
</html>
The <br> element is an empty HTML element. It has no end tag.
No comments:
Post a Comment