- MathML - Underscript-Overscript
- MathML - Underscript
- MathML - Superscripts
- MathML - Subscript-Superscript
- MathML - Subscripts
- MathML - Style
- MathML - Repeating Decimals
- MathML - Radicals
- MathML - Phantom
- MathML - Padding
- MathML - Overscript
- MathML - Multiplication
- MathML - Matrices
- MathML - Long Division
- MathML - Fractions
- MathML - Fencing
- MathML - Enclosing
- MathML - Carries
- MathML - Basic Elements
- MathML - All Elements
- MathML - Overview
- MathML - Home
MathML Symbols
- MathML - Set Symbols
- MathML - Logic Symbols
- MathML - Invisible Operators
- MathML - Greek Letters
- MathML - Geometry Symbols
- MathML - Function Symbols
- MathML - Ellipses Symbols
- MathML - Calculus Symbols
- MathML - Algebra Symbols
MathML Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
MathML - Radicals
msqrt and mroot elements construct radicals. The msqrt element constructs square roots, while the mroot element constructs radicals with indices, for example a cube root.
<msqrt> element
<msqrt> tag is used to draw square root.
Syntax
Here is the simple syntax to use this tag −
<msqrt> base </msqrt>
Parameters
Here is the description of all the parameters of this tag −
base − base expression on which the square root is to be drawn.
Attributes
Here is the description of all the attributes of this tag −
mathbackground − To specify the background color. Vapd formats are #rgb, #rrggbb and html color names.
mathcolor − To specify the text color. Vapd formats are #rgb, #rrggbb and html color names.
Example
Let s draw a square root.
<math xmlns = "http://www.w3.org/1998/Math/MathML"> <msqrt> <mn>4</mn> </msqrt> </math>
Output
<mroot> element
<mroot> tag is used to draw radicals with indices.
Syntax
Here is the simple syntax to use this tag −
<mroot> base index </mroot>
Parameters
Here is the description of all the parameters of this tag −
base − base expression on which the square root is to be drawn.
index − index of the root to be drawn.
Attributes
Here is the description of all the attributes of this tag −
mathbackground − To specify the background color. Vapd formats are #rgb, #rrggbb and html color names.
mathcolor − To specify the text color. Vapd formats are #rgb, #rrggbb and html color names.
Example
Let s draw a cube root.
<math xmlns = "http://www.w3.org/1998/Math/MathML"> <mroot> <mn>8</mn> <mn>3</mn> </mroot> </math>