![]() |
VOOZH | about |
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.
Syntax:
<element selection="index">
Attribute Values: This attribute has a single value as mentioned above and described below:
The example below illustrates the MathML selection attribute:
Example:
Output:
👁 ImageSupported Browsers: The browsers supported by HTML5 MathML selection attribute are listed below: