Element object

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
0 out of 1 rated this helpful - Rate this topic

Represents an element in an HTML or XML document.

Internet Explorer 10

DOM Information

Inheritance Hierarchy

 Node
   Element

Members

The Element object has these types of members:

Events

The Element object has these events.

EventDescription
MSPointerCancel

Fires when the system cancels a pointer event.

 

Methods

The Element object has these methods.

MethodDescription
msGetRegionContent

Returns an array of Range instances corresponding to the content from the region flow that is positioned in the region.

 

Properties

The Element object has these properties.

PropertyDescription

-ms-AcceleratorKey

Provides a way to declare that an accelerator key has been assigned to an element.

msContentZoomFactor

Specifies the content zoom factor.

msRegionOverflow

Determines if content fully fits into the region or not.

 

Remarks

The Element interface represents an element in an HTML or XML document. Elements may have attributes associated with them; since the Element interface inherits from Node, the generic Node interface attribute attributes may be used to retrieve the set of all attributes for an element. There are methods on the Element interface to retrieve either an attribute object by name or an attribute value by name. In XML, where an attribute value may contain entity references, an attribute object should be retrieved to examine the possibly fairly complex sub-tree representing the attribute value. On the other hand, in HTML, where all attributes have simple string values, methods to directly access an attribute value can safely be used as a convenience.

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.