
In the html document, the horizontal tag element represents a horizontal line that is used to visually separate the content. It is an empty element which also means it does not have any content and there is no requirement for any closing tag.
Here is an example of how to use the horizontal tag in an html document
<p>This is some text.</p>
<hr>
<p>This is some more text, separated from the previous paragraph by a horizontal line.</p>
Comments
Join the discussionNo comments yet. Be the first to comment.
Interview-HTML
In this series I will try to answer questions of HTML interviews in most simplest fashion. This will give user the chance of understanding the interview question of HTML in a conceptual manner.


