Writes a line break tag (<br>).

Syntax

JSV_br([expN])

Prototype

n/a

Returns

The br function returns a line break tag.

Parameters

The br function uses the following arguments.

Argument Description
expN Optional. The number of times to repeat the line break tag. Default value is one.

Remarks

See the Web Design Group HTML 4.0 Reference on the line break tag for more information.

Dependencies

JSV_replicate

Example

The following lines of code

document.write( "Mary had a little lamb" + JSV_br() +
    "It's fleece was white as snow" + JSV_br() +
    "And everywhere that Mary went" + JSV_br() +
    "The lamb was sure to go." );

produce