W3C home > Mailing lists > Public > public-html@w3.org > September 2009

Re: what is dt?

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Fri, 18 Sep 2009 15:27:54 +0200
Message-ID: <4AB38ADA.1050207@xn--mlform-iua.no>
To: Jeremy Keith <jeremy@adactio.com>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, Maciej Stachowiak <mjs@apple.com>, Shelley Powers <shelleyp@burningbird.net>, Smylers@stripey.com, public-html@w3.org
Jeremy Keith On 09-09-18 11.24:

> Leif wrote:
>>  If you allow h1-h6 to be used as caption, then h1-h6 would get dual  
>> functions when used within a figure element.
>> To illustrate my point, we could end up with this:
>>
>> <figure>
>> <h1>Exhibit A</h1>
>> <div><h1>Madonna and child</h1>
>> <img src="foo" alt="bar">
>> </div>
>> </figure>
> 
> Good point; one I hadn't considered. You're right: this kind of puts  
> the kybosh on using any heading content for labelling purposes.

For the record, no, it doesn't. Not completely.

If you look at the draft, then it says that _unless_ there is 
<dd>, then there isn't a caption.

So we could say the same thing about <h1>: Unless there is 
"figurebody element", then the <h1> doesn't count as caption.

So, if you expand your h1 thought with e.g. a <fbody> element 
(pattern on <tbody>), then it would be possible to distinguish the 
two levels.
-- 
leif halvard silli
Received on Friday, 18 September 2009 13:28:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:48 GMT