underline text css

CSS
h1 {
  text-decoration: overline;
}

h2 {
  text-decoration: line-through;
}

h3 {
  text-decoration: underline;
}

h4 {
  text-decoration: underline overline;
}h3 {
  text-decoration: underline;
}h3 {
  text-decoration: underline;
}/* 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><p>This is a <u>parragraph</u>.</p>
Source

Also in CSS: