English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
embedsA read-only property that returns the list of embedded elements<embed>Elements in the current document.
The elements in the list are sorted in the order they appear in the source code.
document.embeds
var x = document.embeds.length;Test See‹/›
All browsers fully support the embeds attribute:
Attribute | |||||
embeds | Is | Is | Is | Is | Is |
Attribute | Description |
---|---|
length | Returns the list of<embed>Number of Elements |
Method | Description |
---|---|
[index) | Returns the specific node at the given index starting from zero in the list. If the index number is out of range, it returns null. |
item(index) | Returns the specific node at the given index starting from zero in the list. If the index number is out of range, it returns null. |
namedItem(id) | Returns a specific node that matches the ID name with the string specified by name. If the id does not exist, it returns null. |
Return Value: | OneHTMLCollectionObject |
---|---|
DOM Version: | DOM Level3 |