MathML Introduction

  • MathML tags are similar to HTML tags. HTML tags are wont to define headings and paragraphs, within the same manner MathML uses them to explain the varied parts of a mathematical expression.
  • It stands for Mathematical terminology. It’s an application of XML for describing mathematical notations and capturing both its structure and content.
  • It’s mainly used to integrate the mathematical formulae into World Wide Web pages .
  • It’s possible to place mathematical and scientific content on the online.

Simple Example of MathML

To write down a quadratic on the web page, you want to need to use MathMl.

For Example : To write down the equation on the web page: x2 + 3x + 2 =0

Sample Code

<mrow>  
  <mrow>  
        <msup> <mi>x</mi> <mn>2</mn> </msup> <mo>+</mo>  
            <mrow>  
              <mn>3</mn>  
              <mo>⁢</mo>  
              <mi>x</mi>  
            </mrow>  
    <mo>+</mo>  
    <mn>2</mn>  
  </mrow>  
    <mo>=</mo>  
    <mn>0</mn>  
</mrow>

Output

Chockalingam