hr tag or horizontal line in html

The


element creates a horizontal Line across the page. It is an empty element, rather like the
element. Hr also known as Horizontal Rule. Horizontal Rule have or use many attributes. i.e align left/right,center, width, height, color etc.

Example:-


Result:-


Author: Ramesh Saini

Leave a Reply

Your email address will not be published. Required fields are marked *