HTML5 MathML rspace Attribute
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:
- Firefox





Please Login to comment...