- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Set the Color of Visited Links with CSS
To set the color of visited link, use the :visited property in CSS. You can try to run the following code to set the visited color link
<html> <head> <style> a:visited { color: #FF0000 } </style> </head> <body> <a href = "">My Link</a> </body> </html>
- Related Articles
- Set the Color of links with CSS
- Style all visited links with CSS
- Change the Color of Active Links with CSS
- How to change the color of active links with CSS
- How to change the color of focused links with CSS
- Setting the Color of Links using CSS
- Set the color of the border with CSS
- Set the color of the outline with CSS
- Set the link color with CSS
- Set the background color of an element with CSS
- Set the color of the rule between columns with CSS
- How to set the color of a text with CSS
- Change the color of links when we bring a mouse pointer over that line with CSS
- Set the opacity for the background color with CSS
- Styling Links with CSS

Advertisements