W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] Timestamps for <dialog>s

From: Karl Dubost <karl@w3.org>
Date: Thu, 21 Dec 2006 12:13:29 +0900
Message-ID: <CA82E628-E9E5-4DB7-9DD4-B5290FF3237B@w3.org>

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 ***
Received on Wednesday, 20 December 2006 19:13:29 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC