Sets or retrieves the style of the <A> element for the default state of the link.
Syntax
HTML [A]:link { attribute1:parameter1 [; attribute2:parameter2 [; . . .]] } Scripting N/A
Possible Values
attribute Any attribute applicable to text. parameter Any of the range of values available to the corresponding attribute. The pseudo-class is read/write with a browser-specific default.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see Dynamic Properties.
Remarks
The link pseudo-class often is set with specific styles for the other statesactive, visited, and hoverof a link.
Internet Explorer 3.0 applies the link pseudo-class value to the visited psuedo-class.
Example
This example uses the link pseudo-class.
Sample Code
<STYLE> A:link{ color: #FF0000 } // unvisited link A:visited { color: #CFCFCF } // visited links </STYLE>
Applies To
A
See Also