blob: a8e22b20273541c37cc7f6e85f9b2019757ca0a3 (
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
---
title: <ruby>
slug: Web/HTML/Element/ruby
tags:
- Elemento
- HTML
- Referencia
- Semântica HTML
- Web
translation_of: Web/HTML/Element/ruby
---
<h2 id="Summary" name="Summary">Resumo</h2>
<p>O <strong>elemento</strong> <strong>HTML <code><ruby></code> </strong> representa uma anotação ruby. Anotações ruby são para mostrar a pronúncia de caracteres do Leste Asiático</p>
<ul class="htmlelt">
<li><dfn><a href="/en-US/docs/Web/HTML/Content_categories" title="HTML/Content_categories">Categorias de conteúdo</a></dfn> <a href="/en-US/docs/Web/HTML/Content_categories#Flow_content" title="HTML/Content_categories#Phrasing_content">Conteúdo de fluxo</a>, <a href="/en-US/docs/Web/HTML/Content_categories#Phrasing_content" title="HTML/Content_categories#Phrasing_content">conteúdo fraseado</a>, conteúdo palpável.</li>
<li><dfn>Conteúdo permitido</dfn> <a href="/en-US/docs/Web/HTML/Content_categories#Phrasing_content" title="HTML/Content_categories#Phrasing_content">Conteúdo fraseado</a>.</li>
<li><dfn>Omissão de tag</dfn> {{no_tag_omission}}</li>
<li><dfn>Elementos pais permitidos</dfn>Ver prosa</li>
<li><dfn>Interface DOM</dfn> {{domxref("HTMLElement")}}</li>
</ul>
<h2 id="Attributes" name="Attributes">Atributos</h2>
<p>Esse elemento somente inclui os <a href="/pt-BR/docs/Web/HTML/Global_attributes" title="HTML/Atributos Globais">atributos globais</a>.</p>
<h2 id="Examples" name="Examples">Exemplos</h2>
<h3 id="Exemplo_1_Caracter">Exemplo 1: Caracter</h3>
<pre class="brush:html"><ruby>
漢 <rp>(</rp><rt>Kan</rt><rp>)</rp>
字 <rp>(</rp><rt>ji</rt><rp>)</rp>
</ruby></pre>
<h3 id="Exemplo_2_Palavra">Exemplo 2: Palavra</h3>
<pre class="brush:html"><ruby>
明日 <rp>(</rp><rt>Ashita</rt><rp>)</rp>
</ruby></pre>
<h2 id="Specifications" name="Specifications">Especificações</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">Especificação</th>
<th scope="col">Status</th>
<th scope="col">Comentário</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('HTML WHATWG', 'text-level-semantics.html#the-ruby-element', '<ruby>')}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td> </td>
</tr>
<tr>
<td>{{SpecName('HTML5 W3C', 'text-level-semantics.html#the-ruby-element', '<ruby>')}}</td>
<td>{{Spec2('HTML5 W3C')}}</td>
<td> </td>
</tr>
</tbody>
</table>
<h2 id="Browser_compatibility">Compatibilidade com navegadores</h2>
<p>{{CompatibilityTable}}</p>
<div id="compat-desktop">
<table class="compat-table">
<tbody>
<tr>
<th>Aspecto</th>
<th>Chrome</th>
<th>Firefox (Gecko)</th>
<th>Internet Explorer</th>
<th>Opera</th>
<th>Safari</th>
</tr>
<tr>
<td>Suporte básico</td>
<td>5.0</td>
<td>{{CompatNo}}</td>
<td>5.0</td>
<td>{{CompatNo}}</td>
<td>5.0</td>
</tr>
</tbody>
</table>
</div>
<div id="compat-mobile">
<table class="compat-table">
<tbody>
<tr>
<th>Aspecto</th>
<th>Android</th>
<th>Firefox Mobile (Gecko)</th>
<th>IE Mobile</th>
<th>Opera Mobile</th>
<th>Safari Mobile</th>
</tr>
<tr>
<td>Suporte básico</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatNo}}</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatNo}}</td>
<td>{{CompatVersionUnknown}}</td>
</tr>
</tbody>
</table>
</div>
<h2 id="See_also" name="See_also">Veja também</h2>
<ul>
<li>{{HTMLElement("rt")}}</li>
<li>{{HTMLElement("rp")}}</li>
</ul>
<p>{{ HTMLRef }}</p>
|