Encloses the passed information in a generic block-level container tag (<div></div>).

Syntax

JSV_div(expT [, attributes])

Prototype

expT.DIV([attributes])

Returns

The div function returns the passed information in a generic block-level container tag.

Parameters

The div function uses the following arguments.

Argument Description
expT The textual information that is to be enclosed in the generic block-level container tag.
attributes Optional. The attributes that define various properties for the element.

Remarks

See the Web Design Group HTML 4.0 Reference on the generic block-level container tag for more information.

Dependencies

JSV_isWhitespace

Example

The following lines of code

document.write( JSV_div("The quick brown fox jumped over lazy dog", 'ALIGN="RIGHT"') );

produce