Answers for "font underline in css"

10

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>
Posted by: Guest on March-28-2020
8

underline text using css

/* Using 'text-decoration' property with 'underline' value. we can draw underline below the text using css */
<style>
p {
  text-decoration: underline;
}
</style>
<p>Hello all Welcome here !!!</p>
Posted by: Guest on June-04-2020

Browse Popular Code Answers by Language