Team LiB   Previous Section   Next Section
Attr DOM Level 1

an attribute of a document element Inherits From: Node

Properties

name

The name of the attribute. Read-only.

ownerElement

The Element object that contains this attribute. Read-only. DOM Level 2.

specified

true if the attribute was explicitly specified in the document source or set by a script. false otherwise. Read-only.

value

The value of the attribute as a string. Read/write.

See Also

Document.createAttribute( ), Element.getAttributeNode( ), Element.setAttributeNode( )

    Team LiB   Previous Section   Next Section