Bộ chọn :visited - Lặp lại
Nội dung trùng lặp với bài 1003062690. :visited tạo kiểu cho link đã truy cập (giới hạn thuộc tính).
Ví dụ (giống hệt bài 1003062690)
<!DOCTYPE html>
<html>
<head>
<style>
a:link, a:visited {
background-color: white;
color: black;
border: 1px solid blue;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
}
a:hover, a:active {
background-color: red;
color: white;
}
</style>
</head>
<body>
<a href="demo.html" target="_blank">Liên kết Demo</a>
</body>
</html>
Link visited và link cùng kiểu. Hover/Active đổi đỏ.