HTML5 - MathML
Advertisements
The HTML syntax of HTML5 allows for MathML elements to be used inside a document using ... tags.
Most of the web browsers can display MathML tags. If your browser does not support MathML, then I would suggest you to use latest version of Firefox.
MathML Examples
Following is a valid HTML5 document with MathML −
Pythagorean theorema2
+
b2
=
c2
This will produce the following result −
Using MathML Characters
Consider, following is the markup which makes use of the characters ⁢ −
MathML Examplesx
2
+
4
⁢
x
+
4
=
0
This would produce the following result. If you are not able to see proper result like x2 + 4x + 4 = 0, then use Firefox 3.5 or higher version.
This will produce the following result −
Matrix Presentation Examples
Consider the following example which would be used to represent a simple 2x2 matrix −
MathML ExamplesA
=
x
y
z
w
This will produce the following result −
This would produce the following result. If you are not able to see proper result, then use Firefox 3.5 or higher version.
Advertisements