overline text decoration 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>
Example 3: how to underline font in css
h3 {
text-decoration: underline;
}