HORIZONTAL RULE:-
<html>
<body>
<h1>This is heading 1</h1>
<hr>
<h2>This is heading 2</h2>
<hr>
<h3>This is heading 2</h3>
</body>
</html>
<html>
<body>
<h1>This is heading 1</h1>
<hr>
<h2>This is heading 2</h2>
<hr>
<h3>This is heading 2</h3>
</body>
</html>
OUTPUT:-
- The <hr> tag defines a thematic break in an HTML page.
- Displayed as a horizontal rule.
- The <hr> element is used to separate content in an HTML page.
No comments:
Post a Comment