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.



The MathML merror element is used to display contents as error messages. In Firefox this error message is rendered similar to the typical XML error message. Note that this error is not thrown when your MathML markup is wrong or not well-formed XML. You will still get an XML parsing error (in case of the XHTML notation of MathML), which has nothing to do with merror.

Overview Table

DOM Interface


This example demostrates a simple usage of the merror element:


    <mtext> Division by zero: </mtext>
      <mn> 1 </mn>
      <mn> 0 </mn>


Related specifications

MathML 3.0
W3C Recommendation


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