HTML5 MathML selection Attribute
The MathML selection attribute in HTML5 is used to specify the child element that should be used for viewing. This value can be between 1 and the number of children of the element. The default value of this attribute is 1, which means that the first child element of all the options would be viewed by default. This attribute is accepted by the <maction> tag.
Attribute Values: This attribute has a single value as mentioned above and described below:
- index: It holds the index of the child element to be viewed.
The example below illustrates the MathML selection attribute:
Supported Browsers: The browsers supported by HTML5 MathML selection attribute are listed below:
Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML course.