why is my text underlined css code example
Example 1: 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>
Example 2: how to underline font in css
h3 {
text-decoration: underline;
}