HTML DOM Embed object
Embed object
The Embed object represents an HTML-lt;embed-and-gt; element.
Access the Embed object
You can use getElementById() to access the elements:
Create an Embed object
You can use document.createElement() to create the element of the .
Embed object properties
Property | describe |
---|---|
height | Set or return the height of the embedded file (Height property value) |
src | Set or return the SRC attribute value of the Embed element (embedding file address) |
type | Set or return the type attribute value of the EMBED element (embedding file type) |
width | Set or return the width of the embedded file (width property) |
Standard properties and events
Embed objects also support standard properties and events.
Related articles
HTML Reference Manual: HTML .lt;embed and tags