This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

mspace

Summary

The MathML mspace element is used to display a blank space, whose size is set by its attributes.

Overview Table

DOM Interface
mathml

Examples

This example demonstrates a simple usage of the mspace element:



<math>

  <mspace depth="40px" height="20px" />

  <mspace width="100px" />

</math>

Related specifications

MathML 3.0
W3C Recommendation

Attributes

depth
The desired depth (below the baseline) of the space (see length for values and units).
height
The desired height (above the baseline) of the space (see length for values and units).
linebreak
Indicates a line-break at the space. Possible values: auto (default value), newline, nobreak, goodbreak, badbreak.
Starting with MathML 3, it is preferred to use mo to control linebreaking.
width
The desired width of the space (see length for values and units).

Attributions

  • Mozilla Developer Network cc-by-sa-small-wpd.svg: Article