Open In App

HTML5 MathML movablelimits Attribute

This attribute is used to defines whether attached under- and overscripts move to sub- and superscript positions when displaystyle is false. This attribute is accepted by  <mo> tag.

Syntax:



<element movablelimits="true|false">

Attribute Values:

Below example illustrate the movablelimits in HTML5 MathML:



Example:




<!DOCTYPE html>
<html>
 
<head>
    <title>HTML5 MathML movablelimits Attribute</title>
</head>
 
<body>
    <center>
        <h1 style="color:green">
            GeeksforGeeks
        </h1>
 
        <h3>HTML5 MathML movablelimits Attribute</h3>
 
        <math>
            <mi>GeeksforGeeks</mi>
            <mo movablelimits="false">=</mo>
            <mtable displaystyle="false"
                    frame="solid" rowlines="dashed"
                    align="axis 1">
                <mtr mathbackground="green;">
                    <mtd>Course</mtd>
                    <mtd>Fee</mtd>
                </mtr>
                <mtr>
                    <mtd>
                        <mi>C++ STL</mi>
                    </mtd>
                    <mtd>
                        <mi> 1499</mi>
                    </mtd>
                </mtr>
                <mtr>
                    <mtd>
                        <mi>Placement 100 </mi>
                    </mtd>
                    <mtd>
                        <mi>9999 </mi>
                    </mtd>
                </mtr>
                <mtr>
                    <mtd>
                        <mi>DSA Foundation </mi>
                    </mtd>
                    <mtd>
                        <mi>7999</mi>
                    </mtd>
                </mtr>
            </mtable>
        </math>
    </center>
</body>
 
</html>

Output:

Supported Browsers:   The browsers supported by HTML5 MathML movablelimits attribute are listed below:


Article Tags :