line over text css code example
Example 1: line through in css
x {
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: line through text css
text-decoration: line-through