Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

How to use Line Break  and Horizontal Line tags in HTML?
In HTML we use <br /> to break the line without started any new paragraph.
Syntax:
<br />
 In HTML <br /> has no end tag.
Example:
<p>Hello<br />client<br />R4R Welcomes You!</p>
output:
Hello
client
R4R Welcomes You!

 For creating horizontal line we use <hr /> in HTML.
Syntax:
<hr />
Example:
<p>This is upper level</p>
<hr />
<p>This is middle level</p>
<hr />
<p>This is bottom level</p>
 Both <br /> and <hr /> called as empty tags. Because their is no end tag for them.