Html5 Hr Tag

In the <hr> tag indicates horizontal rule which is used to break through horizontal line for document or paragraph. For example a scene changes in a story.

Syntax:

<p> ... </p>
<hr />

Example Code

<!DOCTYPE HTML>
<html>
<body>
    <p> HTML5 is a Hyper Text Markup Language version 5 </p>
    <hr />
</body>
</html>

Out Put :



HTML5 is a Hyper Text Markup Language version 5


In the above example <hr> tag is used to Hyper Text Markup Language at Text.





Content