black in # css code example
Example 1: css underline color
u
{
text-decoration: underline;
text-decoration-color: red;
}
example of use: (in html)
<p>The word <u>CAT</u>, is underlined </p>
Example 2: dotted underline css
.dotted {
border-bottom: 1px dotted;
}
<p><span class="dotted">some text</span></p>