Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialja5on
10,338 Pointsa:link a:visited etc.. is there a way of resetting the colors to these links after they have been visited/clicked on
Its just a thought i've had because even if i shut down the wepage they still are in an active state when the page reloads
1 Answer
Sylvester Hofstra
12,022 PointsAs far as I know there is no way of resetting the colors with a specific property. Browsers will apply basic colors for links and visited links (and much more!). You could 'reset' the colors by declaring the same color for a visited link as the original link color:
a {
color: red;
}
a:visited {
color: red;
}