Encloses the passed information in a paragraph tag (<p></p>).

Syntax

JSV_paragraph(expT [, attributes])

Prototype

expT.P([attributes])

Returns

The paragraph function returns the passed information in a paragraph tag.

Parameters

The paragraph function uses the following arguments.

Argument Description
expT The textual information that is to be enclosed in the paragraph tag.
attributes Optional. The attributes that define various properties for the element.

Remarks

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

Dependencies

JSV_isWhitespace

Example

The following lines of code

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

produce