Check out example codes for "hr html". It will help you in understanding the concepts better.

Code Example 1

<hr><hr>

Code Example 2

<!-- code -->

<hr>

<!-- code -->

Code Example 3

<h1>HTML</h1>

 <p>HTML is a language for describing web pages.....</p>


 <hr>

<h1>CSS</h1>

 <p>CSS defines how to display HTML elements.....</p>

Code Example 4

<p>HTML is a language for describing web pages.....</p>

<!--the hr tag stands for horizontal rule and will make a line across your page at that point-->
 <hr>

 <p>CSS defines how to display HTML elements.....</p>

Code Example 5

<h1>Horizontal Lines</h1>
<p>All you have to do is add this simple tag:</p>


<hr>


<p>Everything else in this example is not necessary.</p>

Code Example 6

<p>Este es un parrafo unicamente visual para ver el uso de
 la etiqueta hr</p>
  <hr/>      
  <p>Este es el segundo parrafo, separado del primero por la etiqueta hr, que puede
representarse mediante una línea horizontal.</p>

Learn ReactJs, React Native from akashmittal.com