Page under construction Todo: Live demos. (Not all demo links below are working yet.)
Top-level <math> Element
General Layout Schemata
Scripts and Limits
Tables and Matrices
Extras (technology demos)
In general you can get additional stylistic effects by using CSS rules in the <style>...</style> element in the standard CSS way.
You can also use the <script>...</script> element in the usual (X)HTML way to perform dynamic operations in the document, including the math content (see for example the interactive sizing in the demo of mspace).
Implemented by building upon the CSS block and inline box model code. As a benefit of this, linebreaking is supported between children of the <math> element.
Some limitations exist due to the specifities of MathML. To prevent expressions from breaking in a non-math aware manner and to ensure that the stretching of stretchy operators is performed adequately, you may need to wisely group related children using <mrow>.
Implemented by leveraging on the CSS2 table model code
Some limitations exist due to the specifities of MathML
The interpretation of rowspan and columnspan is meant to correspond with the similar attributes for HTML 4.01 tables. In particular columnspan="0" (resp. rowspan="0") means that that the cell spans all columns (resp. rows) from the current column (resp. row) to the last column (resp. row) of the table.
Thanks! Please check your inbox to confirm your subscription.
If you haven’t previously confirmed a subscription to a Mozilla-related newsletter you may have to do so. Please check your inbox or your spam filter for an email from us.
Why does MDN look different?
MDN is changing to focus just on documenting web technologies. All the same great content is still here; we’re just changing some visual elements and navigation, to help you more quickly find the web technology docs you’re looking for.
But don’t worry, MDN and Mozilla are still together! In fact, we're updating MDN’s look to reflect Mozilla's new logo and colors.