Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

link property

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


HRESULT value = object.put_link( v);HRESULT value = object.get_link(* p);

Property values


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

Standards information


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

The IHTMLBodyElement::link property cannot be set through the BODY object's HTMLFrameSiteEvents::onload event.

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

See also




Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.