MDN self-hosted library · e01.org
Styling links / notebook

Styling links

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

html
<p><a href="#">A simple link</a></p>
css
p {
  font-size: 2rem;
  text-align: center;
}
css
a {
}

a:link {
}

a:visited {
}

a:focus {
}

a:hover {
}

a:active {
}