aboutsummaryrefslogtreecommitdiff
path: root/files/pl/glossary/empty_element/index.html
diff options
context:
space:
mode:
authorFlorian Dieminger <me@fiji-flo.de>2021-02-11 18:26:59 +0100
committerGitHub <noreply@github.com>2021-02-11 18:26:59 +0100
commit7a94b4d8daf297eda6df8e5cf933f7ba159bbc76 (patch)
treec8c8a36c41beda7a4c150927b2b5c7d2a09837bd /files/pl/glossary/empty_element/index.html
parentab718192b92d5cc38c1114e055a435a6de7dd8ef (diff)
parentb8170f78422f2269dfc9df7760cc1ad51c048c00 (diff)
downloadtranslated-content-7a94b4d8daf297eda6df8e5cf933f7ba159bbc76.tar.gz
translated-content-7a94b4d8daf297eda6df8e5cf933f7ba159bbc76.tar.bz2
translated-content-7a94b4d8daf297eda6df8e5cf933f7ba159bbc76.zip
Merge pull request #38 from fiji-flo/unslugging-pl
Unslugging pl
Diffstat (limited to 'files/pl/glossary/empty_element/index.html')
-rw-r--r--files/pl/glossary/empty_element/index.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/files/pl/glossary/empty_element/index.html b/files/pl/glossary/empty_element/index.html
new file mode 100644
index 0000000000..eefa527484
--- /dev/null
+++ b/files/pl/glossary/empty_element/index.html
@@ -0,0 +1,35 @@
+---
+title: Pusty element
+slug: Glossary/Empty_element
+tags:
+ - CodingScripting
+ - Glossary
+ - Intermediate
+translation_of: Glossary/Empty_element
+original_slug: Glossary/Pusty_element
+---
+<p><strong>Pusty element</strong> to {{Glossary("element")}} HTML, SVG lub MathML który <strong>nie może</strong> mieć żadnych węzłów dziecięcych (tj. elementów zagnieżdżonych lub węzłów tekstowych).</p>
+
+<p>Specyfikacje <a href="https://html.spec.whatwg.org/multipage/">HTML</a>, <a href="https://www.w3.org/TR/SVG2/">SVG</a> i <a href="https://www.w3.org/TR/MathML3/">MathML</a> określają bardzo dokładnie, co każdy element może zawierać. Wiele kombinacji nie ma znaczenia semantycznego, na przykład element {{HTMLElement("audio")}} zagnieżdżony wewnątrz elementu {{HTMLElement("hr")}}.</p>
+
+<p>W HTML, użycie znacznika zamykającego na pustym elemencie jest zazwyczaj nieważne. Na przykład, <code>&lt;input type="text"&gt;&lt;/input&gt;</code> jest nieprawidłowy.</p>
+
+<p>Puste elementy w HTML są następujące:</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 Projekt usunięty)</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>