welcome to tutorialfamily

css link

css link contain four state.

Visited link, unvisited link, hover link, active link


css link

  • visited link
  • unvisited link
  • hover link
  • active link

css link


						        
<!DOCTYPE html>
<html>
<head>
   <title>css tutorial</title>
<style>
a{ 
   font-size: 20px;
   margin: 10px;
}
/* unvisited link */
a:link {
  color: #ff0000;
}
/* visited link */
a:visited {
  color: green;
}
/* mouse over link */
a:hover {
  color: pink;
}
/* selected link */
a:active {
  color: blue;
}
</style>
</head>
<body>
   <a href="#">my car</a>
</body>
</html>


Run

Our Content