Writes a horizontal rule tag (<hr>).
JSV_hr([attributes, noShade])
n/a
The hr function returns a horizontal rule tag.
The hr function uses the following arguments.
Argument | Description |
attributes | Optional. The attributes that define various properties for the element. |
noShade |
Optional.
Boolean value that defines those times when a solid bar is required,
the NOSHADE attribute lets the user specify that the horizontal
rule should not be shaded at all. Default value is false (i.e., shaded).
|
See the Web Design Group HTML 4.0 Reference on the horizontal rule tag for more information.
The following lines of code
document.write( "This is line one" +
JSV_hr('COLOR="#FF0000"', true) +
"This is line two" );
produce
Copyright © 1998-2000 Roaring Fork Software. All rights reserved.