Il tag HTML <p>



Descrizione

Il tag HTML <p> definisce quelle porzioni di testo che solitamente vengono interpretate come paragrafi.

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>

Produrrà il seguente risultato:

This paragraph is defined using the HTML p tag

Attributi Globali

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

Attributi Specifici

Il tag HTML <p> supporta anche i seguenti attributi aggiuntivi:

AttributoValoreDescrizione
alignleft
right
center
justify
Specifica l' allineamento del testo all' interno del paragrafo.

Attributi Evento

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

Compatibilità Browser

ChromeFirefoxIEOperaSafariAndroid
SiSiSiSiSiSi
html_tags_reference.htm
Advertisements