CBSE Class 10 Computer Applications
Question 164 of 176
HTML I — Basic HTML Elements — Question 37
Back to all questions 37
Question Question 25
How can a 2D or 3D horizontal rule be displayed ?
The <HR> tag is used to produce horizontal line spread across the width of the browser window. By default, a 3D horizontal line is produced.
If we want to produce a 2D rule, we add "noshade" to <HR> tag.
For example:
<HR> <!-- This tag produces a 3D horizontal rule -->
<HR noshade> <!-- This tag produces a 2D horizontal rule -->