Il tag HTML center



Descrizione

Il tag HTML <center> permette di centrare il testo compreso fra i tags. Questo tag è stato deprecato.

Esempio

<!DOCTYPE html>
<html>
<head>
<title>HTML center Tag</title>
</head>
<body>
<center>This text is centered</center>
</body>
</html>

Produrrà il seguente risultato:

This text is centered

Attributi Globali

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

Attributi Evento

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

Compatibilità Browser

ChromeFirefoxIEOperaSafariAndroid
SiSiSiSiSi?
html_tags_reference.htm
Advertisements