aboutsummaryrefslogtreecommitdiff
path: root/files/pl/web/html/element/ruby/index.html
blob: 287fa1683bda2ae93c7b23d7e5dac93373cb3136 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
---
title: <ruby>
slug: Web/HTML/Element/ruby
translation_of: Web/HTML/Element/ruby
---
<div>{{HTMLRef}}</div>

<p>Znacznik <strong>HTML <code>&lt;ruby&gt;</code></strong> reprezentuje adnotację ruby. Adnotacje te są w celu wyświetlania wymowy znaków używanych w Azji Wschodniej.</p>

<div>{{EmbedInteractiveExample("pages/tabbed/ruby.html", "tabbed-shorter")}}</div>

<p class="hidden">Źródło tego interaktywnego przykładu jest przechowywane na repozytorium GitHub. Jeżeli chciałbyś przyczynić się do interaktywnych przykładowych projektów, sklonuj, proszę <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> i wyślij nam prośbę o dołączenie.</p>

<table class="properties">
 <tbody>
  <tr>
   <th scope="row"><a href="/en-US/docs/Web/HTML/Content_categories">Kategorie zawartości</a></th>
   <td><a href="/en-US/docs/Web/HTML/Content_categories#Flow_content">Treść przepływu</a>, treść wyrażona, treść oczywista.</td>
  </tr>
  <tr>
   <th scope="row">Dozwolona treść</th>
   <td><a href="/en-US/docs/Web/HTML/Content_categories#Phrasing_content">Treść wyrażona.</a></td>
  </tr>
  <tr>
   <th scope="row">Pominięcie znacznika</th>
   <td>{{no_tag_omission}}</td>
  </tr>
  <tr>
   <th scope="row">Dozwoleni rodzice</th>
   <td>Każdy element akceptujący <a href="/en-US/docs/HTML/Content_categories#Phrasing_content">treść wyrażoną.</a></td>
  </tr>
  <tr>
   <th scope="row">Dozwolone role ARIA</th>
   <td>Każda.</td>
  </tr>
  <tr>
   <th scope="row">Interfejs DOM</th>
   <td>{{domxref("HTMLElement")}}</td>
  </tr>
 </tbody>
</table>

<h2 id="Atrybuty">Atrybuty</h2>

<p>Ten element zawiera tylko <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes">globalne atrybuty</a>.</p>

<h2 id="Przykłady">Przykłady</h2>

<h3 id="Przykład_1_Znak">Przykład 1: Znak</h3>

<pre class="brush:html">&lt;ruby&gt;&lt;rp&gt;(&lt;/rp&gt;&lt;rt&gt;Kan&lt;/rt&gt;&lt;rp&gt;)&lt;/rp&gt;&lt;rp&gt;(&lt;/rp&gt;&lt;rt&gt;ji&lt;/rt&gt;&lt;rp&gt;)&lt;/rp&gt;
&lt;/ruby&gt;</pre>

<h3 id="Przykład_2_Wyraz">Przykład 2: Wyraz</h3>

<pre class="brush:html">&lt;ruby&gt;
  明日 &lt;rp&gt;(&lt;/rp&gt;&lt;rt&gt;Ashita&lt;/rt&gt;&lt;rp&gt;)&lt;/rp&gt;
&lt;/ruby&gt;</pre>

<h2 id="Specyfikacje">Specyfikacje</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Specyfikacja</th>
   <th scope="col">Status</th>
   <th scope="col">Uwaga</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{SpecName('HTML WHATWG', 'semantics.html#the-ruby-element', '&lt;ruby&gt;')}}</td>
   <td>{{Spec2('HTML WHATWG')}}</td>
   <td> </td>
  </tr>
  <tr>
   <td>{{SpecName('HTML5 W3C', 'text-level-semantics.html#the-ruby-element', '&lt;ruby&gt;')}}</td>
   <td>{{Spec2('HTML5 W3C')}}</td>
   <td> </td>
  </tr>
 </tbody>
</table>

<h2 id="Kompatybilność_przeglądarek">Kompatybilność przeglądarek</h2>



<div class="hidden">Tabela kompatybilności na tej stronie jest wygenerowana z zbudowanych danych. Jeżeli chciałbyś przyczynić się do danych, sprawdź, proszę <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> i wyślij nam prośbę o dołączenie.</div>

<p>{{Compat("html.elements.ruby")}}</p>

<h2 id="Zobacz_również">Zobacz również</h2>

<ul>
 <li>{{HTMLElement("rt")}}</li>
 <li>{{HTMLElement("rp")}}</li>
 <li>{{HTMLElement("rb")}}</li>
 <li>{{HTMLElement("rtc")}}</li>
 <li>{{HTMLElement("rbc")}}</li>
 <li>{{CSSxRef("text-transform")}}: full-size-kana</li>
</ul>