Advertisements
Advertisements
प्रश्न
How can a 2D or 3D horizontal rule be displayed?
लघु उत्तरीय
Advertisements
उत्तर
The <HR> tag is used to draw a horizontal line across the width of the browser window. By default, it displays a 3D horizontal rule.
To create a 2D horizontal rule, the noshade attribute is added to the <HR> tag.
For example:
<HR> <!-- Produces a 3D horizontal rule -->
<HR noshade> <!-- Produces a 2D horizontal rule -->
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
