HTML5 MathML close Attribute
This attribute holds the closing parentheses of any equation the same as the open attribute. This attribute is accepted by the <mfenched> tag.
Syntax:
<element close="parentheses">
Attribute value:
- Parentheses: It holds the parentheses which will be used to close any equation.
Example: Below example illustrates the close attribute in the HTML5 MathML.
HTML
<!DOCTYPE html> < html > < body > < center > < h1 style = "color:green" > w3wiki </ h1 > < h3 >HTML5 MathML close attribute</ h3 > < math > < mfenced open = "{" close = "}" separators = "" > < mrow > < msup > < mi >x</ mi > < mn >2</ mn > </ msup > < mo >+</ mo > < msup > < mi >y</ mi > < mn >2</ mn > </ msup > < mo >=</ mo > < msup > < mi >z</ mi > < mn >2</ mn > </ msup > </ mrow > </ mfenched > </ math > </ center > </ body > </ html > |
Output:
Supported browsers: The browser supported by HTML5 MathML close attribute are listed below.
- Firefox