style anchor as a link css code example Example: text underline hover css a:hover { text-decoration: underline; }