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