| HTMLElement Properties |
The HTMLElement type exposes the following members.
| Name | Description | |
|---|---|---|
| Attributes |
A NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
(Inherited from Element.) | |
| BaseURI |
The absolute base URI of this node or null if the implementation wasn't able to obtain an absolute URI.
(Inherited from Node.) | |
| ChildElementCount |
Returns the current number of element nodes that are children of this element. 0 if this element has no child nodes that are of nodeType 1.
(Inherited from Element.) | |
| ChildNodes |
A NodeList that contains all children of this node. If there are no children, this is a NodeList containing no nodes..
(Inherited from Node.) | |
| Children |
Returns the child elements of current element.
(Inherited from Element.) | |
| ClassName |
The class attribute of the element. This attribute has been renamed due
to conflicts with the "class" keyword exposed by many languages. See
the class attribute definition in HTML 4.01.
| |
| Dir |
Specifies the base direction of directionally neutral text and the
directionality of tables. See the dir attribute definition in HTML
4.01.
| |
| FirstChild |
The first child of this node. If there is no such node, this returns null.
(Inherited from Node.) | |
| FirstElementChild |
Returns the first child element node of this element. null if this element has no child elements.
(Inherited from Element.) | |
| Id |
The element's identifier. See the id attribute definition in HTML 4.01.
| |
| InnerHTML |
Returns a fragment of HTML or XML that represents the element's contents.
Can be set, to replace the contents of the element with nodes parsed from the given string.
(Inherited from Element.) | |
| Lang |
Language code defined in RFC 1766. See the lang attribute definition in
HTML 4.01.
| |
| LastChild |
The last child of this node. If there is no such node, this returns null.
(Inherited from Node.) | |
| LastElementChild |
Returns the last child element node of this element. null if this element has no child elements.
(Inherited from Element.) | |
| LocalName |
Returns the local part of the qualified name of this node.
For nodes of any type other than ELEMENT_NODE and ATTRIBUTE_NODE and nodes created with a DOM Level 1 method, such as Document.createElement(), this is always null.
(Inherited from Element.) | |
| NamespaceURI |
The namespace URI of this node, or null if it is unspecified.
(Inherited from Element.) | |
| NextElementSibling |
Returns the next sibling element node of this element. null if this element has no element sibling nodes that come after this one in the document tree.
(Inherited from Element.) | |
| NextSibling |
The node immediately following this node. If there is no such node, this returns null.
(Inherited from Node.) | |
| NodeName |
The name of this node, depending on its type.
(Inherited from Element.) | |
| NodeType |
A code representing the type of the underlying object.
(Inherited from Element.) | |
| NodeValue |
The value of this node, depending on its type.
(Inherited from Node.) | |
| OuterHTML |
Returns a fragment of HTML or XML that represents the element and its contents.
Can be set, to replace the element with nodes parsed from the given string.
(Inherited from Element.) | |
| OwnerDocument |
The Document object associated with this node. This is also the Document object used to create new nodes. When this node is a Document or a DocumentType which is not used with any Document yet, this is null.
(Inherited from Node.) | |
| ParentElement |
Gets the parent Element of this node.
(Inherited from Node.) | |
| ParentNode |
The parent of this node. All nodes, except Attr, Document, DocumentFragment, Entity, and Notation may have a parent. However, if a node has just been created and not yet added to the tree, or if it has been removed from the tree, this is null.
(Inherited from Node.) | |
| Prefix |
The namespace prefix of this node, or null if it is unspecified. When it is defined to be null, setting it has no effect
(Inherited from Element.) | |
| PreviousElementSibling |
Returns the previous sibling element node of this element. null if this element has no element sibling nodes that come before this one in the document tree.
(Inherited from Element.) | |
| PreviousSibling |
The node immediately preceding this node. If there is no such node, this returns null.
(Inherited from Node.) | |
| SchemaTypeInfo |
The type information associated with this element.
(Inherited from Element.) | |
| ShadowRoot |
Returns shadowRoot stored on this element or null if it's closed.
(Inherited from Element.) | |
| Style |
Represents Represents a style attribute that allows author to directly apply style information to specific element.
| |
| TagName |
The name of the element.
(Inherited from Element.) | |
| TextContent |
This attribute returns the text content of this node and its descendants. When it is defined to be null, setting it has no effect. On setting, any possible children this node may have are removed and, if it the new string is not empty or null, replaced by a single Text node containing the string this attribute is set to.
(Inherited from Element.) | |
| Title |
The element's advisory title. See the title attribute definition in
HTML 4.01.
|