Object na Embed na DOM na HTML

Embed object

Embed object is a new object in HTML5.

Embed object represents the HTML <embed> element.

Access Embed object

You can access <embed> elements by using getElementById():

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

Try it yourself

Create Embed object

You can create <embed> elements by using the document.createElement() method:

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

Try it yourself

Embed object properties

ɗanar Description
height Set or return the value of the height attribute of the embed element.
src Set or return the value of the src attribute of the embed element.
type A set or return the value of the type attribute of the embed element.
width Tayin ko ɗanar ɗanar width ɗanar ɗanar.

ɗanar ɗanar da ƙashe

Embed ɗanar ɗanar ɗanarɗanardaƘashe.

ɗanar ɗanar

HTML ɗanarHTML ɗanar

HTML ɗanarHTML <embed> ɗanar