Answers for "make text underline 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
1

text-decoration

a{
    text-decoration:underline; // default in A tag
    text-decoration:none;
    text-decoration: overline;
    text-decoration: line-through;
    text-decoration: underline overline;
}

//My youtube:'https://www.youtube.com/HasibulIslambd'
Posted by: Guest on June-04-2021
8

how to underline font in css

h3 {
  text-decoration: underline;
}
Posted by: Guest on April-28-2020

Browse Popular Code Answers by Language