Horje
How to create HTML Line Breaks

The HTML <br> element defines a line break.

Use <br> if you want a line break (a new line) without starting a new paragraph:


Sample of HTML Line Breaks

<p>This is<br>a paragraph<br>with line breaks.</p>

Full Example of HTML Line Breaks

The <br> tag is an empty tag, which means that it has no end tag.
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<p>This is<br>a paragraph<br>with line breaks.</p>

</body>
</html>

Output should be:

Full Example of HTML Line Breaks



Related Articles
What is HTML Paragraphs HTML Paragraphs
How to display HTML Paragraphs HTML Paragraphs
How to create HTML Horizontal Rules HTML Paragraphs
How to create HTML Line Breaks HTML Paragraphs
What is the Poem Problem in HTML Paragraphs HTML Paragraphs
How to create <pre> Element in HTML Paragraphs HTML Paragraphs

Single Articles
Sample of HTML Line BreaksHTML Paragraphs
Full Example of HTML Line BreaksHTML Paragraphs

Read Full::
HTML Paragraphs
Category:
Web Tutorial
Sub Category:
HTML Paragraphs
Uploaded:
1 year ago
Uploaded by:
Admin
Views:
126
Ref on:
View



Share on: