aboutsummaryrefslogtreecommitdiff
path: root/files/de/web/mathml/element/mtd/index.html
blob: 50d1373a36ae88921ab0031b0c739bf1a34d520e (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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
---
title: <mtd>
slug: Web/MathML/Element/mtd
tags:
  - MathML
  - 'MathML:Element'
  - Referenz
translation_of: Web/MathML/Element/mtd
---
<div>{{MathMLRef}}</div>

<p class="summary">Das <code>&lt;mtd&gt;-E</code>lement erzeugt eine Zelle in einer Tabelle oder Matrix. Es ist innerhalb von {{ MathMLElement("mtr") }} erlaubt. <code>&lt;mtd&gt;</code> ähnelt dem {{ HTMLElement("td") }}-Element in <a href="/en-US/docs/HTML">HTML</a>.</p>

<h2 id="Attribute">Attribute</h2>

<dl>
 <dt id="attr-class-id-style">class, id, style</dt>
 <dd>Zur Einbindung von <a href="https://developer.mozilla.org/de/docs/Web/CSS">CSS-Stylesheets</a> und zur direkten Anwendung von CSS-Angaben auf einzelne Elemente.</dd>
 <dt id="attr-columnalign">columnalign</dt>
 <dd>Gibt die <em>horizontale</em> Ausrichtung des Inhalts der Tabellenzellen an. Dieses Attribut für die Zeile <code>&lt;mtr&gt;</code> überschreibt entsprechende Angaben für <code>columnalign</code> für das Elternelement <code>&lt;mtr&gt;</code> und dessen Elternelement <code>&lt;mtable&gt;</code>. Die Angabe mehrerer Werte ist erlaubt, diese werden in der angegebenen Reihenfolge auf die Spalten angewandt (z.B. <code>columnalign="left right center"</code>). Mögliche Werte sind <code>left</code>, <code>center</code> und <code>right</code>.</dd>
 <dt id="attr-columnspan">columnspan</dt>
 <dd>Eine nichtnegative Zahl gibt hier an, über wieviele Spalten sich diese Zelle erstreckt.</dd>
 <dt>groupalign</dt>
 <dd>{{ unimplemented_inline() }}</dd>
 <dt id="attr-href">href</dt>
 <dd>Mit diesem Attribut kann ein Link gesetzt werden.</dd>
 <dt id="attr-mathbackground">mathbackground</dt>
 <dd>Die Hintergrundfarbe. Folgende Notationen sind erlaubt: <code><a href="https://developer.mozilla.org/de/docs/Web/CSS/Farben#rgb%28%29">#rgb</a></code>, <code><a href="https://developer.mozilla.org/de/docs/Web/CSS/Farben#rgb%28%29">#rrggbb</a></code> und <a href="https://developer.mozilla.org/de/docs/Web/CSS/Farben#Werte">HTML-Farbnamen</a>.</dd>
 <dt id="attr-mathcolor">mathcolor</dt>
 <dd>Die Textfarbe. Folgende Notationen sind erlaubt: <code><a href="https://developer.mozilla.org/de/docs/Web/CSS/Farben#rgb%28%29">#rgb</a></code>, <code><a href="https://developer.mozilla.org/de/docs/Web/CSS/Farben#rgb%28%29">#rrggbb</a></code> und <a href="https://developer.mozilla.org/de/docs/Web/CSS/Farben#Werte">HTML-Farbnamen</a>.</dd>
 <dt id="attr-rowalign">rowalign</dt>
 <dd>Gibt die <em>vertikale</em> Ausrichtung des Inhalts der Tabellenzellen an. Dieses Attribut für die Zeile <code>&lt;mtr&gt;</code> überschreibt entsprechende Angaben für <code>rowalign</code> für das Elternelement <code>&lt;mtr&gt;</code> und dessen Elternelement <code>&lt;mtable&gt;</code>. Die Angabe mehrerer Werte ist erlaubt, diese werden dann in der angegebenen Reihenfolge auf die Zeilen angewandt, (z.B. <code>rowalign="top bottom axis"</code>). Mögliche Werte sind <code>axis</code>, <code>baseline</code>, <code>bottom</code>, <code>center</code> und <code>top</code>.</dd>
 <dt id="attr-rowspan">rowspan</dt>
 <dd>Eine nichtnegative Zahl gibt hier an, über wieviele Zeilen sich diese Zelle erstreckt.</dd>
</dl>

<h2 id="Spezifikationen">Spezifikationen</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Standard</th>
   <th scope="col">Status</th>
   <th scope="col">Bemerkung</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{ SpecName('MathML3', 'chapter3.html#presm.mtd', 'mtd') }}</td>
   <td>{{ Spec2('MathML3') }}</td>
   <td>Current specification</td>
  </tr>
  <tr>
   <td>{{ SpecName('MathML2', 'chapter3.html#presm.mtd', 'mtd') }}</td>
   <td>{{ Spec2('MathML2') }}</td>
   <td>Initial specification</td>
  </tr>
 </tbody>
</table>

<h2 id="Browserkompatibilität">Browserkompatibilität</h2>

<p>{{CompatibilityTable}}</p>

<div id="compat-desktop">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Merkmal</th>
   <th>Chrome</th>
   <th>Firefox (Gecko)</th>
   <th>Internet Explorer</th>
   <th>Opera</th>
   <th>Safari</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>{{CompatNo}}</td>
   <td>{{ CompatGeckoDesktop("1.0") }}</td>
   <td>{{CompatNo}}</td>
   <td>9.5</td>
   <td>5.1</td>
  </tr>
  <tr>
   <td><code>columnalign</code> and<br>
    <code>rowalign</code></td>
   <td>{{CompatNo}}</td>
   <td>{{ CompatGeckoDesktop("1.0") }}</td>
   <td>{{CompatNo}}</td>
   <td>9.5</td>
   <td>5.1</td>
  </tr>
  <tr>
   <td><code>groupalign</code></td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
  </tr>
  <tr>
   <td><code>href</code></td>
   <td>{{CompatNo}}</td>
   <td>{{ CompatGeckoDesktop("7.0") }}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
  </tr>
  <tr>
   <td><code>rowspan</code> and <code>columnspan</code></td>
   <td>{{CompatNo}}</td>
   <td>{{ CompatGeckoDesktop("1.0") }}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatVersionUnknown}}</td>
  </tr>
 </tbody>
</table>
</div>

<div id="compat-mobile">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Merkmal</th>
   <th>Android</th>
   <th>Chrome for Android</th>
   <th>Firefox Mobile (Gecko)</th>
   <th>IE Mobile</th>
   <th>Opera Mobile</th>
   <th>Safari Mobile</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatGeckoMobile("1.9.2") }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
  </tr>
  <tr>
   <td><code>columnalign</code> and<br>
    <code>rowalign</code></td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatGeckoMobile("1.9.2") }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
  </tr>
  <tr>
   <td><code>groupalign</code></td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{CompatNo}}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
  </tr>
  <tr>
   <td><code>href</code></td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatGeckoMobile("7.0") }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
  </tr>
  <tr>
   <td><code>rowspan</code> and <code>columnspan</code></td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatGeckoMobile("1.9.2") }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
  </tr>
 </tbody>
</table>
</div>

<h2 id="Siehe_auch">Siehe auch</h2>

<ul>
 <li>{{ MathMLElement("mtable") }}</li>
 <li>{{ MathMLElement("mtr") }}</li>
</ul>