Select visited links: - HTML CSS CSS Selector

HTML CSS examples for CSS Selector:visited

Description

Select visited links:

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
a:visited {<!--from w w  w . j  av  a 2  s  .  co  m-->
    color: pink;
}
</style>
</head>
<body>

<a href="https://www.java2s.com">W3Schools Home</a><br>
<a href="https://www.java2s.com/html/">W3Schools HTML Tutorial</a><br>
<a href="https://www.java2s.com/css/">W3Schools CSS Tutorial</a>

</body>
</html>

Related Tutorials