Skip to content
Related Articles

Related Articles

Improve Article

HTML5 MathML subscriptshift Attribute

  • Last Updated : 16 Nov, 2020

The MathML subscriptshift attribute in HTML5 is used to define the minimum amount by which the subscript is shifted below the baseline of the expression. The length value can be specified using any CSS length unit. This attribute is accepted by the <mmultiscripts>, <msub>, and <msubsup> tags.


<element subscriptshift="length">

Attribute Values: This attribute has a single value as mentioned above and described below:

  • length: This value holds the amount by which the subscript would be shifted below the baseline.

The example below illustrates the MathML subscriptshift attribute:



<!DOCTYPE html>
        <h1 style="color:green">
            HTML5 MathML subscriptshift Attribute
                    <msub subscriptshift="15px">
                    <msub subscriptshift="25px">


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

  • Firefox

Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML  course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :