0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>Finally a new blog entry. You have been entrusted to work on learning material, which includes mathematical formulas. It is almost finished: all that you need to do now is place the superscripts and subscripts. There are special tags that are used to mark these up, and which get useful display defaults in browsers.</p>
1
<p>Finally a new blog entry. You have been entrusted to work on learning material, which includes mathematical formulas. It is almost finished: all that you need to do now is place the superscripts and subscripts. There are special tags that are used to mark these up, and which get useful display defaults in browsers.</p>
2
<p>The <sup> tag (which is short for “superscript”) displays the text as superscript, and the <sub> tag (which is short for “subscript”) displays the text as subscript.</p>
2
<p>The <sup> tag (which is short for “superscript”) displays the text as superscript, and the <sub> tag (which is short for “subscript”) displays the text as subscript.</p>
3
<p>These tags are more commonly used to highlight individual characters as opposed to entire words. They are used to indicate units of measurement or to write simple formulas. For example:</p>
3
<p>These tags are more commonly used to highlight individual characters as opposed to entire words. They are used to indicate units of measurement or to write simple formulas. For example:</p>
4
20m<sup>2</sup> H<sub>2</sub>O X<sup>3</sup>+X<sup>2</sup>=1<p>This will be displayed as follows in the browser:</p>
4
20m<sup>2</sup> H<sub>2</sub>O X<sup>3</sup>+X<sup>2</sup>=1<p>This will be displayed as follows in the browser:</p>
5
<p>20 m2H2OX3+X2=1</p>
5
<p>20 m2H2OX3+X2=1</p>
6
<p>In order to create more complex formulas, such as, for example, x2 or xn+1, you can use the tags <sup> and <sub> one inside the other.</p>
6
<p>In order to create more complex formulas, such as, for example, x2 or xn+1, you can use the tags <sup> and <sub> one inside the other.</p>
7
<p>If you need to insert a very complex formula into an HTML document, it is better to use the special markup language<a>MathML</a>.</p>
7
<p>If you need to insert a very complex formula into an HTML document, it is better to use the special markup language<a>MathML</a>.</p>