how to add an underline on text in css code example
Example 1: css text strike
h2 {
text-decoration: line-through;
}
Example 2: 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>