Check out example codes for "which is right <hr> or <hr/> in html". It will help you in understanding the concepts better.

Code Example 1

<hr> <!--   it represents a horizontal line break, in HTML4.0 we use <hr>, 
            in XHTML1.0 we use <hr/>,  in HTML5(which is the current version of 
            HTML) we can use both <hr> and <hr/>    

Code Example 2

<!-- code -->


<!-- code -->

Code Example 3


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



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

Learn ReactJs, React Native from