Attribute

The attributes of an element are represented as nodes, but aren't considered children of the element. Each attribute has the following properties:

Name

name attribute

The name property provides the name of the attribute node. For example, the name of the attribute in <A HREF="test"> is "HREF".

Specified

specified attribute

The specified property is true if the attribute was explicitely given a value in the original document.

Value

value attribute
set-value attribute value

The value property provides the value of the attribute as a string. This proprety can also be set.

SYMBOL-NAME>Owner Element
owner-element attribute

The element node this attribute is attached to, or NIL if the attribute is not in use.