Obiekt Wbudowanego DOM HTML
- Poprzednia strona <em>
- Następna strona <fieldset>
Obiekt Embed
Obiekt Embed to nowy obiekt w HTML5.
Obiekt Embed reprezentuje element HTML <embed>.
Dostęp do obiektu Embed
Możesz uzyskać dostęp do elementu <embed> za pomocą metody getElementById():
var x = document.getElementById("myEmbed");
Tworzenie obiektu Embed
Możesz utworzyć element <embed> za pomocą metody document.createElement():
var x = document.createElement("EMBED");
Atrybuty obiektu Embed
Atrybuty | Opis |
---|---|
height | Ustawienie lub zwracanie wartości atrybutu height elementu embed. |
src | Ustawienie lub zwracanie wartości atrybutu src elementu embed. |
type | Ustawienie lub zwracanie wartości atrybutu type elementu embed. |
szerokość | Ustawia lub zwraca wartość atrybutu width elementu embed. |
- Poprzednia strona <em>
- Następna strona <fieldset>