hr-Tag for Horizontal Lines

It creates a line from the current position in the document to the right margin and breaks the line accordingly. It is an empty element, so no opening or closing or in between text. It is used to visually break up sections in a web page as shown

HTML code <p>This is paragraph 1</p> <hr /> <p>This is paragraph 2</p>Browser output The hr  Tag for Horizontal Lines

Get industry recognized certification – Contact us

Menu