The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's HTML Tag Reference

| Index | Previous Tag: <BODY> | Next Tag: <BUTTON> |


<BR>

Adds a line break to the page. That is, text that comes after this tag will appear on a new line.

Support:

HTML StandardInternet ExplorerNetscape Navigator
2.0 and later 1.0 and later 1.0 and later
Attributes:
CLASS = "Text"
The style sheet class used by the tag.

Support:

HTML StandardInternet ExplorerNetscape Navigator
4.0 and later 5.0 and later 4.0 and later

Notes:

  • You can specify two or more classes; be sure to separate each class name with a space.

CLEAR = "Text"
Determines whether the next line of text appears after an image if text is currently being wrapped around that image.

Support:

HTML StandardInternet ExplorerNetscape Navigator
3.2 and later 1.0 and later 1.0 and later

Notes:

  • The <IMG> tag's LEFT and RIGHT attributes enable you to wrap text around an image. If you use those attributes and the current text appears alongside an image, use the CLEAR attribute when you want the next line of text to begin below the image. (That is, when the left or right margin is clear of the image.) Use one of the following three values for this attribute:
    • LEFT—The next line appears when the left margin is clear.
    • RIGHT—The next line appears when the right margin is clear.
    • ALL—The next line appears when both the left and right margins are clear.
  • This attribute is deprecated.

ID = "Text"
An alphanumeric string that uniquely identifies the tag.

Support:

HTML StandardInternet ExplorerNetscape Navigator
4.0 and later 4.0 and later 4.0 and later

Notes:

  • Although you can use letters and numbers for the ID, the first character must be a letter.

STYLE = "Text"
The style or styles to use with the tag.

Support:

HTML StandardInternet ExplorerNetscape Navigator
4.0 and later 5.0 and later 4.0 and later

Notes:

  • If you enter multiple style properties, separate each one with a semi-colon (;).

Example:
This text appears on one line.<BR>This text appears on the next line.
How It Looks:
This text appears on one line.
This text appears on the next line.

| Index | Previous Tag: <BODY> | Next Tag: <BUTTON> |