- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 13 Apr 2010 22:57:10 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv11372
Modified Files:
Overview.html
Log Message:
Clarify <mark> vs syntax highlighting. (whatwg r5041)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4055
retrieving revision 1.4056
diff -u -d -r1.4055 -r1.4056
--- Overview.html 13 Apr 2010 22:49:10 -0000 1.4055
+++ Overview.html 13 Apr 2010 22:57:06 -0000 1.4056
@@ -16096,6 +16096,16 @@
i := <mark>1.1</mark>;
end.</code></pre></pre>
+ <p>This is separate from <em>syntax highlighting</em>, for which
+ <code><a href="#the-span-element">span</a></code> is more appropriate. Combining both, one would
+ get:</p>
+
+ <pre><p>The highlighted part below is where the error lies:</p>
+<pre><code><span class=keyword>var</span> <span class=ident>i</span>: <span class=type>Integer</span>;
+<span class=keyword>begin</span>
+ <span class=ident>i</span> := <span class=literal><mark>1.1</mark></span>;
+<span class=keyword>end</span>.</code></pre></pre>
+
</div><div class="example">
<p>This is another example showing the use of <code><a href="#the-mark-element">mark</a></code> to
Received on Tuesday, 13 April 2010 22:57:12 UTC