Hi Kenny,
Yes, that makes perfect sense. So, for example, if I want to put a single
word into a table cell - e.g. THCategory/TH - for it to be semantically
correct, should it be wrapped in P tags? It's hardly a paragraph and
contains no other inline elements.
But if I were to use - e.g. THSelect
THCategory/TH - for it to be semantically
correct, should it be wrapped in P tags? It's hardly a paragraph and
contains no other inline elements.
Nope, no P tags.
But if I were to use - e.g. THSelect a bcategory/b./TH - then I
imagine P tags would make sense.
I'd still leave out the p
They're just there for emphasis. Trust me. ;)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Kenny Graham
Sent: Friday, 28 October 2005 4:27 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Text within tables
THCategory/TH
On Fri, 28 Oct 2005 15:16:58 +1000, Paul Noone wrote:
Should be a simple enough question but should text within a table cell
ALWAYS be surrounded by P tags, or do we assume the TD to be the block
element surrounding the inline text?
No, blockquote is the only element that I can think that
The content of a table cell should only be in a paragraph element if
the content of that cell is a paragraph.
Should be a simple enough question but should text within a table cell
ALWAYS be surrounded by P tags, or do we assume the TD to be the block
element surrounding the inline text?