CSS හි link සහ visited සබැඳි තත්වයන්

බොහෝ විට :link සහ :visited තත්වයන් කොමාවකින් එකට එකතු කරනු ලැබේ:

cssa:link, a:visited {
  color: red;
}
a:hover {
  text-decoration: none;
}
a:active {
  color: blue;
}
html<a href="#">link</a>

Результат:

එවිට ඒවා සඳහන් නොකර තැබිය හැකිය:

cssa {
  color: red;
}
a:hover {
  text-decoration: none;
}
a:active {
  color: blue;
}
html<a href="#">link</a>

Результат: