dotted horizontal line in background css 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: dashed lin in css
hr {
border:none;
border-top:1px dashed #f00;
color:#fff;
background-color:#fff;
height:1px;
width:50%;
}