:link
Sets the style of an a
element when the link has not been visited recently.
Syntax
[a]:link {
sRules }
Possible values
sRules
String that specifies one or more cascading style sheet attribute/value pairs.
Remarks
The default value of the :link pseudo-class is browser-specific. The time period used to define a recent visit also varies by browser.
The :link pseudo-class is often used with :active, :hover, and :visited, the pseudo-classes that affect the other states of a link.
Example
The following style rule uses the :link pseudo-class to set the default color property of a link in a document:
<style>
a:link {color:#FF0000}
</style>
Standards information
This pseudo-class is defined in Cascading Style Sheets (CSS), Level 2 (CSS2) .
Applies to
a
See also
Concepts
Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.