HTML5 MathML rspace Attribute
Last Updated :
18 Nov, 2020
This attribute holds the value of the space length after the operator default value thickmathspace (4.32px). This attribute is accepted by MathML <mo> tag only.
Syntax:
<element lspace="length">
Attribute Values:
- length: This attribute holds the value of the space length after the operator default value is thickmathspace (4.32px).
Below example illustrate the rspace attribute in HTML5 MathML:
Example:
HTML
<!DOCTYPE html>
< html >
< head >
< title >HTML5 MathML rspace Attribute</ title >
</ head >
< body style = "text-align:center;" >
< h1 style = "color:green" >
GeeksforGeeks
</ h1 >
< h3 >HTML5 MathML rspace Attribute</ h3 >
< math >
< mpadded >
< mrow >
< mrow >
< msup >
< mi >x</ mi >
< mn >2</ mn >
</ msup >
< mo rspace = "120px" >+</ mo >
< msup >
< mi >y</ mi >
< mn >2</ mn >
</ msup >
</ mrow >
< mo rspace = "120px" >=</ mo >
< msup >
< mi >z</ mi >
< mn >2</ mn >
</ msup >
</ mrow >
</ mpadded >
</ math >
</ body >
</ html >
|
Output:
Supported Browsers: The browsers supported by HTML5 MathML rspace attribute are listed below:
Like Article
Suggest improvement
Share your thoughts in the comments
Please Login to comment...