hr style border code example
Example 1: how to change the color of the hr tag in html
<style>
hr{
height: 1px;
background-color: #ccc;
border: none;
}
</style>
Example 2: dashed lin in css
hr {
border:none;
border-top:1px dashed #f00;
color:#fff;
background-color:#fff;
height:1px;
width:50%;
}