HTML <br> Tag Explained How to Add Line Breaks in HTML
html Line Break tag
A line break ends the line you are currently and resumes on the next line. Placing <br /> tag within the code to break the line. Use the <br /> tag within the <p> use to paragraph tag.
A line break is marked up as follows:
The <br> tag inserts a single line break.
The <br> tag is an empty tag which means that it has no end tag.
The <br> tag is and empty tag which means that it has no end tag.
The <br> tag is useful for the writing addresses or poems.
<br> tag to enter line breaks,is not to separate paragraphs.
HTML <br> Tag
Explain Program
Step 1 ]
<!DOCTYPE html>
- Declares that the document is an HTML5 document.
Step 2]
<html> & <body>
- Root and body of the HTML page. The content of the page goes inside <body>.
<html> & <body>
- Root and body of the HTML page. The content of the page goes inside <body>.
Step 3]
<body>......</body>
Step 4]
<p>
This defines a paragraph of text.
To break lines<br> a text<br>use the br element.
- <br> line break element.
- content new line, like“Enter” on a keyboard.
</p>
HTML <br> Tag
OUTPUT
To break lines
in a text,
use the br element
Related Post :-
No comments:
Post a Comment