मराठी

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×