HTML hr noshade Attribute

Definition and Usage

The noshade attribute specifies that the hr element should appear as a solid line.

Compatibility Notes

The noshade attribute of the hr element was deprecated in HTML 4.01 and is not supported in XHTML 1.0 Strict DTD.
Use CSS instead.
CSS syntax for Internet Explorer: <hr style="height:2px;border-width:0;color:gray" />
CSS syntax for Firefox, Opera and Chrome: <hr style="height:2px;border-width:0;background-color:gray" />
For cross-browser syntax use both: <hr style="height:2px;border-width:0;color:gray;background-color:gray" />


<hr noshade="noshade" />

Attribute Values

Value Description
noshade Specifies whether or not the horizontal ruler should appear as a solid line.The only possible value for this attribute is "noshade".

Browser Support

The attribute is deprecated, but still supported in all major browsers.


Source Output
<hr noshade="noshade" />

HTML hr noshade Attribute Reviewed by 1000sourcecodes on 03:03 Rating: 5
Powered by Blogger.