aboutsummaryrefslogtreecommitdiff
path: root/files/de/glossary/empty_element/index.html
diff options
context:
space:
mode:
authorFlorian Merz <me@fiji-flo.de>2021-02-11 14:45:38 +0100
committerFlorian Merz <me@fiji-flo.de>2021-02-11 14:45:38 +0100
commit4ab365b110f2f1f2b736326b7059244a32115089 (patch)
treec3c7c0219f728ade49a78c238c51cc0c8d06ebd6 /files/de/glossary/empty_element/index.html
parent8260a606c143e6b55a467edf017a56bdcd6cba7e (diff)
downloadtranslated-content-4ab365b110f2f1f2b736326b7059244a32115089.tar.gz
translated-content-4ab365b110f2f1f2b736326b7059244a32115089.tar.bz2
translated-content-4ab365b110f2f1f2b736326b7059244a32115089.zip
unslug de: move
Diffstat (limited to 'files/de/glossary/empty_element/index.html')
-rw-r--r--files/de/glossary/empty_element/index.html34
1 files changed, 34 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..fd95ef05a6
--- /dev/null
+++ b/files/de/glossary/empty_element/index.html
@@ -0,0 +1,34 @@
+---
+title: Leeres Element
+slug: Glossary/Leeres_Element
+tags:
+ - CodingScripting
+ - Fortgeschritten
+ - Glossar
+translation_of: Glossary/Empty_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>