CSS3 > Selectors

Link selector in CSS3

How to add style to the unvisited links in CSS3?

By using link selector we can add style to the unvisited links.

        a:link {
            background-color: pink;

    <a href="http://www.techfunda.com" title="TechFunda.com">TechFunda.com</a> | <a href="http://www.dotnetfunda.com" title="DotNetFunda.com">DotNetFunda.com</a>

In the above code snippet we have given style to the link in the <a> tag. It represents the unvisited links on the web page.


 Views: 481 | Post Order: 29

Write for us