Answers for "add a horizontal line in css"

3

html horizontal line style

<!-- HTML -->

<!-- You can change the style of the horizontal line like this: --> 

<hr style="width:50%", size="3", color=black>  


<!-- Or like this: -->

<hr style="height:2px; width:50%; border-width:0; color:red; background-color:red">
Posted by: Guest on July-26-2020
1

horizontal line

Incase you are trying to diffrentiate between verical and horizontal. this is a horizontal line
------------
<!--Then Vertical goes straight from top to bottom. -->

<!--to add a horizontal line in html-->
<hr>
Posted by: Guest on May-09-2021

Browse Popular Code Answers by Language