Example
To display the following expression
include the following code in the HTML page:
<img src="http://www.google.com/chart?cht=tx & chf=bg,s,FFFFFF00 & chco=000000 & chl=e^z=\sum^{\infty}_{n=0}\frac{z^n}{n!}" />
Note the URL:
http://www.google.com/chart? cht = tx & chf = bg,s,FFFFFF00 & chco=000000 & chl = e^z=\sum^{\infty}_{n=0}\frac{z^n}{n!}
The arguments ChF and ChCo are optional. Default is an opaque white background with black foreground.
We have to convert the LaTeX string into a URL encoded string, because there are some invalid characters, e.g. ">" and "&".
For URL encoding, visit : HTML URL Encoding Reference
Some of the possible invalid characters and their URL encodings are given in the following table.
I got the information from the URL below:
https://sites.google.com/site/gencoreoperative/index/articles-and-hacks/google-s-latex
More examples