Answers for "create a horizontal line in html"

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
1

how to add a horizontal line in html

We can add a horizontal line through the hr tag 
where you will put the hr tag it will create a hr tag 
it doesnt have a closing tag
<hr>
Posted by: Guest on June-05-2021

Code answers related to "create a horizontal line in html"

Browse Popular Code Answers by Language