Attribute for <BR ...>
CLEAR =
LEFT
| RIGHT
| ALL
| BOTH
CLEAR
says that in addition to inserting a line break, if there is a picture or other object to the right or left, go past that too. For example, this code says that the picture should be aligned on the left side of the page. Then there is some text, then
LEFT
. The text following that is past the picture:
<IMG SRC="../graphics/pumpkin.gif" HEIGHT=100 WIDTH=100 ALT="picture of a pumpkin" ALIGN=LEFT>Come on
down to the Halloween party! You'll have a great ol' time.<BR CLEAR=LEFT>
8:00pm to midnight. Wear a costume or come as your own scary self!
produces
Come on
down to the Halloween party! You'll have a great ol' time.
8:00pm to midnight. Wear a costume or come as your own scary self!
BOTH
is the same as ALL
, but is not supported on as many browsers, so use
ALL
instead.