Dashed line html code example
Example 1: dashed lin in css
hr {
border:none;
border-top:1px dashed #f00;
color:#fff;
background-color:#fff;
height:1px;
width:50%;
}
Example 2: how to make a dotted hr in css
/* hr {
border:none;
border-top:1px dotted #f00;
color:#fff;
background-color:#fff;
height:1px;
width:50%;
} */