HTML
The noshade attribute
tag
Example
Horizontal rule with a shadow effect (this is the default):
Horizontal rule without a shadow effect:
Try it »
Browser support





All major browsers support the noshade attribute.
Definition and Usage
HTML5 does not support
The noshade attribute. Use CSS instead.
In HTML 4.01,
The noshade attribute is deprecated.
The noshade attribute is a boolean attribute.
The noshade attribute specifies that the horizontal rule is rendered as a solid color rather than a shaded color.
Compatibility notes
In HTML 4.01,
The noshade attribute is deprecated. Use CSS instead.
CSS syntax (Internet Explorer):
CSS syntax (Firefox, Opera, Chrome, and Safari):
CSS syntax (cross-browser):
In our CSS tutorial, you can find more details about color and background-color Details of the attribute.
Differences between HTML and XHTML
In XHTML, attribute minimization is forbidden, and the noshade attribute must be defined as
.
Syntax
HTML
tag