The HTML <hr> noshade Attribute is the boolean value and used to specify the solid horizontal line instead of shaded lines.
Syntax:
<hr noshade>
Note: The <hr> noshade Attribute is not supported by HTML 5.
Example:
<!DOCTYPE html> < html >
< head >
< title >
HTML hr noshade Attribute
</ title >
</ head >
< body style = "text-align:center;" >
< h1 >GeeksforGeeks</ h1 >
< hr width = "500px;"
size = "10" >
< p >Computer science portal</ p >
< hr width = "70%" size = "20" noshade>
</ body >
</ html >
|
Output:
Supported Browsers: The browser supported by HTML <hr> noshade Attribute are listed below:
- Google Chrome
- Internet Explorer
- Firefox
- Safari
- Opera