Jaa


IHTMLElement6 interface

Provides access to properties and methods that are common to all element objects. This interface extends the IHTMLElement5 interface.

Members

The IHTMLElement6 interface inherits from the IDispatch interface. IHTMLElement6 also has these types of members:

  • Methods
  • Properties

Methods

The IHTMLElement6 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.

getAttributeNodeNS

Gets an attribute object that matches the specified namespace and name.

getAttributeNS

Gets the value of the specified attribute within the specified namespace.

getElementsByClassName

Gets a collection of objects that are based on the value of the class attribute.

getElementsByTagNameNS

Gets a collection of objects that are based on the specified element names within a specified namespace.

hasAttribute

Determines whether an attribute with the specified name exists.

hasAttributeNS

Determines whether an attribute that has the specified namespace and name exists.

hasAttributes

Determines whether one or more attributes exist for the object.

msMatchesSelector

Determines whether an object matches the specified selector.

removeAttribute

Removes an attribute from an object.

removeAttributeNode

Removes an IHTMLDOMAttribute2 interface from the object.

removeAttributeNS

Removes the specified attribute from the object.

setAttribute

Sets the value of the specified attribute.

setAttributeNode

Sets an IHTMLDOMAttribute2 interface node as part of the object.

setAttributeNodeNS

Sets an IHTMLDOMAttribute2 interface as part of the object.

setAttributeNS

Sets the value of the specified attribute within the specified namespace.

 

Properties

The IHTMLElement6 interface has these properties.

Property Description

nodeName

Gets the name of a particular type of node.

oninput

Sets or retrieves a pointer to the event handler function associated with the oninput event.

onload

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.

tagName

Retrieves the tag name of the object.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch