[whatwg] Timestamps for <dialog>s
Karl Dubost
karl at w3.org
Wed Dec 20 19:13:29 PST 2006
Le 21 déc. 2006 à 11:36, William Swanson a écrit :
> On 12/20/06, Karl Dubost <karl at w3.org> wrote:
>> An attribute to qualify semantics content seems better than adding
>> yet another element which will be more difficult to implement in
>> editing tools and more constraining.
>> [...]
>> or something like
>> <span property="dc:date" content="2006-12-04">mardi 4 décembre 2004</
>> span>
>
> The HTML 5 spec already defines a <time> element in section 3.12.11.
> According to the spec, Karl's example would be:
>
> <time datetime="2006-12-04">mardi 4 décembre 2004</time>
Ah good. I missed it. hmm which makes me think that an index of
elements and attributes would be handy. maybe an XSLT to grab the
content.
I still prefer attributes than elements. But I know some other people
prefer the opposite.
Thanks william.
--
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
QA Weblog - http://www.w3.org/QA/
*** Be Strict To Be Cool ***
More information about the whatwg
mailing list