blob: 29fb87aa050f266e9ff4186ddc71444f36d3fe59 (
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
|
---
title: <bdo>
slug: Web/HTML/Element/bdo
tags:
- BiDi
- Element
- HTML
- Referencia
- Web
translation_of: Web/HTML/Element/bdo
---
<p id="Summary">{{HTMLRef}}</p>
<h2 id="Sumari">Sumari</h2>
<p><span id="result_box" lang="ca"><span class="alt-edited">L'<strong>element HTML <bdo></strong> (o element HTML d'anul·lació bidireccional) s'utilitza per anul·lar la direccionalitat del text actual. Fa que la direccionalidad dels caràcters sigui ignorada en favor de la direccionalidad especificada</span></span>.</p>
<h2 id="Context_d'ús">C<span class="short_text" id="result_box" lang="ca"><span>ontext</span> <span>d'ús</span></span></h2>
<table class="properties">
<tbody>
<tr>
<th scope="row"><a href="/en-US/docs/HTML/Content_categories" title="HTML/Content_categories">Categories de contingut</a></th>
<td><a href="/en-US/docs/HTML/Content_categories#Flow_content" title="HTML/Content categories#Flow content">Contingut de flux</a>, <a href="/en-US/docs/HTML/Content_categories#Phrasing_content" title="HTML/Content categories#Phrasing content">phrasing content</a>, contingut palpable.</td>
</tr>
<tr>
<th scope="row">Contingut permès</th>
<td><a href="/en-US/docs/HTML/Content_categories#Phrasing_content" title="HTML/Content_categories#Phrasing_content">Phrasing content</a>.</td>
</tr>
<tr>
<th scope="row">Omissió de l'etiqueta</th>
<td>{{no_tag_omission}}</td>
</tr>
<tr>
<th scope="row">Elements pares permesos</th>
<td>Qualsevol element que accepti <a href="/en-US/docs/HTML/Content_categories#Phrasing_content" title="HTML/Content_categories#Phrasing_content">phrasing content</a>.</td>
</tr>
<tr>
<th scope="row">Interfície DOM</th>
<td>{{domxref("HTMLElement")}} Fins Gecko 1.9.2 (Firefox 4) inclosos, Firefox implementa la interfície <a href="/en-US/docs/DOM/span" title="DOM/span"><span style="font-family: courier new;">HTMLSpanElement</span></a> per aquest element.</td>
</tr>
</tbody>
</table>
<h2 id="Atributs">Atributs</h2>
<p><span style="line-height: 21px;">Aquest element inclou els </span><a href="https://developer.mozilla.org/en-US/docs/HTML/Global_attributes" style="line-height: 21px;" title="HTML/Global attributes">atributs globals</a><span style="line-height: 21px;">.</span></p>
<dl>
<dt>{{htmlattrdef("dir")}}</dt>
<dd><span id="result_box" lang="ca"><span>La direcció</span> <span>del text</span> <span>en aquest</span> <span>element.</span> <span>Els</span> <span>valors</span> <span>possibles</span> <span>són</span><span>:</span></span>
<ul>
<li><code>ltr</code>: <span id="result_box" lang="ca"><span>Indica que</span> <span>el text</span> <span>ha d'anar</span> <span>en direcció</span> <span>d'esquerra</span> <span>a dreta</span></span>.</li>
<li><code>rtl</code>: <span id="result_box" lang="ca"><span>Indica que</span> <span>el text</span> <span>ha d'anar</span> <span>en direcció</span> <span>de dreta a esquerra</span></span>.</li>
</ul>
</dd>
</dl>
<h2 id="Exemples">Exemples</h2>
<pre class="brush: html"><!-- Switch text direction -->
<p>This text will go left to right.</p>
<p><bdo dir="rtl">This text will go right to left.</bdo></p></pre>
<h3 id="Result">Result</h3>
<p><span class="short_text" id="result_box" lang="ca"><span>Aquest</span> <span>text</span> <span>anirà</span> <span>d'esquerra</span> <span>a dreta</span></span>.</p>
<p>.tfel ot thgir og lliw txet sihT</p>
<h2 id="Notes">Notes</h2>
<p><span id="result_box" lang="ca"><span class="alt-edited">L'especificació HTML 4 no va definir events per a aquest element; es van afegir a XHTML. El més probable és que es tracti d'un descuit.</span></span></p>
<h2 id="Specifications" name="Specifications">Especificacions</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">Especificació</th>
<th scope="col">Estat</th>
<th scope="col">Comentari</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('HTML WHATWG', 'text-level-semantics.html#the-bdo-element', '<bdo>')}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td> </td>
</tr>
<tr>
<td>{{SpecName('HTML5 W3C', 'the-bdo-element.html#the-bdo-element', '<bdo>')}}</td>
<td>{{Spec2('HTML5 W3C')}}</td>
<td> </td>
</tr>
<tr>
<td>{{SpecName('HTML4.01', 'dirlang.html#h-8.2.4', '<bdo>')}}</td>
<td>{{Spec2('HTML4.01')}}</td>
<td> </td>
</tr>
</tbody>
</table>
<h2 id="Navegadors_compatibles">Navegadors compatibles</h2>
<p>{{CompatibilityTable}}</p>
<div id="compat-desktop">
<table class="compat-table" style="height: 75px; width: 902px;">
<tbody>
<tr>
<th>Caracteristica</th>
<th>Chrome</th>
<th>Firefox (Gecko)</th>
<th>Internet Explorer</th>
<th>Opera</th>
<th>Safari (WebKit)</th>
</tr>
<tr>
<td>Suport bàsic</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>Caracteristica</th>
<th>Android</th>
<th>Firefox Mobile (Gecko)</th>
<th>IE Phone</th>
<th>Opera Mobile</th>
<th>Safari Mobile</th>
</tr>
<tr>
<td>Suport bàsic</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatVersionUnknown}}</td>
</tr>
</tbody>
</table>
</div>
|