Open In App

HTML5 MathML notation Attribute

This attribute holds symbols those are each drawn as if the others are not present, using more than one symbol at a time can occur overlapping of symbols. This attribute is accepted by <menclose> tag only.

<element notation=”actuarial|bottom|box|circle|downdiagonalstrike|left|longdiv|madruwb|phasorangle|radical|right|roundedbox|top|updiagonalarrow|updiagonalstrike|verticalstrike”



Attribute values:

Example: Below example illustrates the notation attribute in HTML5 MathML.






<!DOCTYPE html>
<html>
 
<body style="text-align:center;">
 
    <h1 style="color:green">GeeksforGeeks</h1>
     
    <h3>HTML5 MathML notation Attribute</h3>
     
    <math>
        <math>
            <menclose notation="radical"
                      mathbackground="yellow"
                      mathcolor="purple">
                <mrow>
                    <mi> x </mi>
                    <mo> + </mo>
                    <mi> y </mi>
                </mrow>
            </menclose>
            <mi>=</mi>
            <menclose notation="radical"
                    mathbackground="yellow"
                    mathcolor="purple">
                <mi>z</mi>
            </menclose>
        </math>
    </math>
</body>
</html>

Output:

Supported browser: The browsers supported by HTML5 MathML notation attribute are listed below.


Article Tags :