HTML5 published and modified time

柔情痞子 提交于 2019-12-01 09:13:12

The time element can’t have a pubdate attribute. (It was part of early drafts, but it got removed.)

HTML5 itself doesn’t provide a way to specify that a date is a publication or a modification date.

If you need to specify this in a machine-readable way, you could use an appropriate vocabulary. For example, the vocabulary Schema.org defines the properties datePublished and dateModified for CreativeWork (and its sub-types).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!