# Writing mathematics on web pages

This article explains how to include mathematics on web pages you create manually (by writing HTML). If you want to write mathematics in the wiki, please see here instead.

## Getting Started

We recommend using MathJax for typesetting mathematics on web pages.

MathJax allows you to include mathematics in your web pages, either using LaTeX, MathML, or AsciiMath notation, and the mathematics will be processed using javascript to produce HTML, SVG or MathML equations for viewing in any modern browser.

## Using MathJax

### Step 1

Link to MathJax by putting

<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_HTML"> </script>

into the `<head>`

block of your document.

For files of the `*.imf`

kind, MathJax is already enabled.

### Step 2

Put mathematics in your web pages as described on docs.mathjax.org or in this article.