IHTMLElement5 interface
Provides access to the properties and methods that are common to all element objects.
Members
The IHTMLElement5 interface inherits from the IDispatch interface. IHTMLElement5 also has these types of members:
- Methods
- Properties
Methods
The IHTMLElement5 interface has these methods.
Method | Description |
---|---|
getAttribute | Retrieves the value of the specified attribute. |
getAttributeNode | Retrieves an IHTMLDOMAttribute2 interface referenced by the IHTMLDOMAttribute2::name property. |
hasAttribute | Determines whether an attribute with the specified name exists. |
hasAttributes | Determines whether one or more attributes exist for the object. |
removeAttribute | Removes the given attribute from the object. |
removeAttributeNode | Removes an IHTMLDOMAttribute2 interface from the object. |
setAttribute | Sets the value of the specified attribute. |
setAttributeNode | Sets an IHTMLDOMAttribute2 interface node as part of the object. |
Properties
The IHTMLElement5 interface has these properties.
Property | Description |
---|---|
Sets or retrieves the currently active child element. |
|
Sets or retrieves a value indicating whether a live region is finished updating. |
|
Sets or retrieves the checked state of this element. |
|
Sets or retrieves the list of elements that are controlled by the current element. |
|
Sets or retrieves a list of elements that describe the current object. |
|
Sets or retrieves the disabled state of this element. |
|
Sets or retrieves the expanded state of this element. |
|
Specifies the id of the next element or elements in an alternative reading order. |
|
Indicates whether this element may display a pop-up window. |
|
Sets or retrieves the hidden state of this element. |
|
Sets or retrieves the error state of this element. |
|
Sets or retrieves a list of elements that provide a label for the current object. |
|
Sets or retrieves the level of this element. |
|
Sets or retrieves how assistive technology should announce updates to live regions. |
|
Sets or retrieves the multiple-selection state of this element. |
|
Sets or retrieves a list of child objects, including elements that are not direct descendants of the current object. |
|
Sets or retrieves the current position of an item within a set. |
|
Sets or retrieves the pressed state of a button that can be toggled. |
|
Sets or retrieves the read-only state of this element. |
|
Sets or retrieves which changes to a live region are relevant. |
|
Sets or retrieves the form-completion requirement of this element. |
|
Sets or retrieves the secret state of this element. |
|
Sets or retrieves the selection state of this element. |
|
Sets or retrieves the set size of this element. |
|
Sets or retrieves the maximum value that a user can provide. |
|
Sets or retrieves the minimum value that a user can provide. |
|
Sets or retrieves the current value of the element. |
|
Retrieves a collection of attributes of the object. |
|
Sets or retrieves the role for this element. |
Requirements
Minimum supported client |
Windows XP with SP2 |
Minimum supported server |
Windows Server 2003 |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
DLL |
Mshtml.dll |