Answers for "hr tag properties"

5

hr tag

<hr style="height:2px;border-width:0;color:gray;background-color:gray">
Posted by: Guest on April-04-2021
16

horizontal line html

<!-- code -->

<hr>

<!-- code -->
Posted by: Guest on February-18-2020
2

which is right <hr> or <hr/> 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/>    
       -->
Posted by: Guest on September-10-2020

Browse Popular Code Answers by Language