Hyperlink
The :any-link pseudo-class represents an element that acts as the source anchor of a hyperlink (elements with an href attribute). In other words, any element that would match :link and :visited.
Browser Support
Desktop
Mobile
Syntax
E:any-link {
/* Declarations */
}
Example
/* In the following example, all links within your content will be red without an underline. */
#content a:any-link {
color: red;
text-decoration: none;
}
Information is based on Selectors Level 4 - W3C Working Draft (last updated on May 2, 2013)
Copyright © 2013 W3C® (MIT, ERCIM, Keio, Beihang), All Rights Reserved. W3C liability, trademark and document use rules apply.