tag a text decoration code example
Example 1: html text decoration
<p style="text-decoration: none;"> There will be no effects. Default value </p>
<p style="text-decoration: underline;"> Text will be underlined </p>
<p style="text-decoration: overline;"> A line will be drawn over the text </p>
<p style="text-decoration: line-through;"> Text will be strikethrough </p>
Example 2: text underline hover css
a:hover {
text-decoration: underline;
}