WBR

Description

This element is for word break. It can insert a soft line break in a block of NOBR text.

Syntax

<WBR
CLASS=Style Sheet class name
ID=value
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=styling
TITLE=text
>

Parameter

Description

CLASS

Specifies the class of the tag being defined. This is used to associate a sub-classed style sheet with the tag.

ID

An SGML identifier used as the target for hypertext links or for naming particular elements in associated style sheets. Valid ID values must begin with a letter. The underbar character, "_", may be used in the ID name. The ID should be unique throughout the scope of the document. If more than one object with the same identifier exists in a document, a collection of those named items is created that can only be referenced by ordinal position.

LANGUAGE

Specifies which language to use in ISO standard language abbreviation form.

STYLE

Specifies an in-line style sheet for the tag.

TITLE

Used to provide advisory information.

Version

The Element is supported only by Netscape and the Internet Explorer.

Example

<NOBR>This text line will not break, even if you narrow the window. This text line will not break, even if you narrow the window.<WBR>This text line has tag WBR. It will be in another line.</NOBR>

The code is rendered as:

This text line will not break, even if you narrow the window.This text line will not break, even if you narrow the window. This text line has tag WBR. It will be in another line.

Remarks

The <WBR> element does not force a line break (<BR> does that) but simply lets the browser know where a line break is allowed to be inserted if needed.

The start tag is required, and the end tag is optional.

Related Topics

BR