blob: d3cb8fb32db5d78e97c72da7253b8a30b237b1ec (
plain)
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
|
---
title: <title>
slug: Web/HTML/Element/title
tags:
- Element
- HTML
- HTML Dokumentmetadaten
- Referenz
- Web
translation_of: Web/HTML/Element/title
---
<h2 id="Übersicht">Übersicht</h2>
<p>Das <strong>HTML <title> Element</strong> (<em>HTML Titel Element</em>) definiert den Titel eines Dokumentes und wird in der Titelleiste des Browsers oder in der Seiten-Registerkarte angezeigt. Der Titel kann nur Text enthalten - enthaltene Tags werden nicht interpretiert.</p>
<h2 id="Gebrauch">Gebrauch</h2>
<table class="properties">
<tbody>
<tr>
<th scope="row"><a href="/en-US/docs/HTML/Content_categories" title="HTML/Content_categories">Inhaltskategorien</a></th>
<td>Metadata Inhalt.</td>
</tr>
<tr>
<th scope="row">Erlaubter Inhalt</th>
<td>Text</td>
</tr>
<tr>
<th scope="row">Tag Auslassung</th>
<td>Wird zwingend benötigt. Achtung: Wird das <code></title></code> Tag weggelassen, kann es dazu kommen, dass der Rest der Seite vom Browser ignoriert wird.</td>
</tr>
<tr>
<th scope="row">Erlaubte Elternelemente</th>
<td>Ein {{ HTMLElement("head") }} Element, das kein anderes {{ HTMLElement("title") }} Element beinhaltet.</td>
</tr>
<tr>
<th scope="row">DOM Schnittstelle</th>
<td>{{domxref("HTMLTitleElement")}}</td>
</tr>
</tbody>
</table>
<h2 id="Attribute">Attribute</h2>
<p><span style="line-height: 21px;">Dieses Element schließt nur </span><a href="https://developer.mozilla.org/en-US/docs/HTML/Global_attributes" style="line-height: 21px;" title="HTML/Global attributes">globale Attribute</a><span style="line-height: 21px;"> ein.</span></p>
<h2 id="Beispiel">Beispiel</h2>
<pre class="brush: html"><title>Das ist der Seiten-Titel</title>
</pre>
<h2 id="Specifications" name="Specifications">Spezifikationen</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">Spezifikation</th>
<th scope="col">Status</th>
<th scope="col">Kommentar</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('HTML WHATWG', 'semantics.html#the-title-element', '<title>')}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td></td>
</tr>
<tr>
<td>{{SpecName('HTML5 W3C', 'document-metadata.html#the-title-element', '<title>')}}</td>
<td>{{Spec2('HTML5 W3C')}}</td>
<td></td>
</tr>
<tr>
<td>{{SpecName('HTML4.01', 'struct/global.html#h-7.4.2', '<title>')}}</td>
<td>{{Spec2('HTML4.01')}}</td>
<td></td>
</tr>
</tbody>
</table>
<p>{{HTMLRef}}</p>
|