हिंदी

How can a 2D or 3D horizontal rule be displayed?

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 3: HTML- I: Basic HTML Elements - Assignment [पृष्ठ १२८]

APPEARS IN

सुमिता अरोरा Computer Applications [English] Class 10
अध्याय 3 HTML- I: Basic HTML Elements
Assignment | Q 25. | पृष्ठ १२८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×