Name
<BR> — NN all IE all HTML all
Synopsis
<BR>
End Tag: Forbidden
The BR
element forces a visible line break (carriage return and line feed)
wherever its tag appears in the document. Browsers tend to honor the
BR element as a genuine line break, whereas
paragraphs defined by the P element are given more
vertical space between elements on the page. If the text containing
the BR element is wrapped around a floating image
or other object, you can direct the next line (via the
CLEAR attribute or style sheet equivalent) to
start below the object, rather than on the next line of the wrapped
text.
Example
<P>I think that I shall never see<BR>A poem lovely as a tree.</P>
Object Model Reference
- IE
[window.]document.all.elementID
Attributes
|
|
|
|
|
|
|
|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access