Warning:
This wiki has been archived and is now read-only.
Elements/math
From HTML Wiki
< Elements
Contents
<math>
The <math> element represents the root of a MathML fragment.
HTML Reference
The HTML5 specification references the <math> element in 4.8.14 MathML.
Examples
[try it]
<math>
<mrow>
<mi>a</mi>
<mo></mo>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
<mo>+</mo>
<mi>b</mi>
<mo></mo>
<mi>x</mi>
<mo>+</mo>
<mi>c</mi>
</mrow>
</math>
HTML Attributes
see MathML 3.0 - 2.2 The Top-Level math Element.
MathML, a language for describing mathematics in XML
MathML is an XML application for describing mathematical notation and capturing both its structure and content. Only a correct HTML5 parser, using the syntax defined in 8 The HTML syntax, will be able to properly interpret MathML elements when using text/html. When using application/xhtml+xml, one must use proper namespaces to ensure that MathML elements are interpreted correctly.