WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM Embed Object


Embed Object

The Embed Object is new in HTML5.

The Embed object speaks to a HTML <embed> element.

Access an Embed Object

You can get to a <embed> component by utilizing getElementById():

var x = document.getElementById("myEmbed"); Try it

Create an Embed Object

You can make a <embed> component by utilizing the document.createElement() method:

var x = document.createElement("EMBED"); Try it

Embed Object Properties

Property Description
height Sets or returns the estimation of the stature characteristic in an insert element
src Sets or returns the estimation of the src quality in an insert element
type Sets or returns the estimation of the sort trait in an install element
width Sets or returns the estimation of the width trait in an implant element

Standard Properties and Events

The Embed object likewise underpins the standard properties and events.