HTML - <p> Tag
Descrizione
Il tag HTML <p> definisce un paragrafo di testo.
Esempio
<!DOCTYPE html>
<html>
<head>
<title>HTML p Tag</title>
</head>
<body>
<p>This paragraph is defined using the HTML p tag</p>
</body>
</html>
Questo produrrà il seguente risultato:
Attributi globali
Questo tag supporta tutti gli attributi globali descritti in - Riferimento agli attributi HTML
Attributi specifici
Il tag HTML <p> supporta anche i seguenti attributi aggiuntivi:
Attributo | Valore | Descrizione |
---|---|---|
allineare | giustificazione centro sinistra destra |
Specifica l'allineamento del testo all'interno di un paragrafo. |
Attributi dell'evento
Questo tag supporta tutti gli attributi degli eventi descritti in - Riferimento agli eventi HTML
Supporto browser
Cromo | Firefox | IE | musica lirica | Safari | Android |
---|---|---|---|---|---|
sì | sì | sì | sì | sì | sì |