IHTMLStyleElement interface
This interface specifies the style sheet for the page.
Members
The IHTMLStyleElement interface inherits from the IDispatch interface. IHTMLStyleElement also has these types of members:
- Properties
Properties
The IHTMLStyleElement interface has these properties.
Property | Description |
---|---|
Sets or retrieves a value that indicates whether the user can interact with the object. |
|
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. |
|
Note For the style element, IHTMLStyleElement::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. |
|
Retrieves the CSS language in which the style sheet is written. |
Remarks
The style element can be used only within either the head or body element.
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
DLL |
Mshtml.dll |