HTML5 MathML
HTML
<script src="http://fred-wang.github.io/mathml.css/mspace.js"></script>
<math>
<mtext>Logarithms Formula</mtext>
<msqrt>
<mi>x</mi>
</msqrt>
<msub>
<mi>log</mi>
<mn>a</mn>
</msub>
<mn>b</mn>
<mo>=</mo>
<mfrac>
<mrow>
<msub>
<mi>log</mi>
<mn>x</mn>
</msub>
<mn>b</mn>
</mrow>
<mrow>
<msub>
<mi>log</mi>
<mn>x</mn>
</msub>
<mn>a</mn>
</mrow>
</mfrac>
</math>