Encloses the passed information in a generic block-level container tag (<div></div>).
JSV_div(expT [, attributes])
expT.DIV([attributes])
The div function returns the passed information in a generic block-level container tag.
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. |
See the Web Design Group HTML 4.0 Reference on the generic block-level container tag for more information.
The following lines of code
document.write( JSV_div("The quick brown fox jumped over lazy dog", 'ALIGN="RIGHT"') );
produce
Copyright © 1998-2000 Roaring Fork Software. All rights reserved.