horizontal line code example
Example 1: 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">
Example 2: horizontal line html
<!-- code -->
<hr>
<!-- code -->
Example 3: 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>
Example 4: 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/>
-->