开发者

semantic xhtml markup for date on news detail page?

is there a more semantic way than this markup FOR THE DATE on news detail pages?

<h2>Lorem ipsu开发者_如何学编程m <span>12.12.2010</span></h2>
<p>Lorem ipsum dolor sit amet</p>


HTML 5 has a <time> tag. If not using HTML 5, I would do this: <span class='time'> to indicate it is similar to HTML 5 time. This would make it easy to style and find with Javascript automation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜