Typ vložení Vlastnost
Příklad
Vraťte typ MIME vloženého obsahu:
var x = document.getElementById("myEmbed").type;
Definice a použití
Vlastnost height nastavuje nebo vrací hodnotu atributu type v prvku <embed>.
Atribut type určuje typ MIME vloženého obsahu.
Podpora prohlížeče
Property | |||||
---|---|---|---|---|---|
type | Yes | Yes | Yes | Yes | Yes |
Syntax
Vraťte vlastnost type:
embedObject.type
Nastavte vlastnost type:
embedObject.type = MIME_type
Hodnoty vlastností
Value | Description |
---|---|
MIME_type | The MIME type of the embedded content. Look at IANA MIME types for a complete list of standard MIME types. |
Technické údaje
Návratová hodnota: | Řetězec představující typ MIME vloženého obsahu |
---|
Související stránky
HTML reference: HTML atribut typu <embed>
❮ Vložit objekt