![]() |
VOOZH | about |
The :any-link selector is used to style every <a>, <area>, or <link> element that has an "href" attribute .It will skip applying CSS properties for those <a>, <area>, <href> tags in which "href" is not defined. Hence, it matches all elements that match :link or :visited.
Syntax:
:any-link{
/*css properties*/
}
The below Examples illustrates the usage of :any-link pseudo-class selector.
Example 1:
Output:
Example 2:
Output:
Note: Internet Explorer is not supported.
Browser supported: