HTML and CSS Reference
In-Depth Information
<br>
Function
Inserts a line break into a text flow
Attributes
class
,
clear
,
id
,
style
,
title
None in HTML;
</br>
or
<br ... />
in XHTML
End tag
Contains
Nothing
Used in
text
This effect is handy when formatting conventional text with fixed line
breaks, such as addresses, song lyrics, and poetry. Notice, for example,
the lyrical breaks when the following source is rendered by a GUI
browser:
<h3>
Heartbreak Hotel</h3>
<p>
Ever since my baby left me<br>
I've found a new place to dwell.<br>
It's down at the end of lonely street<br>
Called <cite>Heartbreak Hotel</cite>.
</p>