HTML5 MathML lspace Attribute
This attribute holds the value of the space length before the operator default value is thickmathspace (4.32px). This attribute is accepted by two MathML tags <mo> and <mpadded>.
Syntax:
<element lspace="intheight">
Attribute values:
- lspace: This attribute is the value of the space length before the operator default value which is thickmathspace (4.32px).
Example: Below example illustrates the lspace attribute in HTML5 MathML.
HTML
<!DOCTYPE html> < html > < body style = "text-align:center;" > < h1 style = "color:green" > GeeksforGeeks </ h1 > < h3 >HTML5 MathML lspace Attribute</ h3 > < math > < mpadded lspace = "7height" > < mrow > < mrow > < msup > < mi >x</ mi > < mn >2</ mn > </ msup > < mo >+</ mo > < msup > < mi >y</ mi > < mn >2</ mn > </ msup > </ mrow > < mo >=</ mo > < msup > < mi >z</ mi > < mn >2</ mn > </ msup > </ mrow > </ mpadded > </ math > </ body > </ html > |
Output:
,
Supported browsers: The browsers supported by HTML5 MathML lspace attribute are listed below.
- Firefox