aboutsummaryrefslogtreecommitdiff
path: root/files/it/web/api/document/title/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/it/web/api/document/title/index.html')
-rw-r--r--files/it/web/api/document/title/index.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/files/it/web/api/document/title/index.html b/files/it/web/api/document/title/index.html
new file mode 100644
index 0000000000..5e93fa8318
--- /dev/null
+++ b/files/it/web/api/document/title/index.html
@@ -0,0 +1,32 @@
+---
+title: document.title
+slug: Web/API/Document/title
+translation_of: Web/API/Document/title
+---
+<p>{{APIRef("DOM")}}<code>document.title</code> restituisce il titolo del documento.</p>
+
+<h3 id="Sintassi" name="Sintassi">Sintassi</h3>
+
+<pre class="eval"><i>sTitle</i> = document.title
+</pre>
+
+<h3 id="Parametri" name="Parametri">Parametri</h3>
+
+<ul>
+ <li><code>sTitle</code> รจ una stringa che contiene il titolo del documento corrente.</li>
+</ul>
+
+<h3 id="Esempio" name="Esempio">Esempio</h3>
+
+<pre>&lt;html&gt;
+ &lt;title&gt;Ciao mondo!&lt;/title&gt;
+ &lt;body&gt;
+...
+// document.title restituisce "Ciao mondo!"
+</pre>
+
+<h3 id="Specifiche" name="Specifiche">Specifiche</h3>
+
+<p><a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-18446827">DOM Level 2: title</a></p>
+
+<p>{{ languages( { "pl": "pl/DOM/document.title" } ) }}</p>