We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

The MathML <mtd> element represents a cell in a table or a matrix. It may only appear in a <mtr> element. This element is similar to the <td> element of HTML.

Attributes

class, id, style
Provided for use with stylesheets.
columnalign
Specifies the horizontal alignment of this cell and overrides values specified by <mtable> or <mtr>.
Possible values are: left, center and right.
columnspan
A non-negative integer value that indicates on how many columns does the cell extend.
groupalign
Unimplemented
href
Used to set a hyperlink to a specified URI.
mathbackground
The background color. You can use #rgb, #rrggbb and HTML color names.
mathcolor
The text color. You can use #rgb, #rrggbb and HTML color names.
rowalign
Specifies the vertical alignment of this cell and overrides values specified by <mtable> or <mtr>.
Possible values are: axis, baseline, bottom, center and top.
rowspan
A non-negative integer value that indicates on how many rows does the cell extend.

Specifications

Specification Status Comment
MathML 3.0
The definition of 'mtd' in that specification.
Recommendation Current specification
MathML 2.0
The definition of 'mtd' in that specification.
Recommendation Initial specification

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support No ?2 No9.55.1
columnalign No ?2 No9.55.1
columnspan No ?2 No No Yes
groupalign No ? No No No No
href No ?7 No No10
rowalign No ?2 No9.55.1
rowspan No ?2 No No Yes
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No No ?4 No No ?
columnalign No No ?4 No No ?
columnspan No No ?4 No No ?
groupalign No No ? No No No ?
href No No ?7 No No ?
rowalign No No ?4 No No ?
rowspan No No ?4 No No ?

See also

Document Tags and Contributors

Contributors to this page: ExE-Boss, Yaffle, Draussenduscher, fscholz, Sheppy
Last updated by: ExE-Boss,