Il tag HTML <basefont>


Descrizione

Il tag HTML <basefont> è utilizzato per impostare un font (carattere) base per il documento. Esso viene impostato in tutto il documento. Questo tag è stato deprecato.

Esempio

<!DOCTYPE html>
<html>
<head>
<title>HTML basefont Tag</title>
</head>
<body>
<basefont face="cursive,serif" color="#ff9900" size="4"/>
<p>The HTML basefont tag is now deprecated. You should use CSS font to set font properties instead.</p>
</body>
</html>

Produrrà il seguente risultato:

The HTML basefont tag is now deprecated. You should use CSS font to set font properties instead.

This result may vary browser to borwser.

Attributi Globali

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

Attributi Specifici

The HTML <basefont> supporta anche i seguenti attributi aggiuntivi:

AttributoValoreDescrizione
color rgb(x,x,x)
#xxxxxx
colorname
Deprecato - Imposta il colore del testo.
face font names separated by commaDeprecato - Specifica il font family del testo.
size1 to 7Deprecato - Specifica la dimensione del testo.

Attributi Evento

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

Compatibilità Browser

ChromeFirefoxIEOperaSafariAndroid
Non SupportatoNon SupportatoSiNon SupportatoNon SupportatoNon Supportato
html_tags_reference.htm
Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements