Site icon Tutorial

hr-Tag for Horizontal Lines

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

Apply for HTML5 Certification Now!!

http://www.vskills.in/certification/Certified-HTML5-Developer

Back to Tutorial

Exit mobile version