Document: linkColor property
The Document.linkColor property gets/sets the color of
links within the document.
This property is deprecated. As an alternative, you can set the CSS color property on either HTML anchor links (a) or on :link pseudo-classes.
Value
A string representing the color as a word (e.g., red) or hexadecimal value (e.g., #ff0000).
When set to the null value, that null value is converted to the empty string (""), so document.linkColor = null is equivalent to document.linkColor = "".
Examples
document.linkColor = "blue";
Specifications
Browser compatibility
The default value for this property in Mozilla Firefox is blue (#0000ee in
hexadecimal).
See also
这篇文档对你有帮助吗?
谢谢你的反馈!