
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
Style the Active Link with CSS
To style the active links, use the CSS :active selector. You can try to run the following code to style the active links
Example
<!DOCTYPE html> <html> <head> <style> a:active { background-color: green; } </style> </head> <body> <a href = "https://qries.com">Welcome to Qries</a> <p>Click on the above link to see the effect.</p> </body> </html>
Advertisements