write the different attributes used in < HR >tag>with their function
Answers
Answered by
2
Attributes
- Align
- Size
- Noshade
- Width
*Note: the above attributes do not work in HTML5
Align
- Aline attribute is used to align the hr in the center, right and left.
Size
- Size attribute is used to determine the height of the hr
Noshade
- After adding a noshade attribute the hr doesn't have a shadow, in other words, the shadow of the horizontal line vanishes.
Width
- The width attribute is used to specify the width of the horizontal line .
You can also style the hr by adding the class attribute.
Attachments:
Similar questions