[html5] r3638 - [a] (0) Tweak examples for <sub>/<sup> to be less specific about the semantics o [...]
whatwg at whatwg.org
whatwg at whatwg.org
Sun Aug 16 04:24:00 PDT 2009
Author: ianh
Date: 2009-08-16 04:23:59 -0700 (Sun, 16 Aug 2009)
New Revision: 3638
Modified:
index
source
Log:
[a] (0) Tweak examples for <sub>/<sup> to be less specific about the semantics of <sub> with <var>.
Modified: index
===================================================================
--- index 2009-08-16 10:43:50 UTC (rev 3637)
+++ index 2009-08-16 11:23:59 UTC (rev 3638)
@@ -16284,17 +16284,6 @@
<em>absence</em> of those elements would change the meaning of the
content.</p>
- <p>When the <code><a href=#the-sub-and-sup-elements>sub</a></code> element is used inside a
- <code><a href=#the-var-element>var</a></code> element, it represents the subscript that
- identifies the variable in a family of variables.</p>
-
- <div class=example>
- <pre><p>The coordinate of the <var>i</var>th point is
-(<var>x<sub><var>i</var></sub></var>, <var>y<sub><var>i</var></sub></var>).
-For example, the 10th point has coordinate
-(<var>x<sub>10</sub></var>, <var>y<sub>10</sub></var>).</p></pre>
- </div>
-
<p>In certain languages, superscripts are part of the typographical
conventions for some abbreviations.</p>
@@ -16304,6 +16293,21 @@
<span lang="fr"><abbr>M<sup>me</sup></abbr> Denise</span>.</p></pre>
</div>
+ <p>The <code><a href=#the-sub-and-sup-elements>sub</a></code> element can be used inside a
+ <code><a href=#the-var-element>var</a></code> element, for variables that have subscripts.</p>
+
+ <div class=example>
+
+ <p>Here, the <code><a href=#the-sub-and-sup-elements>sub</a></code> element is used to represents the
+ subscript that identifies the variable in a family of
+ variables:</p>
+
+ <pre><p>The coordinate of the <var>i</var>th point is
+(<var>x<sub><var>i</var></sub></var>, <var>y<sub><var>i</var></sub></var>).
+For example, the 10th point has coordinate
+(<var>x<sub>10</sub></var>, <var>y<sub>10</sub></var>).</p></pre>
+ </div>
+
<p>Mathematical expressions often use subscripts and superscripts.
Authors are encouraged to use MathML for marking up mathematics, but
authors may opt to use <code><a href=#the-sub-and-sup-elements>sub</a></code> and <code><a href=#the-sub-and-sup-elements>sup</a></code> if
Modified: source
===================================================================
--- source 2009-08-16 10:43:50 UTC (rev 3637)
+++ source 2009-08-16 11:23:59 UTC (rev 3638)
@@ -17399,17 +17399,6 @@
<em>absence</em> of those elements would change the meaning of the
content.</p>
- <p>When the <code>sub</code> element is used inside a
- <code>var</code> element, it represents the subscript that
- identifies the variable in a family of variables.</p>
-
- <div class="example">
- <pre><p>The coordinate of the <var>i</var>th point is
-(<var>x<sub><var>i</var></sub></var>, <var>y<sub><var>i</var></sub></var>).
-For example, the 10th point has coordinate
-(<var>x<sub>10</sub></var>, <var>y<sub>10</sub></var>).</p></pre>
- </div>
-
<p>In certain languages, superscripts are part of the typographical
conventions for some abbreviations.</p>
@@ -17419,6 +17408,21 @@
<span lang="fr"><abbr>M<sup>me</sup></abbr> Denise</span>.</p></pre>
</div>
+ <p>The <code>sub</code> element can be used inside a
+ <code>var</code> element, for variables that have subscripts.</p>
+
+ <div class="example">
+
+ <p>Here, the <code>sub</code> element is used to represents the
+ subscript that identifies the variable in a family of
+ variables:</p>
+
+ <pre><p>The coordinate of the <var>i</var>th point is
+(<var>x<sub><var>i</var></sub></var>, <var>y<sub><var>i</var></sub></var>).
+For example, the 10th point has coordinate
+(<var>x<sub>10</sub></var>, <var>y<sub>10</sub></var>).</p></pre>
+ </div>
+
<p>Mathematical expressions often use subscripts and superscripts.
Authors are encouraged to use MathML for marking up mathematics, but
authors may opt to use <code>sub</code> and <code>sup</code> if
More information about the Commit-Watchers
mailing list