- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 25 Jul 2011 19:02:26 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv17252 Modified Files: Overview.html Log Message: expand on <var>'s definition. (whatwg r6323) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.5053 retrieving revision 1.5054 diff -u -d -r1.5053 -r1.5054 --- Overview.html 24 Jul 2011 02:28:17 -0000 1.5053 +++ Overview.html 25 Jul 2011 19:02:22 -0000 1.5054 @@ -318,7 +318,7 @@ <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> - <h2 class="no-num no-toc" id="editor-s-draft-24-july-2011">Editor's Draft 24 July 2011</h2> + <h2 class="no-num no-toc" id="editor-s-draft-25-july-2011">Editor's Draft 25 July 2011</h2> <dl><dt>Latest Published Version:</dt> <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd> <dt>Latest Editor's Draft:</dt> @@ -464,7 +464,7 @@ Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. - This specification is the 24 July 2011 Editor's Draft. + This specification is the 25 July 2011 Editor's Draft. </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 @@ -17610,10 +17610,11 @@ <dd><a href="#global-attributes">Global attributes</a></dd> <dt>DOM interface:</dt> <dd>Uses <code><a href="#htmlelement">HTMLElement</a></code>.</dd> - </dl><p>The <code><a href="#the-var-element">var</a></code> element <a href="#represents">represents</a> a - variable. This could be an actual variable in a mathematical - expression or programming context, or it could just be a term used - as a placeholder in prose.<div class="example"> + </dl><p>The <code><a href="#the-var-element">var</a></code> element <a href="#represents">represents</a> a variable. + This could be an actual variable in a mathematical expression or + programming context, an identifier representing a constant, a + function parameter, or just be a term used as a placeholder in + prose.<div class="example"> <p>In the paragraph below, the letter "n" is being used as a variable in prose:</p> <pre><p>If there are <var>n</var> pipes leading to the ice @@ -17645,6 +17646,16 @@ </figcaption> </figure></pre> + </div><div class="example"> + + <p>Here, the equation describing mass-energy equivalence is used in + a sentence, and the <code><a href="#the-var-element">var</a></code> element is used to mark the + variables and constants in that equation:</p> + + <pre><p>Then he turned to the blackboard and picked up the chalk. After a few moment's +thought, he wrote <var>E</var> = <var>m</var> <var>c</var><sup>2</sup>. The teacher +looked pleased.</p></pre> + </div><h4 id="the-samp-element"><span class="secno">4.6.13 </span>The <dfn><code>samp</code></dfn> element</h4><dl class="element"><dt>Categories</dt> <dd><a href="#flow-content">Flow content</a>.</dd> <dd><a href="#phrasing-content">Phrasing content</a>.</dd>
Received on Monday, 25 July 2011 19:02:28 UTC