Typ osadzenia Właściwość
Przykład
Zwróć typ MIME osadzonej zawartości:
var x = document.getElementById("myEmbed").type;
Definicja i użycie
Właściwość height ustawia lub zwraca wartość atrybutu type w elemencie <embed>.
Atrybut type określa typ MIME osadzonej treści.
Obsługa przeglądarki
Property | |||||
---|---|---|---|---|---|
type | Yes | Yes | Yes | Yes | Yes |
Składnia
Zwróć właściwość typu:
embedObject.type
Ustaw właściwość typu:
embedObject.type = MIME_type
Wartości nieruchomości
Value | Description |
---|---|
MIME_type | The MIME type of the embedded content. Look at IANA MIME types for a complete list of standard MIME types. |
Szczegóły techniczne
Wartość zwrotu: | String, reprezentujący typ MIME osadzonej treści |
---|
Powiązane strony
Odniesienie HTML: HTML <embed> type atrybut
❮ Osadź obiekt