What is the html tag that indicates a line break?
Printable View
What is the html tag that indicates a line break?
Why don't you look it up in an HTML on line manual. Then you will know where to look in future as well... :)
But anyway, there is an explicit line break <br> but that is often unnecessary. Many tags (like <p> <ul> <ol> etc...) default to block mode, which has an implied line break. So look up "block mode", "inline mode" and "inline-block mode" as well.
Good luck...
Most common is <br> or you could use <hr> what leave a white line in between the hr element can be styled aswell like. . .
<style>
hr {
border-top:1px solid #333;
border-left:1px solid #333
border-right:1px solid #666;
border-bottom:1px solid #666;
}
</style>
example . . . .
<p>my papa smurf wants to brake dance on a pile of cow muc<hr>Becuase he is a legend</p>
or Use CSS
br '{
clear: right;
}
Which will make sure you start with a new line
Br is the html tag which is used to break a line.
<br> tag most commonly used for break a line
<img src=about_logo.gif" style="width:137px; height:48px; border: none; float: left;" alt="About.com" />
This text will be to the right of the image.<br />
This will be too.<br clear="left" />