English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Manuale di riferimento HTML

Completo elenco dei tag HTML

HTML: attributo seamless di <iframe>

Questa introduzione spiega che l'attributo seamless di HTML iframe è un attributo booleano. L'attributo seamless determina che l'<iframe> sembra essere parte integrante del documento contenuto (senza bordi e barre di scorrimento).

 HTML <iframe> etichetta

Esempio online

Un <iframe> che sembra essere parte di un documento contenente:

<iframe src="demo-iframe.html" seamless></iframe>
Prova a vedere ‹/›

Compatibilità del browser

IEFirefoxOperaChromeSafari

Attenzione:Solo Chrome e Safari 6 supportano l'attributo seamless dell'etichetta <iframe>.

Definizione e utilizzo

L'attributo seamless è un attributo booleano.

L'attributo seamless specifica che <iframe> sembra essere parte di un documento contenente (senza bordi e barre di scorrimento).

Differenze tra HTML 4.01 e HTML5

L'attributo seamless è una nuova proprietà dell'HTML5.

Differenze tra HTML e XHTML

In XHTML, è proibita la abbreviazione degli attributi, l'attributo seamless deve essere definito come <iframe seamless="seamless">.

Sintassi

<iframe seamless>

 HTML <iframe> etichetta