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
|
|
|
|
|
|
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.