- In HTML, these lines are technically known as horizontal rules, so the element that represents them is called HR.
- Horizontal rules visually separate one section of a page from another, underline an image, and do just about anything you normally do with lines.
- You can set the width of horizontal rules as either a percentage of the width of the screen or as an exact pixel value.
- The default width value of a horizontal line is 100 percent of the screen width, so if you don’t specify the value of the width attribute, that’s what you get.
- To specify a width of 50 percent, for example, use the following code:
Reference : Building A Web Site For Dummies