![]() ![]() Minting a new element for each one would (arguably) be a lot of work, so Ian Hickson has added a generic element for these use cases instead - the element, with a required value attribute. The other problem is there are a bunch of other less common but similar kinds of data that would also benefit from being machine readable and validatable, such as weights and prices. The issues raised about by authors were mainly that it didn’t do everything: it didn’t cover ancient and vague times, time durations, and there was no “last updated” attribute equivalent to pubdate. has been pretty widely used for weblog article publication dates, and has made it into WordPress and Drupal plus being used by Google for search results. Microformats Value-Class pattern: 9am on October 5 By comparison the microformats Class-Value pattern for datetimes is clunky. has been one of the easier elements to understand for authors, as it’s semantically obvious. Having permitted dates and times specified in HTML5 (a subset of ISO 8601) allows a validator to check a datetime value is valid. The pubdate attribute indicating an article’s date of publication was added for HTML to Atom conversion (also removed from HTML5 in this change), and would make it easy for search engines to sort by date. This gives us human-readable content (“yesterday”) plus hidden machine-readable content (“”) with no accessibility problems. was originally added to allow dates and times to be machine readable, via the datetime attribute. TL DR - it looks like will remain, probably with more permissive datetimes, and will also remain, but it’ll take a little while before the dust settles. According to Anne Van Kesteren’s post on the WHATWG Weblog, will return to the WHATWG spec taking into account new use cases on the WHATWG Wiki. The WHATWG HTML: Living Standard spec is currently the opposite, still retaining but with no. ![]() : As per the HTML Working Group Chairs request, the W3 HTML5 Editor’s Draft spec has been reverted to include.
0 Comments
Leave a Reply. |