1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
---
title: '<p>: The Paragraph element'
slug: Web/HTML/Element/p
tags:
- Contenuto di Raggruppamento HTML
- Elemento
- HTML
- Riferimento
- Web
translation_of: Web/HTML/Element/p
---
<div>{{HTMLRef}}</div>
<p><span class="seoSummary">L'<strong>elemento</strong> <strong>HTML <code><p></code> </strong>rappresenta un paragrafo di un testo. I paragrafi sono di solito rappresentati in modalità visiva come blocchi di testo che sono separati da blocchi adiacenti da linee di spazio verticali e/o dalla prima linea di indentazione</span>. I paragrafi sono elementi block-level.</p>
<table class="properties">
<tbody>
<tr>
<th scope="row"><a href="/en-US/docs/Web/HTML/Content_categories">Categorie di contenuto</a></th>
<td><a href="https://developer.mozilla.org/it/docs/Web/Guide/HTML/Categorie_di_contenuto#Contenuto_di_flusso">Contenuto di flusso</a>, contenuto palpabile.</td>
</tr>
<tr>
<th scope="row">Contenuto permesso</th>
<td><a href="https://developer.mozilla.org/it/docs/Web/Guide/HTML/Categorie_di_contenuto#Contenuto_di_enunciazione">Frasi.</a></td>
</tr>
<tr>
<th scope="row">Tag omessi</th>
<td>Il tag di partenza è richiesto. Il tag di fine può essere omesso se l'elemento {{HTMLElement("p")}} è immediatamente seguito da un {{HTMLElement("address")}}, {{HTMLElement("article")}}, {{HTMLElement("aside")}}, {{HTMLElement("blockquote")}}, {{HTMLElement("div")}}, {{HTMLElement("dl")}}, {{HTMLElement("fieldset")}}, {{HTMLElement("footer")}}, {{HTMLElement("form")}}, {{HTMLElement("h1")}}, {{HTMLElement("h2")}}, {{HTMLElement("h3")}}, {{HTMLElement("h4")}}, {{HTMLElement("h5")}}, {{HTMLElement("h6")}}, {{HTMLElement("header")}}, {{HTMLElement("hr")}}, {{HTMLElement("menu")}}, {{HTMLElement("nav")}}, {{HTMLElement("ol")}}, {{HTMLElement("pre")}}, {{HTMLElement("section")}}, {{HTMLElement("table")}}, {{HTMLElement("ul")}} o un altro elemento {{HTMLElement("p")}}, o se non ci sono più contenuti nell'elemento genitore ed esso non è un elemento {{HTMLElement("a")}}.</td>
</tr>
<tr>
<th scope="row">Genitori permessi</th>
<td>Qualsiasi elemento che accetta <a href="/en-US/docs/Web/HTML/Content_categories#Flow_content">flow content</a>.</td>
</tr>
<tr>
<th scope="row">Ruoli ARIA permessi</th>
<td>Qualsiasi.</td>
</tr>
<tr>
<th scope="row">Interfaccia DOM</th>
<td>{{domxref("HTMLParagraphElement")}}</td>
</tr>
</tbody>
</table>
<h2 id="Attributi">Attributi</h2>
<p>Questo elemento include i <a href="/en-US/docs/Web/HTML/Global_attributes">global attributes</a>.</p>
<div class="note">
<p><strong>Note:</strong> L'attributo <code>align</code> sui tag <code><p></code> è obsoleto e non dovrebbe essere più usato.</p>
</div>
<h2 id="Esempi">Esempi</h2>
<pre class="brush: html"><p>This is the first paragraph of text.
This is the first paragraph of text.
This is the first paragraph of text.
This is the first paragraph of text.</p>
<p>This is the second paragraph.
This is the second paragraph.
This is the second paragraph.
This is the second paragraph.</p>
</pre>
<p>Il risultato di questo codice è:</p>
<p>{{EmbedLiveSample('Esempi')}}</p>
<h2 id="Specificazioni">Specificazioni</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">Specificazione</th>
<th scope="col">Stato</th>
<th scope="col">Commenti</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('HTML WHATWG', 'semantics.html#the-p-element', '<p>')}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td>Nessun cambiamento dall'ultima istantanea W3C {{SpecName("HTML5 W3C")}}</td>
</tr>
<tr>
<td>{{SpecName('HTML5 W3C', 'grouping-content.html#the-p-element', '<p>')}}</td>
<td>{{Spec2('HTML5 W3C')}}</td>
<td>attributo <code>align</code> è obsoleto</td>
</tr>
<tr>
<td>{{SpecName('HTML4.01', 'struct/text.html#h-9.3.1', '<p>')}}</td>
<td>{{Spec2('HTML4.01')}}</td>
<td>Definizione iniziale</td>
</tr>
</tbody>
</table>
<h2 id="Compatibilità_con_i_Browser">Compatibilità con i Browser</h2>
<p>{{Compat("html.elements.p")}}</p>
<h2 id="Vedi_anche">Vedi anche</h2>
<ul>
<li>{{HTMLElement("hr")}}</li>
<li>{{HTMLElement("br")}}</li>
</ul>
|