Answers for "how to underline word in css"

CSS
53

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
5

html underline tag

Ex. Underline word "parragraph" using 'u' tag:

<p>This is a <u>parragraph</u>.</p>
Posted by: Guest on March-16-2020

Browse Popular Code Answers by Language