- 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
Change the Color of Link when a Mouse Hovers
To change the color of a link when we bring a mouse pointer over that link, use the: hover property.
Example
You can try to run the following code to change the link color:
<html> <head> <style> a:hover { color: #FFCC00 } </style> </head> <body> <a href = "">My Link</a> </body> </html>
- Related Articles
- Change the color of links when we bring a mouse pointer over that line with CSS
- How to change the mouse pointer color in Tkinter?
- How to Change Link Underline Color using text-decoration-color CSS
- Change Color of Button in iOS when Clicked
- How to change color of Button in Android when Clicked?
- How to change the color of a button when the input field is filled – JavaScript?
- Set the link color with CSS
- How to change the target of a link in HTML?
- How to Change color of Button in Android when Clicked using Kotlin?
- Change the background color of a button with CSS
- Change Image Opacity on Mouse Over
- How to fully change the color of a Tkinter Listbox?
- How to change the color of a Tkinter label programmatically?
- Change the color of right border with CSS
- Change the Color of Active Links with CSS

Advertisements