Pseudo selectors


#1


why are all the links of "visited"color.
html: <html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title></title>
	</head>
	<body>
		<div>
		    <ul>
		        <li><a href="http://www.color-hex.com/color-palettes/">Hexagonal color patterns</a></li>
		        <li><a href="https://www.youtube.com/">Favourite videos<a                      ></li>
		        <li><a href="http://mp3skulls.info/">Favourite music download                  </li>
		    </ul>
		</div>
	</body>
</html>

CSS:
a:link {
    text-decoration:none;
    color:#008b45;
}

a:hover {
    color:#00ff00;
}
a:visited {
    color:#ee9a00;
}


#2

because you visited them? a:visited relies on your browser history


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.