The BR element explicitly indicates that a line break be placed in a
section of content. This overrides the typical HTML behavior which lets the
browser decide when to put linebreaks in a document. The same indentation
level applied to the previous line will be applied to the new line of content.
This attribute was added to deal with floating images produced through
the Left and Right
ALIGN attributes to the IMG element. It can now be used for effect in any
situation where floating elements exist [images, objects, spacers, tables, etc.]
[DEFAULT - No special line breaking
effects are applied relative to the floating element -just a
normal break.] Left [breaks line and
moves down vertically until there is a clear left margin] Right [breaks line and
moves down vertically until there is a clear right margin] All [breaks line and
moves down vertically until both margins are clear of images.]
This is an SGML Document Access
(SDA) attribute. SDA attributes are designed to transform HTML (and
other SGML-based documents) to the ICADD
DTD - which is used in creating accessible documents for users with
visual disabilities (rendering in Braille, large print, speech
synthesis, etc.) The attribute value specifies content to be added
BEFORE the original element content (in this case the string
"&#RE;") when the SDA document is rendered. &#RE; refers to a
carriage return in the SDA transform.
<p>This is a line
of text with a linebreak here.<br /> This
is text after</p>
If you use a BR at the end of a block structuring element (ex:
BLOCKQUOTE) or block structuring sub element (ex: LI), you may need
to use two consecutive line breaks to produce a visual space in a
document. This is because there is already an implied line break at
the end of block structures.
[Test]Note: There is only one CSS property that I think
can have any effect on this element: the 'display' property. Setting the
value to 'none' will make the line break disappear. Otherwise, this is a
'Replaced Element' that is replaced in the document with a line break and
thus has no intrinsic display properties.
Internet Explorer 4.0: Because of the power of the HTML DOM in this
version, the CLASS and STYLE attributes are accessible in this version,
but the one CSS property that would have any visible effect, 'display',
does not work in this version. So, I marked the CLASS and STYLE
properties as being not supported in this version.