aboutsummaryrefslogtreecommitdiff
path: root/files/de/glossary/tag/index.html
blob: 3182ae7521c2a233576d30434c41c641fc7ef0c9 (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
---
title: Tag
slug: Glossary/Tag
tags:
  - HTML
  - tag
translation_of: Glossary/Tag
---
<p>In {{Glossary("HTML")}} wird ein <strong>tag</strong> benutzt, um ein {{Glossary("element")}} zu erstellen. Der Name des HTML-Elements steht zwischen spitzen Klammern wie beispielsweise <code>&lt;p&gt;</code>, das für Paragraf steht. Wichtig ist, dass dem Namen des schließenden Tags ein Schrägstrich vorangestellt wird, so z.B. <code>&lt;/p&gt;</code>, und auch, dass in {{glossary("empty element", "empty elements")}} – leeren Elementen – ein schließendes Tag weder nötig noch erlaubt ist. Wenn {{Glossary("attribute", "attributes")}} – Attribute – nicht genannt sind, werden Standardwerte eingesetzt.</p>

<h2 id="Learn_more"><strong>Learn more</strong></h2>

<h3 id="General_Knowledge"><strong>General Knowledge</strong></h3>

<ul>
 <li>{{Interwiki("wikipedia", "HTML element")}} on Wikipedia</li>
 <li><a href="https://html.spec.whatwg.org/multipage/syntax.html#elements-2">HTML elements syntax</a> on {{glossary("WHATWG")}}</li>
</ul>

<h3 id="Technical_reference">Technical reference</h3>

<ul>
 <li><a href="/en-US/docs/Learn/HTML/Introduction_to_HTML">Introduction to HTML</a></li>
</ul>