Path: blob/main/files/en-us/web/mathml/element/mspace/index.md
6529 views
------{{MathMLRef}}
The <mspace> MathML element is used to display a blank space, whose size is set by its attributes.
Attributes
This element's attributes include the global MathML attributes as well as the following attributes:
depth: A
<length-percentage>indicating the desired depth (below the baseline) of the space.
height: A
<length-percentage>indicating the desired height (above the baseline) of the space.
width: A
<length-percentage>indicating the desired width of the space.
Note: For the
depth,height,widthattributes, some browsers may also accept legacy MathML lengths.
Examples
{{ EmbedLiveSample('mspace_example', 700, 200, "", "") }}
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
{{ MathMLElement("mpadded") }}
{{ MathMLElement("mphantom") }}