Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

link attribute | link property

Sets or gets the color of the document links for the object.

 

Syntax

HTML<element link="p" ... >
JavaScript

p = object.link

 

Property values

Type: Variant

one of the color names or RGB values in the Color Table.

Standards information

Remarks

When you use the rel attribute of a link element, the value (and purpose) of the href attribute varies according to the value of the rel attribute. For more info, see the table of supported values on the rel attribute page.

The link property cannot be set through the BODY object's onload event, but the linkColor property can.

Some browsers do not recognize color names, but all browsers should recognize RGB color values and display them correctly.

See also

body
rel

 

 

Show:
© 2014 Microsoft