Export (0) Print
Expand All

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

The IHTMLElement5 interface has these methods.

MethodDescription
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.

PropertyDescription

ariaActivedescendant

Sets or retrieves the currently active child element.

ariaBusy

Sets or retrieves a value indicating whether a live region is finished updating.

ariaChecked

Sets or retrieves the checked state of this element.

ariaControls

Sets or retrieves the list of elements that are controlled by the current element.

ariaDescribedby

Sets or retrieves a list of elements that describe the current object.

ariaDisabled

Sets or retrieves the disabled state of this element.

ariaExpanded

Sets or retrieves the expanded state of this element.

ariaFlowto

Specifies the id of the next element or elements in an alternative reading order.

ariaHaspopup

Indicates whether this element may display a pop-up window.

ariaHidden

Sets or retrieves the hidden state of this element.

ariaInvalid

Sets or retrieves the error state of this element.

ariaLabelledby

Sets or retrieves a list of elements that provide a label for the current object.

ariaLevel

Sets or retrieves the level of this element.

ariaLive

Sets or retrieves how assistive technology should announce updates to live regions.

ariaMultiselectable

Sets or retrieves the multiple-selection state of this element.

ariaOwns

Sets or retrieves a list of child objects, including elements that are not direct descendants of the current object.

ariaPosinset

Sets or retrieves the current position of an item within a set.

ariaPressed

Sets or retrieves the pressed state of a button that can be toggled.

ariaReadonly

Sets or retrieves the read-only state of this element.

ariaRelevant

Sets or retrieves which changes to a live region are relevant.

ariaRequired

Sets or retrieves the form-completion requirement of this element.

ariaSecret

Sets or retrieves the secret state of this element.

ariaSelected

Sets or retrieves the selection state of this element.

ariaSetsize

Sets or retrieves the set size of this element.

ariaValuemax

Sets or retrieves the maximum value that a user can provide.

ariaValuemin

Sets or retrieves the minimum value that a user can provide.

ariaValuenow

Sets or retrieves the current value of the element.

attributes

Retrieves a collection of attributes of the object.

role

Sets or retrieves the role for this element.

 

Requirements

Minimum supported client

Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft