Il tag HTML <embed>



Descrizione

Il tag HTML <embed> rappresenta un container per applicazioni esterne o contenuti interattivi.

Esempio

<!DOCTYPE html>
<html>
<head>
<title>HTML Embed Tag</title>
</head>
<body>
<embed src="/html/yourfile.mdi" width="250" height="100" />
</body>
</html>

Produrrà il seguente risultato:

Attributi Globali

Questo tag supporta tutti gli attributi globali descritti in - HTML - Referenze Attributi

Attributi Specifici

Il tag HTML <embed> supporta anche i seguenti attributi aggiuntivi:

AttributoValoreDescrizione
height html-5pixelsImposta l' altezza.
src html-5URLDefinisce l'URL del file sorgente
type html-5MIME_typeDefinisce il MIME type.
width html-5pixelsImposta la larghezza.

Attributi Evento

Questo tag supporta tutti gli attributi evento descritti in - HTML - Referenze Eventi

Compatibilità Browser

ChromeFirefoxIEOperaSafariAndroid
SiSiSiSiSiSi
html_tags_reference.htm
Advertisements