Hr is used to show horizontal line in html document.
When ever we have to give any horizontal row between two element we use this tag
Hr does not have any closing tag.
Syntax
1 | <hr> |
Example:
1 2 3 4 5 6 7 8 | Hello How are you <hr> Whats going on |
Output:
Hello How are you
Whats going on