hr html attributes code example
Example 1: hr tag
<hr style="height:2px;border-width:0;color:gray;background-color:gray">
Example 2: horizontal line html
<!-- code -->
<hr>
<!-- code -->
Example 3: which is right or in html
<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/>
-->
Example 4: hr tag html
<hr> <!-- A horizontal line -->