Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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




Community Additions

© 2015 Microsoft