• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

The <BR> Element

The <BR> element is a favorite for HTML authors, enabling you to insert a line break in a page. This element has only one property beyond the core set—clear—as you can see in Table 11.3.

Table 11.3. The Properties of the <BR> Element (See Chapters 5 and 6 for the JavaScript core HTML properties, methods, and events that also apply to this element.)
Property NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
clear    x   x x x x
  Read/write
  This property specifies the side on which floating objects may not be placed when a break is inserted into the document. Set this property to a string—here are the possible values: all (break is positioned below any floating object), left (break is positioned below any floating object on the left side), right (break is positioned below any floating object on the right side), and none (floating objects are allowed on any side).



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint