I've got a question about using the TIME element in HTML5.
If I was wanting to write 'last january we went to.....' would it be appropriate to wrap 'last january' in a time element?
- Code: Select all
<p>.... <time>last january</time> we went to .....</p>
or would you need to add a datetime attribute to it? but this wouldn't be precise enough for the attribute?
- Code: Select all
<p>.... <time datetime="01-2008">last january</time> we went to .....</p>
The same applies to Archive, or Category headers/lists in Blogs for example, how would these be marked up?
- Code: Select all
<h3>Archives</h3>
<ul>
<li><time>Jan 2009</time></li>
<li><time>Feb 2009</time></li>
</ul>
THanks for your help in advance.
Cheers
Rich