underline on hover html code example Example: text underline hover css a:hover { text-decoration: underline; }