Il tag HTML <html>



Descrizione

Il tag HTML <html> è il contenitore al cui interno vi sono tutti gli altri elementi HTML, ad eccezione del tag !doctype che viene inserito prima del tag <html>. Tutti gli altri elementi si trovano fra i tag <html> e </html>.

Esempio

<!DOCTYPE html>
<html>
<head>
<title>HTML html Tag</title>
</head>
<body>
<p>Actual content goes here... </p>
</body>
</html>

Produrrà il seguente risultato:

Actual content goes here...

Attributi Globali

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

Attributi Specifici

The HTML <> supporta anche i seguenti attributi aggiuntivi:

AttributoValoreDescrizione
manifesthtml-5URLServe per i browser offline , per indicare ad esempio l' URL del cache manifest.
xmlns https://www.w3.org/1999/xhtmlDeprecato-Specifica l' attributo XML namespace.

Attributi Evento

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

Compatibilità Browser

ChromeFirefoxIEOperaSafariAndroid
SiSiSiSiSiSi
html_tags_reference.htm
Advertisements