---
title: Link
---
## Link
The `:link` CSS pseudo-class is used to target all unvisited elements (e.g. anchor `` elements) that have an `href` attribute, even if the `href` has an empty value.
General Syntax:
```css
target:link
```
## Example
```css
/* Selects any that has not been visited yet */
a:link {
color: red;
}
```
#### More Information:
- [:link (MDN)](https://developer.mozilla.org/en-US/docs/Web/CSS/:link)