
- Javascript Basics Tutorial
- Javascript - Home
- Javascript - Overview
- Javascript - Syntax
- Javascript - Enabling
- Javascript - Placement
- Javascript - Variables
- Javascript - Operators
- Javascript - If...Else
- Javascript - Switch Case
- Javascript - While Loop
- Javascript - For Loop
- Javascript - For...in
- Javascript - Loop Control
- Javascript - Functions
- Javascript - Events
- Javascript - Cookies
- Javascript - Page Redirect
- Javascript - Dialog Boxes
- Javascript - Void Keyword
- Javascript - Page Printing
- JavaScript Objects
- Javascript - Objects
- Javascript - Number
- Javascript - Boolean
- Javascript - Strings
- Javascript - Arrays
- Javascript - Date
- Javascript - Math
- Javascript - RegExp
- Javascript - HTML DOM
- JavaScript Advanced
- Javascript - Error Handling
- Javascript - Validations
- Javascript - Animation
- Javascript - Multimedia
- Javascript - Debugging
- Javascript - Image Map
- Javascript - Browsers
- JavaScript Useful Resources
- Javascript - Questions And Answers
- Javascript - Quick Guide
- Javascript - Functions
- Javascript - Resources
Change the Color of Active Links with CSS
To change the color of active links, use the: active property. You can try to run the following code to change the color of active links:
Example
<html> <head> <style> a:active { color: #FF00CC } </style> </head> <body> <a href = "">My Demo Link</a> </body> </html>
- Related Articles
- How to change the color of active links with CSS
- How to change the color of focused links with CSS
- Set the Color of links with CSS
- Set the Color of Visited Links with CSS
- Change the color of links when we bring a mouse pointer over that line with CSS
- Setting the Color of Links using CSS
- Removing Dotted Line around Active Links using CSS
- How to change the color of links in HTML?
- Change Cursor Color with CSS caret-color
- Change the color of right border with CSS
- Change the color of top border with CSS
- Change the color of the bottom border with CSS
- Change the color of the left border with CSS
- Change the background color of a button with CSS
- How to change the color of the placeholder attribute with CSS?

Advertisements