IHTMLLinkElement interface
This interface provides methods to access a link element that is used to specify a link to an external document.
Members
The IHTMLLinkElement interface inherits from the IDispatch interface. IHTMLLinkElement also has these types of members:
Properties
The IHTMLLinkElement interface has these properties.
| Property | Description |
|---|---|
|
Sets or retrieves a value that indicates whether the user can interact with the object. | |
|
Sets or retrieves a destination URL or an anchor point. | |
|
Sets or retrieves the media type. | |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onload event. The HTMLFrameSiteEvents::onload event occurs immediately after the browser loads the object. | |
|
Retrieves a value that indicates the current state of the object. | |
|
Sets or retrieves the relationship between the object and the destination of the link. | |
|
Sets or retrieves the relationship between the object and the destination of the link. | |
|
Note For the style element, IHTMLLinkElement::styleSheet is no longer supported. Starting with IE11, use IHTMLLinkElement5::sheet. For info, see Compatibility changes.
Retrieves an interface pointer that provides access to the style sheet object's properties and methods. | |
|
Sets or retrieves the MIME type of the object. |
Requirements
|
Minimum supported client |
Windows XP |
|---|---|
|
Minimum supported server |
Windows 2000 Server |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
- IDispatch
- Reference
- IHTMLLinkElement2
- IHTMLLinkElement3