Guest aspeas Posted April 19, 2006 Share Posted April 19, 2006 I'm 12 years old and I am making a website.I was just wondering how do you change the colour of a link?I have a blue background on the page so the links only show up after they have been clicked.I know this sounds stupid but please someone help me.Thanks Link to comment Share on other sites More sharing options...
scott100 Posted April 19, 2006 Share Posted April 19, 2006 Hi aspeas, you can change the colour of a link using CSS, here is an example <html><head><style type="text/css">a:link {color: red} /* unvisited link */a:visited {color: blue} /* visited link */a:hover {color: green} /* mouse over link */a:active {color: orange} /* selected link */</style></head><body><a href="#">This is a link</a></body></html> Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now