HTML Horizonal Rule tag displays a horizontal line on the HTML web page when it load in a web browser. You can customize the appearance of horizontal line using its attributes. You can set the height, width, color and alignment of the HTML hr tag.
Hr Tag Attributes
Try the sample below to learn and practice with HTML code for Hr tag and its attributes: