The Embed object represents an HTML <embed> element.
You can access an <embed> element by using getElementById():
You can create an <embed> element by using the document.createElement() method:
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 |
The Embed object also supports the standard properties and events.
HTML tutorial: HTML Plug-ins
HTML reference: HTML <embed> tag
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!