MathML With HTML5
MathML With HTML5
HTML5 MathML
Advantages of Math ML
Compatible Browsers.
Math ML Specifications.
Content Markup: Used to markup the content and convey the additional
mathematical meaning with it.
2. The element <math> is the most top level element in MathML, all
MathML tags must be wrapped within this element.
The above code contains some tags, which might be unknown to some
of us. So, let’s analyze those and put some light on those tags for better
understanding.
Example 2
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
xml:lang="en">
<head>
<title>Quadratic Formula</title>
</head>
<body>
<p>Quadratic Formula:</p>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>x</mi>
<mo>=</mo>
<mfrac>
<mrow>
<mo form="prefix">-</mo>
<mi>b</mi>
<mo>±<!-- &PlusMinus; --></mo>
<msqrt>
<msup>
<mi>b</mi>
<mn>2</mn>
</msup>
<mo>-</mo>
<mn>4</mn>
<mi>a</mi>
<mi>c</mi>
</msqrt>
</mrow>
<mrow>
<mn>2</mn>
<mi>a</mi>
</mrow>
</mfrac>
</mrow>
</math>
</body>
</html>