HTMLPropertiesCollection Interface
A property is a simple data structure consisting of a name and a value, also known as a name-value pair. The HTMLPropertiesCollection interface provides indirect access to a collection of properties through the elements that define the properties. It is used for:
Note that the HTMLPropertiesCollection is not the collection of properties, but a collection of the parent elements that add those properties to the microdata information model.
- Superinterface:
- HTMLCollection
- Use:
- HTML microdata HTMLElement properties
DOM Properties inherited from HTMLCollection |
get only | unsigned long |
- collection.length
|
DOM Interface Methods inherited from HTMLCollection |
Node |
- collection.item(unsigned long index)
collection[index]
collection(index)
-
- Parameters:
- index - index of the node to be returned, where the first index is 0 and the last index is length - 1
- Return value:
- the (index + 1)th node in the list (for example, if index is 3, the fourth node is returned) if 0 < index < length - 1, or else null
|