1<!-- HTML -->
2
3<!-- You can change the style of the horizontal line like this: -->
4
5<hr style="width:50%", size="3", color=black>
6
7
8<!-- Or like this: -->
9
10<hr style="height:2px; width:50%; border-width:0; color:red; background-color:red">
11
12
1Incase you are trying to diffrentiate between verical and horizontal. this is a horizontal line
2------------
3<!--Then Vertical goes straight from top to bottom. -->
4
5<!--to add a horizontal line in html-->
6<hr>
1We can add a horizontal line through the hr tag
2where you will put the hr tag it will create a hr tag
3it doesnt have a closing tag
4<hr>