Answers for "css line under text"

CSS
2

css strikethrough

h1 {
  text-decoration: overline;
}

h2 {
  text-decoration: line-through;
}

h3 {
  text-decoration: underline;
}
Posted by: Guest on November-12-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
3

line through in css

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

css line under text

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

line through text css

text-decoration: line-through
Posted by: Guest on January-16-2021
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