Perform automated and live-interactive testing on 3000+ real desktop and mobile devices online.
The :link CSS selector targets the unvisited link. To style links that have already been visited, use “:visited”; to style links that have been clicked on, use “:active”; and to style a link while the mouse is over it, use “:hover”.
For example, because most browsers apply a special color to visited links, the links in this example will probably have special font colors only before you visit them. But you'll need to check your browser history to see them again because the background-color value will likely remain even after you've visited the links.
CSS Syntax:
a:link {
background-color: gold;
color: green;
}
Test your websites, web-apps, or mobile apps seamlessly with LambdaTest.
Start Free TestingEarn resume-worthy Selenium certifications that help you land a top job.
Learn MoreTest orchestration and execution cloud of 3000+ browsers and OS
24/7 support
Enterprise grade security
Fastest test execution cloud