MathML in HTML5 pages with Firefox and Firebug add-on

Now that Firefox 3.6 is out it is easy to experiment with 
MathML in HTML5 pages.

Just change the setting of the 
"html5.enable" entry to "true" in "about:config".
This link will help you understand what to do
http://kb.mozillazine.org/About:config

The following is a valid HTML5 document with MathML

<!DOCTYPE HTML>
<html>
  <head>
    <meta charset="UTF-8">
    <title>Pythagorean theorem </title>
  </head>
  <body>
    <math>
      <mrow>
        <msup><mi>a</mi><mn>2</mn></msup>
 <mo>+</mo>
        <msup><mi>b</mi><mn>2</mn></msup>
 <mo>=</mo>
        <msup><mi>c</mi><mn>2</mn></msup>
      </mrow>
    </math>
  </body>
</html>

Note HTML5 validators do NOT work with "math" tags at this time.

For a bigger MathML in HTML5 example try
https://eyeasme.com/Joe/MathML/HTML5_MathML_browser_test.html

The recently released Firefox add-on "Firebug" version 1.5.0 
is GREAT for doing MathML development, get it at
https://addons.mozilla.org/en-US/firefox/addon/1843

Received on Thursday, 21 January 2010 21:14:42 UTC