Tipo di incorporamento Proprietà
Esempio
Restituisce il tipo MIME del contenuto incorporato:
var x = document.getElementById("myEmbed").type;
Definizione e utilizzo
La proprietà height imposta o restituisce il valore dell'attributo type in un elemento <embed>.
L'attributo type specifica il tipo MIME del contenuto incorporato.
Supporto browser
Property | |||||
---|---|---|---|---|---|
type | Yes | Yes | Yes | Yes | Yes |
Sintassi
Restituisce la proprietà del tipo:
embedObject.type
Imposta la proprietà del tipo:
embedObject.type = MIME_type
Valori di proprietà
Value | Description |
---|---|
MIME_type | The MIME type of the embedded content. Look at IANA MIME types for a complete list of standard MIME types. |
Dettagli tecnici
Valore di ritorno: | Una stringa, che rappresenta il tipo MIME del contenuto incorporato |
---|
Pagine correlate
Riferimento HTML: attributo tipo HTML <embed>
❮ Incorpora oggetto