aboutsummaryrefslogtreecommitdiff
path: root/files/pl/web/html/element/span
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
commit074785cea106179cb3305637055ab0a009ca74f2 (patch)
treee6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/pl/web/html/element/span
parentda78a9e329e272dedb2400b79a3bdeebff387d47 (diff)
downloadtranslated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.gz
translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.bz2
translated-content-074785cea106179cb3305637055ab0a009ca74f2.zip
initial commit
Diffstat (limited to 'files/pl/web/html/element/span')
-rw-r--r--files/pl/web/html/element/span/index.html138
1 files changed, 138 insertions, 0 deletions
diff --git a/files/pl/web/html/element/span/index.html b/files/pl/web/html/element/span/index.html
new file mode 100644
index 0000000000..93b455274c
--- /dev/null
+++ b/files/pl/web/html/element/span/index.html
@@ -0,0 +1,138 @@
+---
+title: <span>
+slug: Web/HTML/Element/span
+translation_of: Web/HTML/Element/span
+---
+<h2 id="Summary" name="Summary">Streszczenie</h2>
+
+<p><strong>HTML <code>&lt;span&gt;</code> element</strong>  <span lang="pl">jest podstawowym wbudowanym kontenerem dla frazowania treści, który z natury nie reprezentuje niczego. Może być używany do grupowania tekstu w celu stylizacji</span> (używa atrybutu <code>class</code> lub <code>id</code>), <span lang="pl">lub z powodu posiadania takich samych atrybutów, takich jak </span><code>lang</code>.<span lang="pl"> Powinien być używany tylko wtedy, gdy nie ma zastosowania żaden inny element semantyczny</span>. <code>&lt;span&gt;</code> <span lang="pl">jest bardzo podobny do elementu</span> <code>&lt;div&gt;</code>, lecz <code>&lt;div&gt;</code> jest <a href="/en-US/docs/HTML/Block-level_elements">elementem blokowym</a>, a <code>&lt;span&gt;</code><a href="/en-US/docs/HTML/Inline_elements"> - elementem liniowym</a>.</p>
+
+<ul class="htmlelt">
+ <li><dfn><a href="/en-US/docs/HTML/Content_categories" title="HTML/Content_categories">Kategorie treści</a></dfn> <a href="/en-US/docs/HTML/Content_categories#Flow_content" title="HTML/Content categories#Flow content">Flow content</a>, <a href="/en-US/docs/HTML/Content_categories#Phrasing_content" title="HTML/Content categories#Phrasing content">phrasing content</a>.</li>
+ <li><dfn>Dozwolone treści</dfn><a href="/en-US/docs/HTML/Content_categories#Phrasing_content" title="HTML/Content categories#Phrasing content">Phrasing content</a></li>
+ <li><dfn>Pomijanie tagów</dfn> {{no_tag_omission}}</li>
+ <li><dfn>Dozwolone elementy narzędne</dfn>Any element that accepts <a href="/en-US/docs/HTML/Content_categories#Phrasing_content" title="https://developer.mozilla.org/en-US/docs/HTML/Content_categories#Phrasing_content">phrasing content</a>, or any element that accepts <a href="/en-US/docs/HTML/Content_categories#Flow_content" title="https://developer.mozilla.org/en-US/docs/HTML/Content_categories#Flow_content">flow content</a>.</li>
+ <li><dfn>Interfejs DOM</dfn> {{domxref("HTMLSpanElement")}} (before HTML 5, the interface was {{domxref("HTMLElement")}}</li>
+</ul>
+
+<h2 id="Attributes" name="Attributes">Atrybuty</h2>
+
+<p><span style="line-height: 21px;">Ten element obejmuje tylko </span><a href="https://developer.mozilla.org/en-US/docs/HTML/Global_attributes" style="line-height: 21px;" title="HTML/Global attributes">globalne atrybuty</a><span style="line-height: 21px;">.</span></p>
+
+<h2 id="Example1" name="Example1">Przykład 1</h2>
+
+<pre class="brush:html;gutter:false">&lt;p&gt;&lt;span&gt;tekst&lt;/span&gt;&lt;/p&gt;</pre>
+
+<h3 id="Result1" name="Result1">Wynik</h3>
+
+<p><span>tekst</span></p>
+
+<p> </p>
+
+<h2 id="Example2" name="Example2">Przykład 2</h2>
+
+<pre class="brush:html;gutter:false">&lt;li&gt;&lt;span&gt;
+    &lt;a href="profil.html" target="_blank"&gt;Zobacz mój profil&lt;/a&gt;
+&lt;/span&gt;&lt;/li&gt;
+</pre>
+
+<h3 id="CSS" name="CSS">CSS:</h3>
+
+<div class="note">
+<p>li span {<br>
+     background: gold;<br>
+ }</p>
+</div>
+
+<h3 id="Result2" name="Result2">Wynik</h3>
+
+<ul>
+ <li><span style="background: gold;">    <a href="portfolio.html">Zobacz mój profil</a></span></li>
+</ul>
+
+<h2 id="Dane_techniczne">Dane techniczne</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comment</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', 'text-level-semantics.html#the-span-element', '&lt;span&gt;')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td> </td>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML5 W3C', 'text-level-semantics.html#the-span-element', '&lt;span&gt;')}}</td>
+ <td>{{Spec2('HTML5 W3C')}}</td>
+ <td>The DOM interface is now {{domxref("HTMLSpanElement")}}.</td>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML4.01', 'struct/global.html#edef-SPAN', '&lt;span&gt;')}}</td>
+ <td>{{Spec2('HTML4.01')}}</td>
+ <td> </td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="See_also" name="See_also">Zgodność przeglądarek</h2>
+
+<p>{{ CompatibilityTable() }}</p>
+
+<div id="compat-desktop">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Chrome</th>
+ <th>Firefox (Gecko)</th>
+ <th>Internet Explorer</th>
+ <th>Opera</th>
+ <th>Safari (WebKit)</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{ CompatVersionUnknown() }}</td>
+ <td>{{ CompatVersionUnknown() }}</td>
+ <td>{{ CompatVersionUnknown() }}</td>
+ <td>{{ CompatVersionUnknown() }}</td>
+ <td>{{ CompatVersionUnknown() }}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<div id="compat-mobile">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Android</th>
+ <th>Firefox Mobile (Gecko)</th>
+ <th>IE Phone</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{ CompatVersionUnknown() }}</td>
+ <td>{{ CompatVersionUnknown() }}</td>
+ <td>{{ CompatVersionUnknown() }}</td>
+ <td>{{ CompatVersionUnknown() }}</td>
+ <td>{{ CompatVersionUnknown() }}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<h2 id="See_also" name="See_also">Zobacz także</h2>
+
+<ul>
+ <li>HTML {{HTMLElement("div")}} element</li>
+</ul>
+
+<div>{{HTMLRef}}</div>