Answers for "how to add color in hr tag"

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

Browse Popular Code Answers by Language