Answers for "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
50

text-decoration css

h1 {
  text-decoration: overline;
}

h2 {
  text-decoration: line-through;
}

h3 {
  text-decoration: underline;
}

h4 {
  text-decoration: underline overline;
}
Posted by: Guest on February-20-2020
7

text underline hover css

a:hover {
  text-decoration: underline;
}
Posted by: Guest on May-28-2020
3

line through in css

x {
  text-decoration: line-through;
}
Posted by: Guest on September-11-2020
1

css underline

text-decoration: underline;
Posted by: Guest on July-28-2020
4

css text strike

h2 {
  text-decoration: line-through;
}
Posted by: Guest on June-11-2020

Browse Popular Code Answers by Language