![]() |
VOOZH | about |
The <hr> tag in HTML is used to create a horizontal ruleor line that visually separates content.
Syntax:
Some Content.. <hr> Some Content..
The table below shows a few attributes that allow customization:
| Attribute Values | Value | Description |
|---|---|---|
| align | left center right | Used to specify the alignment of the horizontal rule. |
| noshade | noshade | Used to specify the bar without shading effect. |
| size | pixels | Used to specify the height of the horizontal rule. |
| width | pixels | Used to specify the width of the horizontal rule. |
Lets see how different hr tag attributes works together in example below:
Output: