HR (<hr>) Tag

by Jai 06-Jul-19

0 471

The <hr> is short form for horizontal rule. This tag is used to paragraph-level thematic break or line to separate document or sections in HTML document.

It is used when you want to change your topic in your HTML document. There is no need to close this tag as it is an optional tag.


<!DOCTYPE html>
  <title>Hr Tag</title>
<p>HTML is a Hypertext Markup Language. </p>
<h2>HR Tag </h2>
<p>HR tag is used to draw a horizontal line within the texts to sepate content.<p>


HR (<hr>) Tag


Leave a Reply


    Waiting for your comments