Jump to content

CSS Help


Guest GSM2407
 Share

Recommended Posts

Guest GSM2407

I have started a website and want to know how to do one thing:-I want to create a link in which the background colour changes to blue on mouse over.Please help :)

Link to comment
Share on other sites

<html><head><style type="text/css"><!--a:hover {background-color: blue;}--></style></head><body><a href="http://www.w3schools.com">W3Schools</a></body></html>

That will make your link blue on mouseover/hover.

Edited by Jonas
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...