Answers for "how to give underline to a class in css"

CSS
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

Code answers related to "how to give underline to a class in css"

Browse Popular Code Answers by Language