HTML5 MathML largeop Attribute
Last Updated :
18 May, 2021
This attribute is used to define whether the operator should be drawn larger than normal when displaystyle=”true” is set. Possible value are true or false. This attribute is accepted by the <mo> tag only.
Syntax:
<element largeop="true|false">
Attribute Values:
- true: This means operator should be drawn larger than normal when displaystyle=”true” is set.
- false: This means operator should not be drawn larger than normal when displaystyle=”true” is set.
Below example illustrate the largeop attribute in HTML5 MathML:
Example:
HTML
<!DOCTYPE html>
< html >
< head >
< title >HTML5 MathML largeop Attribute</ title >
</ head >
< body style = "text-align:center;" >
< h1 style = "color:green" >
GeeksforGeeks
</ h1 >
< h3 >HTML5 MathML largeop Attribute</ h3 >
< math displaystyle = "true" >
< mrow >
< mrow >
< msup >
< mi >x</ mi >
< mn >2</ mn >
</ msup >
< mo largeop = "false" >+</ mo >
< msup >
< mi >y</ mi >
< mn >2</ mn >
</ msup >
</ mrow >
< mo largeop = "true" >=</ mo >
< msup >
< mi >z</ mi >
< mn >2</ mn >
</ msup >
</ mrow >
</ math >
</ body >
</ html >
|
Output:
Supported Browsers: The browsers supported by HTML5 MathML largeop attribute are listed below:
Like Article
Suggest improvement
Share your thoughts in the comments
Please Login to comment...