Superscript in HTML using Mathjax



It is possible to render superscript in mathemetical equation using ^ in mathjax. Notice that you will need to use {} brackts if you wish to use more that one character in superscript.


<html>
<head>
<title>Reference Rendering division in HTML </title>
<script type="text/javascript"
  src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>

</head>
<body>
This is how we use exponents and Superscript in Mathjax

<br />
$$v(t)= ( 1-e^{-\frac{t}{RC}}).V $$
<br />


Notice that you need to include the whole thing in curly bracket. Notice that this one does not include everything in the superscript

<br /><br />
$$e^-\frac{t}{RC} $$
<br /><br />
And this one does
<br /><br />
$$e^{-\frac{t}{RC}} $$

</body>
</html>



Try this example here. and see superscript using ^ works.