Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (476)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
"math" - MathML Root Element
How to use the MathML Root Element: "math"?
✍: FYIcenter.com
"math" is the MathML Root Element that allows you to start new MathML structure
to present in a mathematical express.
The syntax for "math" element is:
<math xmlns="http://www.w3.org/1998/Math/MathML" display="inline" | "block" overflow="linebreak" | "scroll" | "elide" | "truncate" | "scale"> MathML sub-elements </math>
Note that "math" element has 3 commonly used attributes:
Here is an example showing the behavior of the "display" attribute.
<p>Einstein famous equation,
<math display="inline">
<mrow>
<mi>E</mi> <mo>=</mo> <mi>m</mi><msup><mi>c</mi><mn>2</mn></msup>
</mrow>
</math>,
displayed as "inline".
</p>
<p>Einstein famous equation:
<math display="block">
<mrow>
<mi>E</mi> <mo>=</mo> <mi>m</mi><msup><mi>c</mi><mn>2</mn></msup>
</mrow>
</math>
displayed as "block".
</p>
Most browsers will display the above example as:
Einstein famous equation, , displayed as "inline".
Einstein famous equation: displayed as "block".
⇒ Use "math" as Inline Element
⇐ Insert MathML Element in HTML Documents
2026-10-07, ∼1156🔥, 0💬
Popular Posts:
I have an Apple iPad Air Model MD788C/A. Is it good? Yes. Apple iPad Air Model MD788C/A is a very go...
How to insert a dynamic field code manually in Microsoft Word? I know how the field code works. If y...
How to use my iPhone and iPad to set up and manage Chromecast device on my TV? I have a Chromecast d...
How to Install and Start Skype Meeting App in Google Chrome? You can follow this tutorial to install...
What are browser popup ads for Firefox? Browser popup ads are new browser windows opened by Websites...