February 2006
Intermediate to advanced
826 pages
63h 42m
English
br
<br />
Core (id,
class, style, title) |
clear="none | left | right | all
"
|
The br element is
straightforward to use, as shown in this example.
<p>This is a paragraph but I want<br />this text to start
on a new line in the browser.</p>The clear attribute is used
with the br element to specify
where the next line should appear in relation to floated elements.
For example, if an image has been floated to the right, then adding
the markup <br clear="right"
/> in the flow of text causes the new line to begin
below the image on the right margin. The value
left starts the next line below
any floated objects on the left margin. The value all starts the next line below floats on
both margins. The default, none,
causes the next line to start where it would normally.