Answers for "h2 text underline css"

21

underline text in html

<!-- Using 'u' tag we can draw underline below the text in HTML -->
<p>Hello all <u>Welcome here !!!</u></p>
Posted by: Guest on June-04-2020
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