[html5] sections and tables

Ricardo Tomasi ricardobeat at gmail.com
Fri Dec 10 15:47:29 PST 2010

I believe the most semantically adequate way would be to put each table on
it's own section: http://snipt.org/qkKi/

Would be nice if someone else would join in with another set of opinions,
I'm curious about the general consensus on this matter.

2010/12/10 webmaster <webmaster at tsmchughs.com>

> On 12/7/10 3:07 PM, Ricardo Tomasi wrote:
>> 2010/12/6 webmaster <webmaster at tsmchughs.com
>> <mailto:webmaster at tsmchughs.com>>
>>  <table>s cannot contain <section>s, and <tbody> does not participate
>>> in the document outline. So if I have a <table>, am I stuck using
>>> <h2> or <h3> or...? Is there anyway to use <h1> as I do in sections
>>> and have the outline work correctly?
>> In my understanding, nothing inside a table should need to appear in
>> the outline. Tables are for tabular data
> Consider this table:
> http://www.tenmercer.com/menu/dinner
> It's tabular data. Each <tbody> represents a different section of the
> table. Each has a subheading <h2>. In other pages of this site, as I update
> them to html5, I've been replacing <h2> with <h1> and putting the heading
> and its related content inside a <section> element. But I cannot do that
> with this (or with other, similar, tables). Any suggestions?
> --
> Brian
> _______________________________________________
> Help mailing list
> Help at lists.whatwg.org
> http://lists.whatwg.org/listinfo.cgi/help-whatwg.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20101210/69cecb77/attachment-0002.htm>

More information about the Help mailing list