Geoff Chappell - Software Analyst
An instance of the CLinkElement class is created for each LINK tag.
coclass: | HTMLLinkElement | {3050F277-98B5-11CF-BB82-00AA00BDCE0B} |
dispinterface: | DispHTMLLinkElement | {3050F524-98B5-11CF-BB82-00AA00BDCE0B} |
The table below lists the interface members that the CLinkElement class exposes as properties (methods, collections, etc) through its string table in addition to the very many properties that are common to all elements.
Properties that Microsoft does not list in the HTML and DHTML Reference are highlighted. Properties that are listed but not as applying to the link element are shaded yellow.
Property | Attribute | Interface | Member |
---|---|---|---|
appendChild | IHTMLDOMNode | appendChild | |
attributes | IHTMLDOMNode | get_attributes | |
charset | same | IHTMLLinkElement3 | get_charset put_charset |
childNodes | IHTMLDOMNode | get_childNodes | |
cloneNode | IHTMLDOMNode | cloneNode | |
firstChild | IHTMLDOMNode | get_firstChild | |
hasChildNodes | IHTMLDOMNode | hasChildNodes | |
href | same | IHTMLLinkElement | get_href put_href |
hreflang | same | IHTMLLinkElement3 | get_hreflang put_hreflang |
insertBefore | IHTMLDOMNode | insertBefore | |
lastChild | IHTMLDOMNode | get_lastChild | |
media | same | IHTMLLinkElement | get_media put_media |
nextSibling | IHTMLDOMNode | get_nextSibling | |
nodeName | IHTMLDOMNode | get_nodeName | |
nodeType | IHTMLDOMNode | get_nodeType | |
nodeValue | IHTMLDOMNode | get_nodeValue put_nodeValue |
|
onerror | same | IHTMLLinkElement | get_onerror put_onerror |
onload | same | IHTMLLinkElement | get_onload put_onload |
ownerDocument | IHTMLDOMNode2 | get_ownerDocument | |
parentNode | IHTMLDOMNode | get_parentNode | |
previousSibling | IHTMLDOMNode | get_previousSibling | |
rel | same | IHTMLLinkElement | get_rel put_rel |
removeChild | IHTMLDOMNode | removeChild | |
removeNode | IHTMLDOMNode | removeNode | |
replaceChild | IHTMLDOMNode | replaceChild | |
replaceNode | IHTMLDOMNode | replaceNode | |
rev | same | IHTMLLinkElement | get_rev put_rev |
styleSheet | IHTMLLinkElement | get_styleSheet | |
swapNode | IHTMLDOMNode | swapNode | |
target | same | IHTMLLinkElement2 | get_target put_target |
type | same | IHTMLLinkElement | get_type put_type |
uniqueID | IHTMLUniqueName | get_uniqueID | |
uniqueNumber | IHTMLUniqueName | get_uniqueNumber |