Skip to content

Commit

Permalink
Fixed error in the <up> example.
Browse files Browse the repository at this point in the history
  • Loading branch information
TBarregren committed Mar 31, 2021
1 parent 1543d13 commit 06029e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ <h5><code>&lt;ins&gt;</code> and <code>&lt;del&gt;</code></h5>
<h5><code>&lt;sup&gt;</code> and <code>&lt;sub&gt;</code></h5>
<p>Use <code>&lt;sup&gt;…&lt;/sup&gt;</code> and <code>&lt;sub&gt;…&lt;/sub&gt;</code> to create <sup>superscript</sup> and <sub>subscript</sub> respectively.</p>
<ul>
<li>Use <code>&lt;sup&gt;…&lt;/sup&gt;</code> to display <code></code> as superscript. Example: The Pythagorean theorem: <p><var>a<sup>2</sup></var> + <var>b<sup>2</sup></var> = <var>c<sup>2</sup></var></p></li>
<li>Use <code>&lt;sup&gt;…&lt;/sup&gt;</code> to display <code></code> as superscript. Example: The Pythagorean theorem: <var>a</var><sup>2</sup> + <var>b</var><sup>2</sup> = <var>c</var><sup>2</sup></li>
<li>Use <code>&lt;sub&gt;…&lt;/sub&gt;</code> to display <code></code> as subscript. Example: <p>Almost every writer&#39;s favorite molecule is
C<sub>8</sub>H<sub>10</sub>N<sub>4</sub>O<sub>2</sub> – also known as “caffeine.”</p></li>

Expand Down

0 comments on commit 06029e7

Please sign in to comment.