- From: poot <cvsmail@w3.org>
- Date: Sat, 28 Aug 2010 09:06:28 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: new table example (whatwg r5382) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4295&r2=1.4296&f=h http://html5.org/tools/web-apps-tracker?from=5381&to=5382 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4295 retrieving revision 1.4296 diff -u -d -r1.4295 -r1.4296 --- Overview.html 27 Aug 2010 23:14:56 -0000 1.4295 +++ Overview.html 28 Aug 2010 00:00:01 -0000 1.4296 @@ -24698,6 +24698,38 @@ attribute must <a href="#reflect">reflect</a> the content attribute of the same name.</p> + </div><div class="example"> + + <p>Here is an example of a table being used to mark up a Sudoku + puzzle. Observe the lack of headers, which are not necessary in + such a table.</p> + + <pre><section> + <style scoped> + table { border-collapse: collapse; border: solid thick } + colgroup, tbody { border: solid medium; } + td { border: solid thin; height: 1.4em; width: 1.4em; text-align: center; padding: 0; } + </style> + <h1>Today's Sudoku</h1> + <table> + <colgroup><col><col><col> + <colgroup><col><col><col> + <colgroup><col><col><col> + <tbody> + <tr> <td> 1 <td> <td> 3 <td> 6 <td> <td> 4 <td> 7 <td> <td> 9 + <tr> <td> <td> 2 <td> <td> <td> 9 <td> <td> <td> 1 <td> + <tr> <td> 7 <td> <td> <td> <td> <td> <td> <td> <td> 6 + <tbody> + <tr> <td> 2 <td> <td> 4 <td> <td> 3 <td> <td> 9 <td> <td> 8 + <tr> <td> <td> <td> <td> <td> <td> <td> <td> <td> + <tr> <td> 5 <td> <td> <td> 9 <td> <td> 7 <td> <td> <td> 1 + <tbody> + <tr> <td> 6 <td> <td> <td> <td> 5 <td> <td> <td> <td> 2 + <tr> <td> <td> <td> <td> <td> 7 <td> <td> <td> <td> + <tr> <td> 9 <td> <td> <td> 8 <td> <td> 2 <td> <td> <td> 5 + </table> +</section></pre> + </div><h4 id="the-caption-element"><span class="secno">4.9.2 </span>The <dfn><code>caption</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><dl class="element"><dt>Categories</dt> <dd>None.</dd> <dt>Contexts in which this element may be used:</dt>
Received on Saturday, 28 August 2010 00:01:06 UTC