HTML DOM Gömme Nesnesi
Gömme Nesnesi
Embed nesnesi bir HTML <embed> öğesini temsil eder.
Bir Gömme Nesnesine Erişme
Bir <embed> öğesine getElementById() kullanarak erişebilirsiniz:
Örnek
var x = document.getElementById("myEmbed");
Bir Gömme Nesnesi Oluşturun
Document.createElement() yöntemini kullanarak bir <embed> öğesi oluşturabilirsiniz:
Örnek
var x = document.createElement("EMBED");
Nesne Özelliklerini Göm
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 |
Standart Özellikler ve Olaylar
Embed nesnesi ayrıca standart özellikleri ve olayları da destekler .
İlgili Sayfalar
HTML öğreticisi: HTML Eklentileri
HTML referansı: HTML <embed> etiketi