CSSCSS15 min read

CSS Links

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

David Miller
November 21, 2025
10.8k490

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