aboutsummaryrefslogtreecommitdiff
path: root/files/de/glossary/empty_element
diff options
context:
space:
mode:
authorFlorian Dieminger <me@fiji-flo.de>2021-02-11 18:20:22 +0100
committerGitHub <noreply@github.com>2021-02-11 18:20:22 +0100
commit999e51572c093be901d6c8f942feb76038ae940c (patch)
tree0b2242d6df50748abf3f11c717211e8bbcf3d45e /files/de/glossary/empty_element
parent747e709ad97c5782af29688f52c8105c08d9a323 (diff)
parent12b585b8e60a2877ff64dc6dc5ab058c43652f47 (diff)
downloadtranslated-content-999e51572c093be901d6c8f942feb76038ae940c.tar.gz
translated-content-999e51572c093be901d6c8f942feb76038ae940c.tar.bz2
translated-content-999e51572c093be901d6c8f942feb76038ae940c.zip
Merge pull request #55 from fiji-flo/unslugging-de
Unslugging de
Diffstat (limited to 'files/de/glossary/empty_element')
-rw-r--r--files/de/glossary/empty_element/index.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/files/de/glossary/empty_element/index.html b/files/de/glossary/empty_element/index.html
new file mode 100644
index 0000000000..c050756a2e
--- /dev/null
+++ b/files/de/glossary/empty_element/index.html
@@ -0,0 +1,35 @@
+---
+title: Leeres Element
+slug: Glossary/Empty_element
+tags:
+ - CodingScripting
+ - Fortgeschritten
+ - Glossar
+translation_of: Glossary/Empty_element
+original_slug: Glossary/Leeres_Element
+---
+<p>Ein <strong>Leeres Element</strong> ist ein {{Glossary("Element")}} aus HTML, SVG oder MathML, welches <strong>keine untergeordneten Elemente</strong> besitzen kann.</p>
+
+<p>Die Spezifikationen von <a href="https://html.spec.whatwg.org/multipage/">HTML</a>, <a href="https://www.w3.org/TR/SVG2/">SVG</a>, und <a href="https://www.w3.org/TR/MathML3/">MathML</a> geben sehr genau vor, welches Element was beinhalten kann. Viele Kombinationen ergeben keinen Sinn, zum Beispiel ein {{HTMLElement("audio")}} Element innerhalb eines {{HTMLElement("hr")}} Elements.</p>
+
+<p>In HTML ist es ungültig, solche Elemente zu schließen. Ein Beispiel: <code>&lt;input type="text"&gt;&lt;/input&gt;</code> ist in HTML ungültig.</p>
+
+<p>Die folgenden Elemente sind <strong>leere Elemente</strong>:</p>
+
+<ul>
+ <li>{{HTMLElement("area")}}</li>
+ <li>{{HTMLElement("base")}}</li>
+ <li>{{HTMLElement("br")}}</li>
+ <li>{{HTMLElement("col")}}</li>
+ <li>{{HTMLElement("embed")}}</li>
+ <li>{{HTMLElement("hr")}}</li>
+ <li>{{HTMLElement("img")}}</li>
+ <li>{{HTMLElement("input")}}</li>
+ <li>{{HTMLElement("keygen")}}(HTML 5.2 Entwurf entfernt)</li>
+ <li>{{HTMLElement("link")}}</li>
+ <li>{{HTMLElement("meta")}}</li>
+ <li>{{HTMLElement("param")}}</li>
+ <li>{{HTMLElement("source")}}</li>
+ <li>{{HTMLElement("track")}}</li>
+ <li>{{HTMLElement("wbr")}}</li>
+</ul>