Horje
How to create HTML Line Breaks | HTML Paragraphs Code
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



Read Full::
HTML Paragraphs Code
Category:
HTML Code
Sub Category:
HTML Paragraphs Code
Uploaded:
8 months ago
Uploaded by:
Admin
Views:
80

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

Single Articles
Sample of HTML Line Breaks
Full Example of HTML Line Breaks

Share on: