<BR>

Break for a new line


[HOME] [PAGE UP] [PREV PAGE] [NEXT PAGE]


Creates a break in a line.

        <html>
        <head>
        <title>Some Title</title>
        </head>
        <body>
            .
            .
==>>    This is the first line of text.<BR>
==>>    And this is the second line of text that needs to break<BR>
==>>    to become the third line of text.<BR>
            .
            .
        </body>
        </html>

Sometimes you just have to make the browser go to the next line. This is the command to do it. Some browsers will recognize each "BR" element and create extra blank lines for you. This is a way to create more white space.

HTML 3.0 Draft
Attributes common to almost all of the block style tags include CLEAR. This attribute will be very useful when it is fully implemented by the browser developers.
CLEAR
Used to specify the vertical positioning of a block element. This lets you start a block below a figure or table, or next to it if there is a certain amount of space for your text. You can specify left, right or all to indicate that you want the left margin, right margin or both margins clear before you start displaying your text.

Instead of clearing the margins you can also tell the browser that if there is a certain amount of space next to a table or figure then it can display your text. You do this by putting in an amount of space in "en" units or in pixels. You would put a value such as "50 en" for 50 "en" spaces or "130 pixels" for 130 pixels.

An example of this attributes in use is:
The first line of text.<BR CLEAR="50 pixels">
Attributes common to almost all of the tags permitted in the document body include ID, LANG and CLASS. You probably won't be using any of these tags for a while but I've included them so you know they are coming.
ID
A name to be used as a target for links or for naming particular elements in a style sheet. These take the place of the HTML 2.0 <A NAME="somename">Some Name</A> construct that defines internal document links.
LANG
An ISO standard language abbreviation that defines language specific elements to be used.
CLASS
Used to assign a class name to a tag.
An example of these attributes in use is:
The First Line of Text.<BR ID="topicone" LANG="en-US" CLASS=section>

Netscape

Implements the CLEAR attribute.

Microsoft IE

Nothing special.

Internationalization

Nothing special.


[HOME] [PAGE UP] [PREV PAGE] [NEXT PAGE]


The Rusk Family . . . "the Legend Continues"

Michael T. Rusk
Comments to author: mrusk@radix.net

All contents copyright © 1996, 1997 Michael T. Rusk
All rights reserved.

Revised: December 03, 1997 10:47 -0500
URL: ./htmlgd/tagbr.html