Tuesday, December 25, 2018

Horizontal tag.

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>

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

Internal Javascripts

Internal Javascripts :    The script code can be written directly into the HTML document. script code is placed in header of the docume...