Click to Rate and Give Feedback
Properties
 linkColor Property
linkColor Property

Sets or gets the color of the document links.

Syntax

[ sColor = ] document.linkColor

Possible Values

sColorString or Integer that specifies or receives one of the color names or values in the Color Table.

The property is read/write. The property has a default value of #0000ff.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

The linkColor property can be set by using the body object's onload event. However you cannot use the onload event to set the link property.

Standards Information

There is no public standard that applies to this property.

Applies To

document

See Also

alinkColor, vlinkColor
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker