Putting Math on the Web Using MathML and HTML5
This describes how to put math on the Web accessibly using MathML and HTML5. For this procedure to work, your Web page must be an HTML5 document and your equation must be formatted as MathML. If your Web page is another format, like HTML 4 or XHTML, you must use a different technique.
How to Add the Math Equation to Your Page
- Create the equation in MathType
- Set your cut and copy preferences in MathType
- Go to the “Preferences” menu and select “Cut and Copy Preferences…”
- Select the “MathML or TeX” option
- Choose “MathML 2.0 (no namespace)”
- (optional) Uncheck “Include MathType data in translation
- Copy the equation from MathType
- Paste the equation into your HTML editor
- Include the following code in the <head> section of your page.
How to Get MathType
NC State users can download MathType from the NC Software Licensing page.
How to Add MathJax to Your Page
Include the following code in the <head> section of your page.
For more information, visit the MathJax Web site.
- MathML and HTML5 using MathJax.
- MathML and HTML5 native support in browsers. Note, This implementation will not work for many assistive technology users. This is for demonstration purposes only.