CSSCSS15 min read

CSS Links

Style links properly for normal, hover, and visited states.

David Miller
December 31, 2025
0.0k0

Links are one of the most used elements. ## Link states - normal - hover (mouse over) - visited ## Example ```css a { color: blue; text-decoration: none; } a:hover { color: red; } ``` ## UI Preview - link is blue - on hover it becomes red ## Real world example Navigation menus and buttons use styled links.

#CSS#Beginner