HTML5

mathml inserted

Joost van Meeteren


Links

W3C - MathML Doctype Declarations.

Wikipedia EN - MathML.

Wikipedia NL - Mathematical Markup Language.


Example

MathML 2.0

a x 2 + b x + c


Source code

MathML 2.0


<math> example in HTML5:

<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>


MathML 2.0 document:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN"
            "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">

<math xmlns="http://www.w3.org/1998/Math/MathML">

<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>


Document

MathML 2.0

See original MathML example.


Joost De WebMaker
2002-2024 © Joost van Meeteren
Laatste update website: vrijdag 6 december 2024