HTML DOM Embed Object
Embed Object
The Embed object represents an HTML <embed> element.
Access an Embed Object
You can access an <embed> element by using getElementById():
Create an Embed Object
You can create an <embed> element by using the document.createElement() method:
Embed Object Properties
Property | Description |
---|---|
height | Sets or returns the value of the height attribute in an embed element |
src | Sets or returns the value of the src attribute in an embed element |
type | Sets or returns the value of the type attribute in an embed element |
width | Sets or returns the value of the width attribute in an embed element |
Standard Properties and Events
The Embed object also supports the standard properties and events.
Related Pages
HTML tutorial: HTML Plug-ins
HTML reference: HTML <embed> tag
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.