MathML HTML

A Summation

With MathMl, we can specify series with index ranges as we do here for the harmonic series.

Summation.html

<!doctype html>
<html>
  <head>
    <title>XoaX.net's MathML: A Summation Example</title>
  </head>
  <body>
    <p>The harmonic series is given by
    	<math display="block">
    		<munderover>
    			<mo>&sum;</mo>
    			<mrow>
    				<mi>n</mi>
    				<mo>=</mo>
    				<mn>1</mn>
    			</mrow>
    			<mrow>
    				<mn>&infin;</mn>
    			</mrow>
    		</munderover>
    		<mfrac>
    			<mn>1</mn>
    			<mi>n</mi>
    		</mfrac>
    	</math>
    	and is divergent.
    </p>
  </body>
</html>
 

Output

 
 

© 2007–2025 XoaX.net LLC. All rights reserved.