
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Change the Color of Active Links with CSS
Use the :active class to change the color of active links. Possible values could be any color name in any valid format.
Example
You can try to run the following code to implement the color of an active link −
<html> <head> <style> a:active { color: #FF00CC } </style> </head> <body> <a href = "">My Link</a> </body> </html>
Advertisements