Answers for "how to give color to hr in html"

5

how to change the color of the hr tag in html

<style>       
    hr{
        height: 1px;
        background-color: #ccc;
        border: none;
    }
</style>
Posted by: Guest on September-02-2020
0

add color to hr tag

border: 1px solid red;
Posted by: Guest on January-14-2021

Code answers related to "how to give color to hr in html"

Browse Popular Code Answers by Language