Attributes.length (Property)

The number of tag attributes supported in this Attributes array.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 5.0
Internet Explorer - 5.0
Netscape - 6.0
Property/method value type:Number primitive
JavaScript syntax:-myAttributes.length

The number of attributes supported by the HTML tag that owns this Attributes object.

This is the principle property of an Attributes object. Most others depend on the object that is represented.

See also:Attributes object, Collection.length

Property attributes:

ReadOnly.