linkColor Property

Internet Development Index

Sets or retrieves the color of the document links.

Syntax

document.linkColor [ = sColor ]

Possible Values

sColorVariant 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 through the body object's onload event, but the link property cannot.

Standards Information

There is no public standard that applies to this property.

Applies To

document

See Also

alinkColor, vlinkColor