How to define MathML Characters in HTML5
In this article, I will go to explain MathML Characters in HTML5.
MathML Characters in HTML5
-
MathML is an XML vocabulary for marking up mathematics.
-
MathML characters is part of HTML5.
-
MathML Presentation is primarily concerned with describing the layout of a mathematical expression.
Example
Consider, following is the markup which makes use of the characters & Invisible times
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>MathML characters Examples</title>
</head>
<body>
<h1>MathML Characters:-</h1>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<h2><mrow>
<mrow>
<msup>
<mi>y</mi>
<mn>2</mn>
</msup>
<mo>+</mo>
<mrow>
<mn>8</mn>
<mi>y</mi>
</mrow>
<mo>+</mo>
<mn>8</mn>
</mrow>
<mo>=</mo>
<mn>0</mn>
</mrow><h2>
</math>
</body>
</html>
|
This would produce following result

Further Readings
You may also want to read these related articles :
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here