<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.whatwg.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Oli</id>
	<title>WHATWG Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.whatwg.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Oli"/>
	<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/wiki/Special:Contributions/Oli"/>
	<updated>2026-04-21T15:29:05Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=FAQ&amp;diff=6268</id>
		<title>FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=FAQ&amp;diff=6268"/>
		<updated>2011-02-24T17:12:50Z</updated>

		<summary type="html">&lt;p&gt;Oli: /* What are the various versions of the spec? */ added a link to Web Applications 1.0 in table so column made sense&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The WHATWG ==&lt;br /&gt;
&lt;br /&gt;
=== What is the WHATWG? ===&lt;br /&gt;
&lt;br /&gt;
The Web Hypertext Application Technology Working Group (WHATWG) is a growing community of people interested in evolving the Web. It focuses primarily on the development of HTML and APIs needed for Web applications.&lt;br /&gt;
&lt;br /&gt;
The WHATWG was founded by individuals of Apple, the Mozilla Foundation, and Opera Software in 2004, after a W3C workshop. Apple, Mozilla and Opera were becoming increasingly concerned about the W3C’s direction with XHTML, lack of interest in HTML and apparent disregard for the needs of real-world authors. So, in response, these organisations set out with a mission to address these concerns and the Web Hypertext Application Technology Working Group was born.&lt;br /&gt;
&lt;br /&gt;
=== What is the WHATWG working on? === &lt;br /&gt;
&lt;br /&gt;
The WHATWG&#039;s main focus is the HTML standard. The WHATWG also works on Web Workers, Web Storage, the Web Sockets API, and Server-Sent Events, and occasionally specifications outside WHATWG space are discussed on the WHATWG mailing list and forwarded when appropriate.&lt;br /&gt;
&lt;br /&gt;
In the past it has worked on Web Forms 2.0 and Web Controls 1.0. Web Forms 2.0 has been integrated into HTML5 and Web Controls 1.0 has been abandoned for now, awaiting what [http://www.w3.org/TR/xbl/ XBL 2.0] will bring us.&lt;br /&gt;
&lt;br /&gt;
=== How can I get involved? === &lt;br /&gt;
&lt;br /&gt;
There are lots of ways you can get involved, take a look and see &#039;&#039;[[What you can do]]&#039;&#039;!&lt;br /&gt;
&lt;br /&gt;
=== Is participation free? === &lt;br /&gt;
&lt;br /&gt;
Yes, everyone can contribute. There are no memberships fees involved, it&#039;s an open process. You may easily subscribe to the WHATWG [http://whatwg.org/mailing-list mailing lists]. You may also [http://blog.whatwg.org/w3c-restarts-html-effort join the the W3C&#039;s new HTMLWG] by going through the slightly longer application process.&lt;br /&gt;
&lt;br /&gt;
== The WHATWG Process ==&lt;br /&gt;
&lt;br /&gt;
=== How does the WHATWG work? ===&lt;br /&gt;
&lt;br /&gt;
People send e-mail to [http://www.whatwg.org/mailing-list#specs the mailing list]. The editor then reads that [http://www.whatwg.org/issues/ feedback] and, taking it into account along with research, studies, and feedback from many other sources (blogs, forums, IRC, etc) makes language design decisions intended to address everyone&#039;s needs as well as possible while keeping the language consistent.&lt;br /&gt;
&lt;br /&gt;
This continues, with people sending more feedback, until nobody is able to convince the editor to change the spec any more (e.g. because two people want opposite things, and the editor has considered all the information available and decided that one of the two proposals is the better one).&lt;br /&gt;
&lt;br /&gt;
This is not a consensus-based approach -- there&#039;s no guarantee that everyone will be happy! There is also no voting.&lt;br /&gt;
&lt;br /&gt;
There is a small oversight committee (known as the &amp;quot;WHATWG members&amp;quot;, see the [http://www.whatwg.org/charter charter]) who have the authority to override or replace the editor if he starts making bad decisions.&lt;br /&gt;
&lt;br /&gt;
Currently the editor is Ian Hickson.&lt;br /&gt;
&lt;br /&gt;
=== How should tool developers, screen reader developers, browser vendors, search engine vendors, and other implementors interact with the WHATWG? ===&lt;br /&gt;
&lt;br /&gt;
Feedback on a feature should be sent to whatwg@whatwg.org (but you have to [http://whatwg.org/mailing-list#specs join the mailing list] first), or ian@hixie.ch. All feedback will receive a reply in due course.&lt;br /&gt;
&lt;br /&gt;
If you want feedback to be dealt with faster than &amp;quot;eventually&amp;quot;, e.g. because you are about to work on that feature and need the spec to be updated to take into account all previous feedback, let the editor know by either e-mailing him (ian@hixie.ch), or contacting him on [[IRC]] (Hixie on Freenode). Requests for priority feedback handling are handled confidentially so other implementors won&#039;t know that you are working on that feature.&lt;br /&gt;
&lt;br /&gt;
Questions and requests for clarifications should be asked either on the mailing list or on [[IRC]], in the #whatwg channel on Freenode.&lt;br /&gt;
&lt;br /&gt;
=== Is there a process for removing bad ideas from a specification? ===&lt;br /&gt;
&lt;br /&gt;
There are several processes by which we trim weeds from the specifications.&lt;br /&gt;
&lt;br /&gt;
* Occasionally, we go through every section and mark areas as being considered for removal. This happened early in 2008 with the data templates, repetition blocks, and DFN-element cross references, for example. If no feedback is received to give us strong reasons to keep such features, then they eventually are removed altogether.&lt;br /&gt;
&lt;br /&gt;
* Anyone can ask for a feature to be removed; such feedback is considered like all other feedback and is based on the merits of the arguments put forward.&lt;br /&gt;
&lt;br /&gt;
* If browsers don&#039;t widely implement a feature, or if authors don&#039;t use a feature, or if the uses of the feature are inconsequential or fundamentally wrong or damaging, then, after due consideration, features will be removed.&lt;br /&gt;
&lt;br /&gt;
Removing features is a critical part of spec development.&lt;br /&gt;
&lt;br /&gt;
=== Is there a process for adding new features to a specification? ===&lt;br /&gt;
&lt;br /&gt;
The process is rather informal, but basically boils down to this:&lt;br /&gt;
# Research the use cases and requirements by discussing the issue with authors and implementors.&lt;br /&gt;
# Come up with a clear description of the problem that needs to be solved.&lt;br /&gt;
# Discuss your proposal with authors and implementors. Read the responses. Listen to the feedback. Consider whether your ideas are good solutions to the use cases and requirements put forward. Discussions here should be done in public, e.g. on an archived public mailing list or documented in blogs.&lt;br /&gt;
# Get implementors to commit to implementing the feature. If you can&#039;t get several implementors to implement the feature, then get at least one user agent to implement it experimentally. Experimental implementations should be publicly available.&lt;br /&gt;
# Bring the experimental implementations to the attention of the spec&#039;s editor. Document the experience found from any implementations, the use cases and requirements that were found in the first step, the data that the design was based on.&lt;br /&gt;
# Demonstrate the importance of the problem. Demonstrate that the solution is one that will be used correctly and widely enough for it to solve the stated problem.&lt;br /&gt;
# Participate in the subsequent design discussions, considering all the proposals carefully. Typically at this step the original design gets thrown out and a significantly better design is developed, informed by the previous research, new research, and implementation and author experience with experimental implementations. Sometimes, the idea is abandoned at this stage.&lt;br /&gt;
&lt;br /&gt;
If the idea survives the above design process, the spec will be eventually updated to reflect the new design. Implementations will then be updated to reflect the new design (if they aren&#039;t, that indicates the new design is not good, and it will be reworked or removed). The spec will be updated to fix the many problems discovered by authors and implementors, over a period of several years, as more authors and implementors are exposed to the design. Eventually, a number of provably interoperable implementations are deployed. At this point development of the feature is somewhat frozen.&lt;br /&gt;
&lt;br /&gt;
Writing a comprehensive test suite is also an important step, which should start a bit before implementations start being written to the spec. (Test suites usually find as many problems with implementations as they do with the spec; they aren&#039;t just for finding browser bugs.) We don&#039;t yet have a good story with respect to test suites, sadly. If you want to help us out, let the mailing list know! Be aware, though, it&#039;s a lot of work.&lt;br /&gt;
&lt;br /&gt;
=== What does &amp;quot;Living Standard&amp;quot; mean? ===&lt;br /&gt;
&lt;br /&gt;
The WHATWG specifications are described as Living Standards. This means that they are standards that are continuously updated as they receive feedback, either from Web designers, browser vendors, tool vendors, or indeed any other interested party. It also means that new features get added to them over time, at a rate intended to keep the specifications a little ahead of the implementations but not so far ahead that the implementations give up.&lt;br /&gt;
&lt;br /&gt;
Despite the continuous maintenance, or maybe we should say &#039;&#039;as part&#039;&#039; of the continuing maintenance, a significant effort is placed on getting the specifications and the implementations to converge — the parts of the specification that are mature and stable are not changed willy nilly. Maintenance means that the days where the specifications are brought down from the mountain and remain forever locked, even if it turns out that all the browsers do something else, or even if it turns out that the specification left some detail out and the browsers all disagree on how to implement it, are gone. Instead, we now make sure to update the specifications to be detailed enough that all the implementations (not just browsers, of course) can do the same thing. Instead of ignoring what the browsers do, we fix the spec to match what the browsers do. Instead of leaving the specification ambiguous, we fix the the specification to define how things work.&lt;br /&gt;
&lt;br /&gt;
=== “Living specification” sounds like a draft that may and will change at any moment and is probably not even complete at any moment of time... ===&lt;br /&gt;
&lt;br /&gt;
That&#039;s exactly what it is. However, the specification does not change arbitrarily: we are extremely careful! As parts of the specification mature, and implementations ship, the spec cannot be changed in backwards-incompatible ways (because the implementors would never agree to break compat unless for security reasons). The specification is never complete, since the Web is continuously evolving. The last time HTML was described as &amp;quot;complete&amp;quot; was after HTML4, when development stopped for several years, leading to stagnation. (If the Web is replaced by something better and dies, the HTML spec will die with it.)&lt;br /&gt;
&lt;br /&gt;
You can see which parts of the spec are stable and which are not from the status annotations in the left margin.&lt;br /&gt;
&lt;br /&gt;
=== Don’t browsers need a target to work their implementations towards, even if it’s a snapshot that is essentially arbitrary? ===&lt;br /&gt;
&lt;br /&gt;
In practice, implementations all followed the latest specs draft anyway, not the latest snapshots. The problem with following a snapshot is that you end up following something that is &#039;&#039;known to be wrong&#039;&#039;. That&#039;s obviously not the way to get interoperability! This has in fact been a real problem at the W3C, where mistakes are found and fixed in the editors&#039; drafts of specifications, but implementors who aren&#039;t fully engaged in the process go and implement obsolete snapshots instead, including those bugs, without realising the problems, and resulting in differences between the browsers.&lt;br /&gt;
&lt;br /&gt;
===  When will it be safe to attempt to implement the spec based solely on the formal specification statements in the spec? === &lt;br /&gt;
&lt;br /&gt;
It&#039;s never truly safe; for example, if you tried to implement HTML4 according to the HTML4 specification you wouldn&#039;t have an implementation compatible with HTML4-era documents. However, if you&#039;re able to deal with minor changes, like security updates, errata-level changes, etc, then you can see which parts of the spec are stable and which are not from the status annotations in the left margin.&lt;br /&gt;
&lt;br /&gt;
In general, though, we would strongly recommend taking part in the development effort. There&#039;s a [http://www.whatwg.org/mailing-list#imps mailing list for implementors] which can help.&lt;br /&gt;
&lt;br /&gt;
=== How do we know what to use, without having some sort of snapshot that browsers can aim at and developers can evaluate? ===&lt;br /&gt;
&lt;br /&gt;
The same way you do &#039;&#039;with&#039;&#039; snapshots. Browser vendors don&#039;t look at the last snapshot, they look at the ever-progressing latest text anyway.&lt;br /&gt;
&lt;br /&gt;
No browser ever implemented all of HTML4, for example, even in the years after it was a formal Recommendation. Nor did they wait til they had done all of HTML3.2 before working on implementing HTML4. They all picked and chose the bits they thought were useful. With the Living Standard approach, we can also update the specification at the same time to remove the bits they all agree are useless, and to add new features that they think we should add (before they go off and invent their own solutions!).&lt;br /&gt;
&lt;br /&gt;
=== Isn’t the whole point of a specification to establish fixed point of reference so that all parties implementing the standard can ensure they have a common baseline of compatibility? ===&lt;br /&gt;
&lt;br /&gt;
No, the point of a specification is to provide an accurate description of what all the parties should implement. When an error is found in this description, it&#039;s better to fix it than to leave it.&lt;br /&gt;
&lt;br /&gt;
HTML4 provides an example of this. HTML4 says the default value for the &amp;quot;media&amp;quot; attribute is &amp;quot;screen&amp;quot;, even though it was long ago realised that this made no sense and the default should be &amp;quot;all&amp;quot;. The browsers all implement it as &amp;quot;all&amp;quot;. A snapshot with a known bug is not as useful as a living standard.&lt;br /&gt;
&lt;br /&gt;
=== The large Web industry with many browsers and even more producers of web pages needs to evolve in reasonably consistent steps for ubiquity and interoperability, so we need snapshots ===&lt;br /&gt;
&lt;br /&gt;
It&#039;s true that &amp;quot;the large Web industry with many&lt;br /&gt;
browsers and even more producers of web pages needs to evolve in&lt;br /&gt;
reasonably consistent steps for ubiquity and interoperability&amp;quot;. However, unchanging snapshots of specifications&lt;br /&gt;
do nothing to help with this. The implementations usually follow the&lt;br /&gt;
drafts, not the snapshots, and in the exceptions where they don&#039;t, they&lt;br /&gt;
end up &#039;&#039;failing to interoperate&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Consider what would happen if a Web browser vendor decided to implement&lt;br /&gt;
HTML4 instead of the latest state of the HTML Living Standard. That vendor would have &amp;amp;lt;link&amp;gt;&lt;br /&gt;
elements with the wrong media=&amp;quot;&amp;quot; attribute default, which would break&lt;br /&gt;
printing of most of the Web. That vendor would misparse &amp;amp;lt;p&amp;gt;&amp;amp;lt;table&amp;gt;, which&lt;br /&gt;
would result in blank lines in numerous unexpected places. That vendor&lt;br /&gt;
would find that pages that styled empty paragraphs would fail to render as&lt;br /&gt;
expected. That vendor would find that millions of pages would be&lt;br /&gt;
unparseable due to not assuming a default encoding. That vendor would find&lt;br /&gt;
that 0.2% of pages were missing images due to HTML4 not requiring the&lt;br /&gt;
&amp;amp;lt;image&amp;gt;/&amp;amp;lt;img&amp;gt; aliasing. That vendor would, in short, find that the&lt;br /&gt;
spec was not an accurate description of the Web, and would either fail in&lt;br /&gt;
the market place (due to lack of interoperability), or would go seeking&lt;br /&gt;
the latest spec, the living standard, which would dramatically improve their interoperability&lt;br /&gt;
with legacy content and existing browsers.&lt;br /&gt;
&lt;br /&gt;
Snapshots harm interoperability, they don&#039;t help it.&lt;br /&gt;
&lt;br /&gt;
=== How about support in browsers for previous versions of this “living” HTML standard? ===&lt;br /&gt;
&lt;br /&gt;
Browsers only need to implement the latest spec, and they will be compatible with the bulk of legacy content. That is an underlying principle of the entire WHATWG effort.&lt;br /&gt;
&lt;br /&gt;
To clarify, browsers today don&#039;t implement separate modes for HTML2, HTML3.2, and HTML4. They just implement one version of HTML, and it works with everything (we call this &amp;quot;backwards compatibility&amp;quot;). This is the same model followed by the HTML specification; that&#039;s why it defines the browser requirements for lots of old features that aren&#039;t allowed anymore. For example, the &amp;quot;font&amp;quot; element is no longer conforming (authors aren&#039;t supposed to use it in their pages), but the spec still defines how it works, so that old pages keep working.&lt;br /&gt;
&lt;br /&gt;
=== Will future browsers have any idea what older HTML documents mean?  ===&lt;br /&gt;
&lt;br /&gt;
Browsers do not implement HTML+, HTML2, HTML3.2 HTML4, HTML4.01, etc, as separate versions. They all just have a single implementation that covers all these versions at once. That is what the WHATWG HTML specification defines: how to write a browser (or other implementation) that handles &#039;&#039;all previous versions of HTML&#039;&#039;, as well as all the latest features.&lt;br /&gt;
&lt;br /&gt;
One of the main goals of the HTML specification and the WHATWG effort as a whole is to make it possible for archeologists hundreds of years from now to write a browser and view HTML content, regardless of when it was written. Making sure that we handle all documents is one of our most important goals. Not having versions does not preclude this.&lt;br /&gt;
&lt;br /&gt;
=== This means you will only able to add to a spec, not redefine it. ===&lt;br /&gt;
&lt;br /&gt;
Yes. That&#039;s been a guiding principle for the WHATWG since its founding. It&#039;s even in our [http://www.whatwg.org/charter charter].&lt;br /&gt;
&lt;br /&gt;
=== How can web developers know which features are safe to use? ===&lt;br /&gt;
&lt;br /&gt;
See &amp;quot;[[FAQ#When_will_we_be_able_to_start_using_these_new_features.3F|When will we be able to start using these new features?]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Browsers can currently say they implement HTML 4.01 and most know what to expect. ===&lt;br /&gt;
&lt;br /&gt;
Actually, that really isn&#039;t what happens in practice. Browsers do not implement specifications atomically, one spec at a time. They pick and chose features from the specs as they see fit. For example, back in the day, browsers implemented the absolute positioning parts of CSS2, but not &#039;display:run-in&#039;, but they still claimed to implement CSS2, and they already had parts of CSS3 implemented too, but not any part of a complete CSS3 module. Browsers claim to implement HTML4, but didn&#039;t implement all of it. Browsers moved on to HTML4 features before they had done all of HTML 3.2. And so on.&lt;br /&gt;
&lt;br /&gt;
Plus, there&#039;s the problem of bugs. Different browsers have different bugs, and nothing in the spec&#039;s version can tell you what bugs the browser has.&lt;br /&gt;
&lt;br /&gt;
Thus, in practice, you really can&#039;t tell what is implemented based on what version of what spec the vendor&#039;s marketing department claims to support. So not having a version number doesn&#039;t hurt. If anything, it helps, by removing a potentially bogus point of comparison — it means you have to compare browsers on what they really do (with a test suite), not on what version they claim to support.&lt;br /&gt;
&lt;br /&gt;
=== How are developers to determine when certain parts of their pages will become invalid? ===&lt;br /&gt;
&lt;br /&gt;
It shouldn&#039;t matter if and when old pages become invalid.&lt;br /&gt;
&lt;br /&gt;
Validity (more often referred to as document conformance in the WHATWG) is a quality assurance tool to help authors avoid mistakes. We don&#039;t make things non-conforming (invalid) for the sake of it, we use conformance as a guide for developers to help them avoid bad practices or mistakes (like typos). So there&#039;s not really any need to worry about whether old pages are conforming or not, it&#039;s only helpful when you&#039;re writing a new page, and it&#039;s always most helpful to have the latest advice. It wouldn&#039;t be useful to check for compliance against last week&#039;s rules, for instance. After all, we fixed mistakes in those rules this week!&lt;br /&gt;
&lt;br /&gt;
=== How will anything be deprecated and removed if there are no version numbers? ===&lt;br /&gt;
&lt;br /&gt;
Not having version numbers doesn&#039;t stop us from removing features. We do that regularly, as described above in &amp;quot;[[FAQ#Is_there_a_process_for_removing_bad_ideas_from_a_specification.3F|Is there a process for removing bad ideas from a specification?]]&amp;quot;. See also the &amp;quot;obsolete features&amp;quot; section in the HTML standard: http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html&lt;br /&gt;
&lt;br /&gt;
=== Will HTML become a bloated unimplementable mess as old features pile up if there are no version numbers? ===&lt;br /&gt;
&lt;br /&gt;
No. We endeavour to not make HTML unimplementable — if it can&#039;t be implemented, there&#039;s not much point having a spec! Indeed, making HTML implementable is the main goal of the specification. Certainly HTML will continue to become complicated over time, but that is unrelated to whether we have version numbers or not.&lt;br /&gt;
&lt;br /&gt;
=== Will HTML become an unusable mess as features are removed and old valid documents suddenly become invalid, if there are no version numbers? ===&lt;br /&gt;
&lt;br /&gt;
No.&lt;br /&gt;
&lt;br /&gt;
Features being invalid doesn&#039;t make them stop working — browsers are required to support old features. Even things like &amp;quot;inindex&amp;quot;, framesets, &amp;quot;font&amp;quot;, and so forth are still defined in the HTML specification, even though they&#039;re not to be used by authors. Old documents become invalid all the time, for example HTML 3.2 documents that use the &amp;quot;font&amp;quot; element were not valid HTML4 Strict documents, since it made &amp;quot;font&amp;quot; invalid (for good reasons, e.g. it tends to lead to authoring practices that harm accessibility). So even if we continue to make certain features invalid, it does not make HTML an &amp;quot;unusable mess&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== If you do not publish snapshots every now and again, you are Orwellian in your recognition of the role the mistakes of the past play into the present and the future. ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;No really, someone [http://blog.whatwg.org/html-is-the-new-html5#comment-42288 said that] on our blog.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The specification text is kept in version control and not forgotten; in fact, version control archeology is often used as part of the spec&#039;s development to figure out when things changed, why they changed, and so forth. This is significantly more helpful than arbitrarily dated snapshots, which in practice aren&#039;t studied in the same way since they don&#039;t give as detailed an answer. With version control, you can narrow down changes to discussions that happened on a particular day or even hour, with snapshots you are often limited to a resolution of months or years, depending on how often you publish the snapshots.&lt;br /&gt;
&lt;br /&gt;
You can see the version control repository for the WHATWG specifications at http://html5.org/tools/web-apps-tracker (Web interface) or http://svn.whatwg.org/webapps/ (SVN interface).&lt;br /&gt;
Every revision, however minor, is checked in separately. As of the time of this writing (January 2011), the repository has over 5700 revisions already.&lt;br /&gt;
&lt;br /&gt;
(Another way of looking at it is that we have a new snapshot with every change! Publish early, publish often, as they say.)&lt;br /&gt;
&lt;br /&gt;
== HTML5 ==&lt;br /&gt;
&lt;br /&gt;
=== What is HTML5? === &lt;br /&gt;
&lt;br /&gt;
[http://www.whatwg.org/specs/web-apps/current-work/ HTML] is the main focus of the WHATWG community. HTML5 is a snapshot of HTML, which is being worked on by the WHATWG community and also the W3C HTML Working Group.&lt;br /&gt;
&lt;br /&gt;
HTML5 is a new version of HTML4, XHTML1, and DOM Level 2 HTML addressing many of the issues of those specifications while at the same time enhancing (X)HTML to more adequately address Web applications. Besides defining a markup language that can be written in both HTML and XML (XHTML) it also defines many APIs that form the basis of the Web architecture. Some of these APIs were known as &amp;quot;DOM Level 0&amp;quot; and were never documented before. Yet they are extremely important for browser vendors to support existing Web content and for authors to be able to build Web applications.&lt;br /&gt;
&lt;br /&gt;
Going forward, the WHATWG is just working on &amp;quot;HTML&amp;quot;, without worrying about version numbers. When people talk about HTML5 in the context of the WHATWG, they usually mean just &amp;quot;the latest work on HTML&amp;quot;, not necessarily a specific version. For more details, see the section called [http://www.whatwg.org/specs/web-apps/current-work/multipage/introduction.html#is-this-html5? &amp;quot;Is this HTML5?&amp;quot;] in the specification.&lt;br /&gt;
&lt;br /&gt;
=== How can I keep track of changes to the spec? === &lt;br /&gt;
&lt;br /&gt;
There are a number of ways to track changes to the spec.&lt;br /&gt;
&lt;br /&gt;
* The Twitter feed: http://twitter.com/WHATWG&lt;br /&gt;
&lt;br /&gt;
* You may use the online [http://html5.org/tools/web-apps-tracker HTML5 Tracker]. The tool provides an online interface for selecting and comparing revisions of the spec.&lt;br /&gt;
&lt;br /&gt;
* There is a commit-watchers mailing list that is notified of every edit: http://lists.whatwg.org/listinfo.cgi/commit-watchers-whatwg.org&lt;br /&gt;
&lt;br /&gt;
* The specification is available in the [http://svn.whatwg.org/ subversion repository]. You may use any SVN client to check out the latest version and use your clients diff tools in order compare revisions and see what has been changed.&lt;br /&gt;
&lt;br /&gt;
* At a broader level, Anne is maintaining a document that gives a high-level overview of changes to HTML over the last decade or so, as well as occasionally listing changes between versions a few months apart: http://dev.w3.org/html5/html4-differences/&lt;br /&gt;
&lt;br /&gt;
* The W3C provide a Web view of their CVS mirror of the HTML5 spec: http://dev.w3.org/cvsweb/html5/spec/Overview.html&lt;br /&gt;
&lt;br /&gt;
* The W3C provide diff-marked HTML versions for each change that affect the W3C copy of the spec by e-mail: http://lists.w3.org/Archives/Public/public-html-diffs/latest&lt;br /&gt;
&lt;br /&gt;
=== What are the various versions of the spec? ===&lt;br /&gt;
&lt;br /&gt;
All active work at WHATWG is gathered in Web Applications 1.0. It is available as [http://www.whatwg.org/specs/web-apps/current-work/complete.html single-page] (&#039;&#039;very large&#039;&#039;) and &#039;&#039;&#039;[http://whatwg.org/C multi-page]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The WHATWG HTML standard is a subset containing only the HTML-specific material. It is available as [http://www.whatwg.org/specs/web-apps/current-work/ single-page]&lt;br /&gt;
and &#039;&#039;&#039;[http://whatwg.org/html multi-page]&#039;&#039;&#039;, as well as in PDF [http://www.whatwg.org/specs/web-apps/current-work/html-a4.pdf A4] and&lt;br /&gt;
[http://www.whatwg.org/specs/web-apps/current-work/html-letter.pdf Letter].&lt;br /&gt;
&lt;br /&gt;
The W3C HTML5 specification is a subset of the WHATWG HTML standard, containing only some of the more stable features.&lt;br /&gt;
&lt;br /&gt;
The following table lists in the individual specifications included:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=1 cellpadding=3 cellspacing=0&lt;br /&gt;
|-&lt;br /&gt;
!&lt;br /&gt;
! WHATWG Specifications &amp;lt;br&amp;gt; (and sections therein)&lt;br /&gt;
! Section links for &amp;lt;br&amp;gt; [http://www.whatwg.org/specs/web-apps/current-work/complete/ Web Applications 1.0]&lt;br /&gt;
! W3C/IETF Specifications&lt;br /&gt;
|-&lt;br /&gt;
! HTML5 only (excluding newer features)&lt;br /&gt;
| n/a&lt;br /&gt;
| n/a&lt;br /&gt;
| [http://dev.w3.org/html5/spec/Overview.html Single-page], [http://dev.w3.org/html5/spec/ multi-page] (HTML WG)&lt;br /&gt;
|-&lt;br /&gt;
! HTML (including newer features)&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/multipage/ WHATWG HTML]&lt;br /&gt;
| Everything not listed below!&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! Microdata&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#microdata In WHATWG HTML]&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/microdata.html Microdata]&lt;br /&gt;
| [http://dev.w3.org/html5/md/ Microdata] (HTML WG)&lt;br /&gt;
|-&lt;br /&gt;
! Canvas 2D Context&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#2dcontext In WHATWG HTML]&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/the-canvas-element.html#2dcontext 2D Context]&lt;br /&gt;
| [http://dev.w3.org/html5/2dcontext/ 2D Context] (HTML WG)&lt;br /&gt;
|-&lt;br /&gt;
! Communications - Cross-document messaging&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages In WHATWG HTML]&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/web-messaging.html#web-messaging Cross-document messaging]&lt;br /&gt;
|rowspan=2| [http://dev.w3.org/html5/postmsg/ HTML5 Web Messaging] (HTML WG)&lt;br /&gt;
|-&lt;br /&gt;
! Communications - Channel messaging&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#channel-messaging In WHATWG HTML]&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/web-messaging.html#channel-messaging Channel messaging]&lt;br /&gt;
|-&lt;br /&gt;
! Web Workers&lt;br /&gt;
| [http://www.whatwg.org/specs/web-workers/current-work/ Web Workers specification]&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/workers.html Web Workers]&lt;br /&gt;
| [http://dev.w3.org/html5/workers/ Web Workers] (WebApps WG)&lt;br /&gt;
|-&lt;br /&gt;
! Web Storage&lt;br /&gt;
| only in WA1&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/webstorage.html Web Storage]&lt;br /&gt;
| [http://dev.w3.org/html5/webstorage/ Web Storage] (WebApps WG)&lt;br /&gt;
|-&lt;br /&gt;
! Web Sockets API&lt;br /&gt;
| only in WA1&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/network.html Web Sockets API]&lt;br /&gt;
| [http://dev.w3.org/html5/websockets/ Web Sockets API] (WebApps WG)&lt;br /&gt;
|-&lt;br /&gt;
! Server-Sent Events&lt;br /&gt;
| only in WA1&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/comms.html#server-sent-events Server-sent Events]&lt;br /&gt;
| [http://dev.w3.org/html5/eventsource/ Server-sent Events] (WebApps WG)&lt;br /&gt;
|-&lt;br /&gt;
! WebVTT&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#webvtt-0 In WHATWG HTML] and informally as [http://www.whatwg.org/specs/web-apps/current-work/webvtt.html WebVTT]&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/video.html#webvtt-0 WebVTT]&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of the above are generated from one [http://www.whatwg.org/specs/web-apps/current-work/source source document].&lt;br /&gt;
&lt;br /&gt;
=== Are there versions of the specification aimed specifically at authors/implementors? ===&lt;br /&gt;
&lt;br /&gt;
Not yet, but check back soon, we&#039;re working on this.&lt;br /&gt;
&lt;br /&gt;
In the meantime, the WHATWG HTML specification (including the multipage version) can be customized to either hide or emphasize user-agent-specific material. The mode can be selected using radio buttons at the top right of those documents.&lt;br /&gt;
&lt;br /&gt;
It is also possible to toggle the mode by changing the URL, here is an example for the multipage WHATWG HTML specification:&lt;br /&gt;
&lt;br /&gt;
* As a normal spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/?style=complete&lt;br /&gt;
* Author view (hiding the user-agent-specific material): http://www.whatwg.org/specs/web-apps/current-work/multipage/?style=author&lt;br /&gt;
* Implementor view (highlighting the user-agent-specific material): http://www.whatwg.org/specs/web-apps/current-work/multipage/?style=highlight&lt;br /&gt;
&lt;br /&gt;
=== When will we be able to start using these new features? ===&lt;br /&gt;
&lt;br /&gt;
You can use some of them now. Others might take a few more years to get widely implemented. Here are some sites to help you work out what you can use:&lt;br /&gt;
&lt;br /&gt;
* http://diveintohtml5.org/&lt;br /&gt;
* http://caniuse.com/&lt;br /&gt;
* http://html5doctor.com/&lt;br /&gt;
* https://developer.mozilla.org/&lt;br /&gt;
* http://dev.opera.com/articles/html/&lt;br /&gt;
&lt;br /&gt;
If you know of any more (or if you have some yourself) then add them to the list! If there are some on the list that aren&#039;t very useful compared to the rest, then remove them!&lt;br /&gt;
&lt;br /&gt;
=== When will HTML5 be finished? ===&lt;br /&gt;
&lt;br /&gt;
The WHATWG is no longer working specifically on HTML5, so this question is no longer really pertinent. See above, under &amp;quot;[[FAQ#What_is_HTML.3F|What is HTML5?]]&amp;quot;. The real question is, when can you use new features? For an answer to &#039;that&#039; question, see &amp;quot;[[FAQ#When_will_we_be_able_to_start_using_these_new_features.3F|When will we be able to start using these new features?]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Different parts of the specification are at different maturity levels. Some sections are already relatively stable and there are implementations that are already quite close to completion, and those features can be used today (e.g. &amp;amp;lt;canvas&amp;amp;gt;). But other sections are still being actively worked on and changed regularly, or not even written yet.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You can see annotations in the margins showing the estimated stability of each section.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The possible states are:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Idea; yet to be specified&#039;&#039; -- the section is a placeholder.&lt;br /&gt;
* &#039;&#039;First draft&#039;&#039; -- An early stage.&lt;br /&gt;
* &#039;&#039;Working draft&#039;&#039; -- An early stage, but more mature than just &amp;quot;first draft&amp;quot;.&lt;br /&gt;
* &#039;&#039;Last call for comments&#039;&#039; -- The section is nearly done, but there may be feedback still to be processed. Send feedback sooner rather than later, or it might be too late.&lt;br /&gt;
* &#039;&#039;Awaiting implementation feedback&#039;&#039; -- The section is basically done, but might change in response to feedback from implementors. Major changes are unlikely past this point unless it is found that the feature, as specified, really doesn&#039;t work well.&lt;br /&gt;
* &#039;&#039;Implemented and widely deployed&#039;&#039; -- the feature is specified and complete. Once a section is interoperably implemented, it&amp;amp;#8217;s quite stable and unlikely to change significantly. Any changes to such a section would most likely only be editorial in nature, particularly if the feature is already in widespread use.&lt;br /&gt;
&lt;br /&gt;
There are also two special states:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Being edited right now&#039;&#039; -- the section is in high flux and is actively being edited. Contact Hixie on [[IRC]] if you have immediate feedback. (This state is not used often.)&lt;br /&gt;
* &#039;&#039;Being considered for removal&#039;&#039; -- for one reason or another, the section is being considered for removal. Send feedback soon to help with the decision.&lt;br /&gt;
&lt;br /&gt;
The point to all this is that you shouldn&amp;amp;#8217;t place too much weight on the status of the specification as a whole. You need to consider the stability and maturity level of each section individually.&lt;br /&gt;
&lt;br /&gt;
=== What&#039;s this I hear about 2022? ===&lt;br /&gt;
&lt;br /&gt;
Before the WHATWG transitioned to an unversioned model for HTML, when we were still working on HTML5 and still thought in terms of snapshot drafts reaching milestones as a whole rather than on a per-section basis, the editor estimated that we&#039;d reach Last Call in October 2009, Candidate Recommendation in the year 2012, and Recommendation in the year 2022 or later. This would be approximately 18-20 years of development, since beginning in mid-2004, which is on par with the amount of work that other specs of similar size and similar maturity receive to get to the same level of quality. For instance, it&#039;s in line with the timeline of CSS2/2.1. Compared to HTML4&#039;s timetable it may seem long, but consider: work on HTML4 started in the mid 90s, and HTML4 &#039;&#039;still&#039;&#039;, more than ten years later, hasn&#039;t reached the level that we want to reach with HTML5. There is no real test suite, there are many parts of the spec that are lacking real implementations, there are big parts that aren&#039;t interoperable, and the spec has hundreds if not thousands of known errors that haven&#039;t been fixed. When HTML4 came out, REC meant something much less exciting than it does now. For a spec to become a REC today, it requires two 100% complete and fully interoperable implementations, which is proven by each successfully passing literally thousands of test cases (20,000 tests for the whole spec would probably be a conservative estimate). When you consider how long it takes to write that many test cases and how long it takes to implement each feature, you&amp;amp;#8217;ll begin to understand why the time frame seems so long.&lt;br /&gt;
&lt;br /&gt;
Now that we&#039;ve moved to a more incremental model without macro-level milestones, the 2022 date is no longer relevant.&lt;br /&gt;
&lt;br /&gt;
=== What about Microsoft and Internet Explorer? === &lt;br /&gt;
&lt;br /&gt;
Microsoft has already started implementing parts of HTML5 in IE8 and is adding more to IE9.&lt;br /&gt;
&lt;br /&gt;
HTML5 is being developed with compatibility with existing browsers in mind, though (including IE). Support for many features can be simulated using JavaScript.&lt;br /&gt;
&lt;br /&gt;
=== Is design rationale documented? ===&lt;br /&gt;
&lt;br /&gt;
Sort of. Often the documentation can be found in the mailing list or IRC channel archives. Sometimes an issue was raised formally, and resolution is recorded in the issue tracker. Sometimes, there is an explanation in the specification, but doing that everywhere would make the specification huge.&lt;br /&gt;
&lt;br /&gt;
For a few cases that someone did take the time document, the information can be found at the following locations:&lt;br /&gt;
&lt;br /&gt;
* [[Rationale]] — a page that documents some reasons behind decisions in the spec, originally written and maintained by Variable. If anyone wants to help him out, try to grab someone on [[IRC]] (e.g. Hixie), we&#039;re always looking for more contributors and this is a good place to start.&lt;br /&gt;
* [[Why no namespaces]]&lt;br /&gt;
* [[Why no script implements]]&lt;br /&gt;
* [[Why not reuse legend]] or another &#039;&#039;mini-header&#039;&#039; element.&lt;br /&gt;
&lt;br /&gt;
Also see &#039;&#039;HTML feature proposals&#039;&#039; below.&lt;br /&gt;
&lt;br /&gt;
== HTML syntax issues ==&lt;br /&gt;
&lt;br /&gt;
=== Will HTML finally put an end to the XHTML as &amp;lt;code&amp;gt;text/html&amp;lt;/code&amp;gt; debate? === &lt;br /&gt;
&lt;br /&gt;
Yes. Unlike HTML4 and XHTML1, the choice of HTML or XHTML is solely dependent upon the choice of the media type, rather than the DOCTYPE. See [[HTML vs. XHTML]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== What will the DOCTYPE be? === &lt;br /&gt;
&lt;br /&gt;
In HTML:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;&amp;amp;lt;!DOCTYPE html&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In XHTML: no DOCTYPE is required and its use is generally unnecessary.  However, you may use one if you want (see the following question).  Note that the above is well-formed XML and so it may also appear in XHTML documents.&lt;br /&gt;
&lt;br /&gt;
For compatibility with legacy producers designed for outputting HTML, but which are unable to easily output the above DOCTYPE, this alternative legacy-compat version may be used instead.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;&amp;amp;lt;!DOCTYPE html SYSTEM &amp;quot;about:legacy-compat&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this is &#039;&#039;&#039;not&#039;&#039;&#039; intended for dealing with any compatibility issues with legacy browsers.  It is meant for legacy authoring tools only.&lt;br /&gt;
&lt;br /&gt;
Excluding the string &amp;lt;code&amp;gt;&amp;quot;about:legacy-compat&amp;quot;&amp;lt;/code&amp;gt;, the DOCTYPE is case insensitive in HTML.  In XHTML, it is case sensitive and must be either of the two variants given above.  For this reason, the DOCTYPEs given above are recommended to be used over other case variants, such as &amp;lt;code&amp;gt;&amp;amp;lt;!DOCTYPE HTML&amp;amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;amp;lt;!doctype html&amp;amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
These alternatives were chosen because they meet the following criteria:&lt;br /&gt;
&lt;br /&gt;
* They trigger standards mode in all current and all relevant legacy browsers.&lt;br /&gt;
* They are well-formed in XML and can appear in XHTML documents.&lt;br /&gt;
* It is possible to output at least one of the alternatives, if not both, with extant markup generators.&lt;br /&gt;
* They intentionally contain no language version identifier so the DOCTYPE will remain usable for all future revisions of HTML.&lt;br /&gt;
* The first is short and memorable to encourage its use.&lt;br /&gt;
* The legacy-compat DOCTYPE is intentionally unattractive and self descriptive of purpose to discourage unnecessary use.&lt;br /&gt;
&lt;br /&gt;
=== Under what conditions should a DOCTYPE be used in XHTML? ===&lt;br /&gt;
&lt;br /&gt;
Generally, the use of a DOCTYPE in XHTML is unnecessary. However, there are cases where inclusion of a DOCTYPE is a reasonable thing to do:&lt;br /&gt;
&lt;br /&gt;
# The document is intended to be a polyglot document that may be served as both HTML or XHTML.&lt;br /&gt;
# You wish to declare entity references for use within the document.  Note that most browsers only read the internal subset and do not retrieve external entities. (This is not compatible with HTML, and thus not suitable for polyglot documents.)&lt;br /&gt;
# You wish to use a custom DTD for DTD-based validation. But take note of [http://about.validator.nu/#faq what&#039;s wrong with DTDs].&lt;br /&gt;
&lt;br /&gt;
Fundamentally, this is an XML issue, and is not specific to XHTML.&lt;br /&gt;
&lt;br /&gt;
=== How are documents from HTML4 and earlier versions parsed? ===&lt;br /&gt;
&lt;br /&gt;
All documents with a text/html media type (that is, including those without or with an HTML 2.0, HTML 3.2, HTML4, or XHTML1 DOCTYPE) will be parsed using the same parser algorithm as defined by the HTML spec. This matches what Web browsers have done for HTML documents so far and keeps code complexity down. That in turn is good for security, maintainability, and in general keeping the amount of bugs down. The HTML syntax as now defined therefore does not require a new parser and documents with an HTML4 DOCTYPE for example will be parsed as described by the new HTML specification.&lt;br /&gt;
&lt;br /&gt;
Validators are allowed to have different code paths for previous levels of HTML.&lt;br /&gt;
&lt;br /&gt;
=== If there is no DTD, how can I validate my page? === &lt;br /&gt;
&lt;br /&gt;
With an [http://validator.whatwg.org/ HTML validator] that follows the latest specification.&lt;br /&gt;
&lt;br /&gt;
=== What is an HTML Serialization? === &lt;br /&gt;
&lt;br /&gt;
The HTML serialization refers to the syntax of an HTML document defined in the HTML specification. The syntax is inspired by the SGML syntax from earlier versions of HTML, bits of XML (e.g. allowing a trailing slash on void elements, xmlns attributes), and reality of deployed content on the Web.&lt;br /&gt;
&lt;br /&gt;
Any document whose MIME type is determined to be &amp;lt;code&amp;gt;text/html&amp;lt;/code&amp;gt; is considered to be an HTML serialization and must be parsed using an HTML parser.&lt;br /&gt;
&lt;br /&gt;
=== What is an XML (or XHTML) Serialization? === &lt;br /&gt;
&lt;br /&gt;
The XML Serialization refers to the syntax defined by XML 1.0 and Namespaces in XML 1.0. A resource that has an XML MIME type, such as &amp;lt;code&amp;gt;application/xhtml+xml&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;application/xml&amp;lt;/code&amp;gt;, is an XML document and if it uses elements in the HTML namespace, it contains XHTML. If the root element is &amp;amp;#8220;html&amp;amp;#8221; in the HTML namespace, the document is referred to as an XHTML document.&lt;br /&gt;
&lt;br /&gt;
=== What MIME type does HTML use? === &lt;br /&gt;
&lt;br /&gt;
The HTML serialization &#039;&#039;must&#039;&#039; be served using the &amp;lt;code&amp;gt;text/html&amp;lt;/code&amp;gt; MIME type.&lt;br /&gt;
&lt;br /&gt;
The XHTML serialization &#039;&#039;must&#039;&#039; be served using an XML MIME type, such as &amp;lt;code&amp;gt;application/xhtml+xml&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;application/xml&amp;lt;/code&amp;gt;. Unlike the situation as of XHTML1, the HTML specification says that XHTML must no longer be served as &amp;lt;code&amp;gt;text/html&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the incorrect MIME type (&amp;lt;code&amp;gt;text/html&amp;lt;/code&amp;gt;) for XHTML will cause the document to be parsed according to parsing requirements for HTML. In other words, it will be treated as tag soup. Ensuring the use of an XML MIME type is the only way to ensure that browsers handle the document as XML.&lt;br /&gt;
&lt;br /&gt;
=== Should I close empty elements with &amp;lt;code&amp;gt;/&amp;amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;amp;gt;&amp;lt;/code&amp;gt;? === &lt;br /&gt;
&lt;br /&gt;
Void elements in HTML (e.g. the &amp;lt;code&amp;gt;br&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;img&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;input&amp;lt;/code&amp;gt; elements) do not require a trailing slash. e.g. Instead of writing &amp;lt;code&amp;gt;&amp;amp;lt;br /&amp;amp;gt;&amp;lt;/code&amp;gt;, you only need to write &amp;lt;code&amp;gt;&amp;amp;lt;br&amp;amp;gt;&amp;lt;/code&amp;gt;. This is the same as in HTML4. However, due to the widespread attempts to use XHTML1, there are a significant number of pages using the trailing slash. Because of this, the trailing slash syntax has been permitted on void elements in HTML in order to ease migration from XHTML1 back to HTML.&lt;br /&gt;
&lt;br /&gt;
The new HTML specification also introduces the ability to embed MathML elements. On elements inside a &amp;lt;code&amp;gt;math&amp;lt;/code&amp;gt; element the trailing slash works just like it does in XML. I.e. it closes the element. This is only inside that context however, it does not work for normal HTML elements.&lt;br /&gt;
&lt;br /&gt;
=== If I&amp;amp;#8217;m careful with the syntax I use in my HTML document, can I process it with an XML parser? === &lt;br /&gt;
&lt;br /&gt;
Yes. Find guidance in [[HTML_vs._XHTML#Differences_Between_HTML_and_XHTML|HTML vs. XHTML]] and [http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html Polyglot Markup: HTML-Compatible XHTML Documents].&lt;br /&gt;
&lt;br /&gt;
A word of warning though. You have to be &#039;&#039;&#039;really&#039;&#039;&#039; careful for this to work, and it&#039;s almost certainly not worth it. You&#039;d be better off just using an HTML-to-XML parser. That way you can just use HTML normally while still using XML pipeline tools.&lt;br /&gt;
&lt;br /&gt;
=== What is the namespace declaration? === &lt;br /&gt;
&lt;br /&gt;
In XHTML, you are required to specify the [http://www.w3schools.com/xml/xml_namespaces.asp namespace.]&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
In HTML, the &amp;lt;code&amp;gt;xmlns&amp;lt;/code&amp;gt; attribute is currently allowed on any HTML element, but only if it has the value &amp;amp;#8220;&amp;lt;code&amp;gt;http://www.w3.org/1999/xhtml&amp;lt;/code&amp;gt;&amp;amp;#8220;. It doesn&amp;amp;#8217;t do anything at all, it is merely allowed to ease migration from XHTML1. It is not actually a namespace declaration in HTML, because HTML doesn&amp;amp;#8217;t yet support namespaces.  See the question [[FAQ#Will_there_be_support_for_namespaces_in_HTML.3F|will there be support for namespaces in HTML]].&lt;br /&gt;
&lt;br /&gt;
=== Will there be support for namespaces in HTML? === &lt;br /&gt;
&lt;br /&gt;
HTML is being defined in terms of the DOM and during parsing of a text/html all HTML elements will be automatically put in the HTML namespace, &amp;lt;code&amp;gt;http://www.w3.org/1999/xhtml&amp;lt;/code&amp;gt;. However, unlike the XHTML serialization, there is no real namespace syntax available in the HTML serialization (see previous question). In other words, you do not need to declare the namespace in your HTML markup, as you do in XHTML. However, you are permitted to put an &amp;lt;code&amp;gt;xmlns&amp;lt;/code&amp;gt; attribute on each HTML element as long as the namespace is &amp;lt;code&amp;gt;http://www.w3.org/1999/xhtml&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In addition, the HTML syntax provides for a way to embed elements from MathML and SVG. Elements placed inside the container element &amp;lt;code&amp;gt;math&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;svg&amp;lt;/code&amp;gt; will automatically be put in the MathML namespace or the SVG namespace, respectively, by the parser. Namespace syntax is not required, but again an &amp;lt;code&amp;gt;xmlns&amp;lt;/code&amp;gt; attribute is allowed if its value is the right namespace.&lt;br /&gt;
&lt;br /&gt;
In conclusion, while HTML does not allow the XML namespace syntax, there is a way to embed MathML and SVG and the xmlns attribute can be used on any element under the given constraints, in a way that is reasonably compatible on the DOM level.&lt;br /&gt;
&lt;br /&gt;
=== How do I specify the character encoding? === &lt;br /&gt;
&lt;br /&gt;
For HTML, it is strongly recommended that you specify the encoding using the HTTP &amp;lt;code&amp;gt;Content-Type&amp;lt;/code&amp;gt; header. If you are unable to [http://www.w3.org/International/O-HTTP-charset configure your server] to send the correct headers, then you may use the &amp;lt;code&amp;gt;meta&amp;lt;/code&amp;gt; element:&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;meta charset=&amp;quot;UTF-8&amp;quot;&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following restrictions apply to character encoding declarations:&lt;br /&gt;
&lt;br /&gt;
* The character encoding name given must be the name of the character encoding used to serialize the file.&lt;br /&gt;
* The value must be a [http://www.iana.org/assignments/character-sets valid character encoding name], and must be the preferred name for that encoding.&lt;br /&gt;
* The character encoding declaration must be serialized without the use of character references or character escapes of any kind.&lt;br /&gt;
* The &amp;lt;code&amp;gt;meta&amp;lt;/code&amp;gt; element used for this purpose must occur within the first 512 bytes of the file.  It is considered good practice for this to be the first child of the &amp;lt;code&amp;gt;head&amp;lt;/code&amp;gt; element so that it is as close to the beginning of the file as possible.&lt;br /&gt;
&lt;br /&gt;
Note that this &amp;lt;code&amp;gt;meta&amp;lt;/code&amp;gt; element is different from HTML 4, though it is compatible with many browsers because of the way encoding detection has been implemented.&lt;br /&gt;
&lt;br /&gt;
For polyglot documents, which may be served as either HTML or XHTML, you may also include that in XHTML documents, but only if the encoding is &amp;quot;UTF-8&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
To ease transition from HTML4 to the latest HTML specification, although the former is the recommended syntax, you may also use the following. (This does not apply to XHTML or polyglot documents)&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=UTF-8&amp;quot;&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
In XHTML, XML rules for determining the character encoding apply.  The meta element is never used for determining the encoding of an XHTML document (although it may appear in UTF-8 encoded XHTML documents).  You should use either the HTTP &amp;lt;code&amp;gt;Content-Type&amp;lt;/code&amp;gt; header or the XML declaration to specify the encoding.&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;?xml version=&amp;amp;quot;1.0&amp;amp;quot; encoding=&amp;amp;quot;UTF-8&amp;amp;quot;?&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, you must use the default of &amp;lt;code&amp;gt;UTF-8&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;UTF-16&amp;lt;/code&amp;gt;. It is recommended that you use &amp;lt;code&amp;gt;UTF-8&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== What are the differences between HTML and XHTML? === &lt;br /&gt;
&lt;br /&gt;
See the list of [[HTML vs. XHTML#Differences_Between_HTML_and_XHTML|differences between HTML and XHTML]] in the wiki.&lt;br /&gt;
&lt;br /&gt;
=== What are best practices to be compatible with HTML DOM and XHTML DOM? ===&lt;br /&gt;
&lt;br /&gt;
Though the intent is that HTML and XHTML can both produce identical DOMs, there still are some differences between working with an HTML DOM and an XHTML one.&lt;br /&gt;
&lt;br /&gt;
Case sensitivity :&lt;br /&gt;
* Whenever possible, avoid testing Element.tagName and Node.nodeName (or do toLowerCase() before testing).&lt;br /&gt;
Namespaces:&lt;br /&gt;
* Use the namespace-aware version for creating elements: Document.createElementNS(ns, elementName)&lt;br /&gt;
&lt;br /&gt;
=== Why does this new HTML spec legitimise tag soup? === &lt;br /&gt;
&lt;br /&gt;
Actually it doesn&amp;amp;#8217;t. This is a misconception that comes from the confusion between conformance requirements for documents, and the requirements for user agents.&lt;br /&gt;
&lt;br /&gt;
Due to the fundamental design principle of supporting existing content, the spec must define how to handle all HTML, regardless of whether documents are conforming or not. Therefore, the spec defines (or will define) precisely how to handle and recover from erroneous markup, much of which would be considered tag soup.&lt;br /&gt;
&lt;br /&gt;
For example, the spec defines algorithms for dealing with syntax errors such as incorrectly nested tags, which will ensure that a well structured DOM tree can be produced.&lt;br /&gt;
&lt;br /&gt;
Defining that is essential for one day achieving interoperability between browsers and reducing the dependence upon reverse engineering each other.&lt;br /&gt;
&lt;br /&gt;
However, the conformance requirements for authors are defined separately from the processing requirements. Just because browsers are required to handle erroneous content, it does not make such markup conforming.&lt;br /&gt;
&lt;br /&gt;
For example, user agents will be required to support the marquee element, but authors must not use the marquee element in conforming documents.&lt;br /&gt;
&lt;br /&gt;
It is important to make the distinction between the rules that apply to user agents and the rules that apply to authors for producing conforming documents. They are completely orthogonal.&lt;br /&gt;
&lt;br /&gt;
== HTML feature proposals ==&lt;br /&gt;
&lt;br /&gt;
=== HTML should support &amp;lt;code&amp;gt;href&amp;lt;/code&amp;gt; on any element! === &lt;br /&gt;
&lt;br /&gt;
The spec allows &amp;amp;lt;a&amp;amp;gt; to contain blocks. It doesn&#039;t support putting href=&amp;quot;&amp;quot; on any element, though.&lt;br /&gt;
&lt;br /&gt;
Supporting &amp;lt;code&amp;gt;href&amp;lt;/code&amp;gt; on any element has several problems associated with it that make it difficult to support in HTML. The main reason this isn&#039;t in HTML is that browser vendors have reported that implementing it would be extremely complex. Browser vendors get to decide what they implement, and there&#039;s no point to us telling them to do something they aren&#039;t going to do. In addition:&lt;br /&gt;
&lt;br /&gt;
* It isn&amp;amp;#8217;t backwards compatible with existing browsers.&lt;br /&gt;
* It adds no new functionality that can&amp;amp;#8217;t already be achieved using the &amp;lt;code&amp;gt;a&amp;lt;/code&amp;gt; element and a little script.&lt;br /&gt;
* It doesn&amp;amp;#8217;t make sense for all elements, such as interactive elements like &amp;lt;code&amp;gt;input&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;button&amp;lt;/code&amp;gt;, where the use of href would interfere with their normal function.&lt;br /&gt;
&lt;br /&gt;
The only advantage it seems to add is that it reduces typing for authors in some cases, but that is not a strong enough reason to support it in light of the other reasons.&lt;br /&gt;
&lt;br /&gt;
Wrapping &amp;amp;lt;a&amp;amp;gt; elements around blocks solves most use cases. It doesn&#039;t handle making rows in tables into links, though; for those just do something like this instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;tr onclick=&amp;quot;location = this.getElementsByTagName(&#039;a&#039;)[0]&amp;quot;&amp;gt; ... &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== HTML should support list headers! ===&lt;br /&gt;
&lt;br /&gt;
You can give a header to a list using the &amp;lt;figure&amp;gt; and &amp;lt;figcaption&amp;gt; elements:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;figcaption&amp;gt;Apples&amp;lt;/figcaption&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;Granny Smith&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;Evil Apple of Knowledge&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;Apple, Inc&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also label a group of lists using a definition list:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;dl&amp;gt;&lt;br /&gt;
  &amp;lt;dt&amp;gt;Dry:&amp;lt;/dt&amp;gt;&lt;br /&gt;
  &amp;lt;dd&amp;gt;&lt;br /&gt;
   &amp;lt;ul&amp;gt;  &lt;br /&gt;
    &amp;lt;li&amp;gt;1c flour&amp;lt;/li&amp;gt;  &lt;br /&gt;
    &amp;lt;li&amp;gt;1/4c sugar&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;1tsp baking soda&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/dd&amp;gt;&lt;br /&gt;
  &amp;lt;dt&amp;gt;Wet:&amp;lt;/dt&amp;gt;&lt;br /&gt;
  &amp;lt;dd&amp;gt;&lt;br /&gt;
   &amp;lt;ul&amp;gt;  &lt;br /&gt;
    &amp;lt;li&amp;gt;1 egg &amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;1/2c milk&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;1tsp vanilla extract&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/dd&amp;gt;&lt;br /&gt;
 &amp;lt;/dl&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These techniques are preferred over adding an &amp;lt;lh&amp;gt; element as proposed in the old HTML3 draft, mostly because of thorny issues with parsing near &amp;amp;lt;li&amp;gt; elements.&lt;br /&gt;
&lt;br /&gt;
=== HTML should support a way for anyone to invent new elements! ===&lt;br /&gt;
&lt;br /&gt;
There are actually quite a number of ways for people to invent their own extensions to HTML:&lt;br /&gt;
&lt;br /&gt;
* Authors can use the &#039;&#039;class&#039;&#039; attribute to extend elements, effectively creating their own elements, while using the most applicable existing &amp;quot;real&amp;quot; HTML element, so that browsers and other tools that don&#039;t know of the extension can still support it somewhat well. This is the tack used by Microformats, for example.&lt;br /&gt;
* Authors can include data for scripts to process using the &#039;&#039;data-*=&amp;quot;&amp;quot;&#039;&#039; attributes. These are guaranteed to never be touched by browsers, and allow scripts to include data on HTML elements that scripts can then look for and process.&lt;br /&gt;
* Authors can use the &#039;&#039;&amp;lt;meta name=&amp;quot;&amp;quot; content=&amp;quot;&amp;quot;&amp;gt;&#039;&#039; mechanism to include page-wide metadata. Names should be registered on the wiki&#039;s [[MetaExtensions]] page.&lt;br /&gt;
* Authors can use the &#039;&#039;rel=&amp;quot;&amp;quot;&#039;&#039; mechanism to annotate links with specific meanings. This is also used by Microformats. Names should be registered on the wiki&#039;s [[RelExtensions]] page.&lt;br /&gt;
* Authors can embed raw data using the &#039;&#039;&amp;lt;script type=&amp;quot;&amp;quot;&amp;gt;&#039;&#039; mechanism with a custom type, for further handling by a script.&lt;br /&gt;
* Authors can create plugins and invoke them using the &#039;&#039;&amp;lt;embed&amp;gt;&#039;&#039; element. This is how Flash works.&lt;br /&gt;
* Authors can extend APIs using the JS prototyping mechanism. This is widely used by script libraries, for instance.&lt;br /&gt;
* Authors can use the microdata feature (the item=&amp;quot;&amp;quot; and itemprop=&amp;quot;&amp;quot; attributes) to embed nested name-value pairs of data to be shared with other applications and sites.&lt;br /&gt;
* Authors can propose new elements and attributes to the working group and, if the wider community agrees that they are worth the effort, they are added to the language. (If an addition is urgent, please let us know when proposing it, and we will try to address it quickly.)&lt;br /&gt;
&lt;br /&gt;
There is currently no mechanism for introducing new proprietary features in HTML documents (i.e. for introducing new elements and attributes) without discussing the extension with user agent vendors and the wider Web community. This is intentional; we don&#039;t want user agents inventing their own proprietary elements and attributes like in the &amp;quot;bad old days&amp;quot; without working with interested parties to make sure their feature is well designed.&lt;br /&gt;
&lt;br /&gt;
We request that people not invent new elements and attributes to add to HTML without first contacting the working group and getting a proposal discussed with interested parties.&lt;br /&gt;
&lt;br /&gt;
=== HTML should group &amp;amp;lt;dt&amp;gt;s and &amp;amp;lt;dd&amp;gt;s together in &amp;amp;lt;di&amp;gt;s! === &lt;br /&gt;
&lt;br /&gt;
This is a styling problem and should be fixed in CSS. There&#039;s no reason to add a grouping element to HTML, as the semantics are already unambiguous.&lt;br /&gt;
&lt;br /&gt;
There are multiple problems with adding something like &amp;amp;lt;di&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* It would require parsing changes. These are relatively expensive.&lt;br /&gt;
* It would have a poor backwards-compatibility story until the parsers were all updated.&lt;br /&gt;
* It would have a poor backwards-compatibility story with legacy code that handles &amp;amp;lt;dl&amp;gt;s, since they&#039;re not expecting &amp;amp;lt;di&amp;gt;s.&lt;br /&gt;
&lt;br /&gt;
The cost just doesn&#039;t seem worth it, given that a CSS solution would also solve a bunch of other problems (like styling implied sections).&lt;br /&gt;
&lt;br /&gt;
=== Why are some presentational elements like &amp;amp;lt;b&amp;gt;, &amp;amp;lt;i&amp;gt; and &amp;amp;lt;small&amp;gt; still included? ===&lt;br /&gt;
&lt;br /&gt;
The inclusion of these elements is a largely pragmatic decision based upon their widespread usage, and their usefulness for use cases which are not covered by more specific elements.&lt;br /&gt;
&lt;br /&gt;
While there are a number of common use cases for italics which are covered by more specific elements, such as emphasis (em), citations (cite), definitions (dfn) and variables (var), there are many other use cases which are not covered well by these elements.  For example, a taxonomic designation, a technical term, an idiomatic phrase from another language, a thought, or a ship name.&lt;br /&gt;
&lt;br /&gt;
Similarly, although a number of common use cases for bold text are also covered by more specific elements such as strong emphasis (strong), headings (h1-h6) or table headers (th); there are others which are not, such as key words in a document abstract or product names in a review.&lt;br /&gt;
&lt;br /&gt;
Some people argue that in such cases, the span element should be used with an appropriate class name and associated stylesheet.  However, the b and i elements provide for a reasonable fallback styling in environments that don&#039;t support stylesheets or which do not render visually, such as screen readers, and they also provide some indication that the text is somehow distinct from its surrounding content.&lt;br /&gt;
&lt;br /&gt;
In essence, they convey distinct, though non-specific, semantics, which are to be determined by the reader in the context of their use. In other words, although they don’t convey specific semantics by themselves, they indicate that that the content is somehow distinct from its surroundings and leaves the interpretation of the semantics up to the reader.&lt;br /&gt;
&lt;br /&gt;
This is further explained in the article &amp;lt;cite&amp;gt;[http://lachy.id.au/log/2007/05/b-and-i The &amp;amp;lt;b&amp;gt; and &amp;amp;lt;i&amp;gt; Elements]&amp;lt;/cite&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, the small element is defined for content that is commonly typographically rendered in small print, and which often referred to as fine print.  This could include copyright statements, disclaimers and other legal text commonly found at the end of a document.&lt;br /&gt;
&lt;br /&gt;
==== But they are PRESENTATIONAL! ====&lt;br /&gt;
&lt;br /&gt;
The problem with elements like &amp;amp;lt;font&amp;gt; isn&#039;t that they are &#039;&#039;presentational&#039;&#039; per se, it&#039;s that they are media-dependent (they apply to visual browsers but not to speech browsers). While &amp;amp;lt;b&amp;gt;, &amp;amp;lt;i&amp;gt; and &amp;amp;lt;small&amp;gt; historically have been presentational, they are defined in a media-independent manner in HTML5. For example, &amp;amp;lt;small&amp;gt; corresponds to the really quickly spoken part at the end of radio advertisements.&lt;br /&gt;
&lt;br /&gt;
=== The &amp;amp;lt;cite&amp;gt; element should allow names of people to be marked up ===&lt;br /&gt;
&lt;br /&gt;
From what some have seen, &amp;amp;lt;cite&amp;gt; is almost always used to mean &amp;quot;italics&amp;quot;. More careful authors have used the element to mark up names and titles, and some people have gone out of their way to only mark up citations.&lt;br /&gt;
&lt;br /&gt;
So, we can&#039;t really decide what the element should be based on past practice, like we usually do.&lt;br /&gt;
&lt;br /&gt;
This leaves the question of what is the most useful use we can put the element to, if we keep it. The conclusion so far has been that the most useful use for &amp;amp;lt;cite&amp;gt; is as an element to allow typographic control over titles, since those are often made italics, and that semantic is roughly close to what it meant in previous versions, and happens to match at least one of the common uses for the element. Generally, however, names and titles aren&#039;t typeset the same way, so making the element apply to both would lead to confusing typography.&lt;br /&gt;
&lt;br /&gt;
There are already many ways of marking up names already (e.g. the [http://microformats.org/wiki/hcard hCard microformat], the microdata vCard vocabulary, &amp;amp;lt;span&amp;gt; and class names, etc), if you really need it.&lt;br /&gt;
&lt;br /&gt;
=== The &amp;amp;lt;time&amp;gt; element should allow vague times (&amp;quot;March&amp;quot;) and times from ancient history to be marked up ===&lt;br /&gt;
&lt;br /&gt;
This has been discussed a number of times. For an overview of the topic, please see these e-mails:&lt;br /&gt;
* http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-March/018888.html&lt;br /&gt;
* http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-August/021745.html&lt;br /&gt;
At this stage, as discussed in the second of those e-mails, the best way forward is to demonstrate that there are communities interested in solving this problem, by using existing techniques such as microdata to address it. If such a solution achieves a high adoption rate, that will substantially increase the strength of the proposals.&lt;br /&gt;
&lt;br /&gt;
(In the future, it is expected that the &amp;amp;lt;time&amp;gt; element will be extended to support years and years+months, but this is awaiting implementation experience with what is already specified.)&lt;br /&gt;
&lt;br /&gt;
=== &amp;amp;lt;input type=&amp;quot;text&amp;quot;&amp;gt; needs a minlength=&amp;quot;&amp;quot; attribute ===&lt;br /&gt;
&lt;br /&gt;
This has been discussed, but we are waiting for browsers to catch up with the many new form features before adding new ones like minlength=&amp;quot;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== WHATWG and the W3C HTML WG ==&lt;br /&gt;
&lt;br /&gt;
=== Are there plans to merge the groups? ===&lt;br /&gt;
&lt;br /&gt;
No. There are people who for a number of reasons are unable to join the W3C group, and there are others who are unable to join the WHATWG group. The editor is in both groups and takes all input into account — and there are far more places where input on HTML5 is sent than just these two mailing lists (e.g. blogs, www-html@w3.org, forums, direct mail, meetings, etc).&lt;br /&gt;
&lt;br /&gt;
=== Which group has authority in the event of a dispute? ===&lt;br /&gt;
&lt;br /&gt;
The editor takes feedback from everyone into account and does not look at the source of those arguments for technical arguments.&lt;br /&gt;
&lt;br /&gt;
The W3C HTML Working Group has an escalation process that in some cases results in a decision being made that differs from the editor&#039;s original decision on a topic. So far, whenever this has happened the WHATWG has gone along with the W3C&#039;s request; nothing of especially big importance has been changed in this manner so far (it&#039;s mostly been editorial issues or mostly minor technical issues). In general the WHATWG will ensure that the normative content of the specifications (the requirements on authors and implementors) remains the same so long as the W3C group doesn&#039;t demonstrate any serious lapses in judgement.&lt;br /&gt;
&lt;br /&gt;
=== What is the history of HTML? ===&lt;br /&gt;
&lt;br /&gt;
Here are some documents that detail the history of HTML:&lt;br /&gt;
* [http://esw.w3.org/topic/HTML/history HTML&#039;s timeline on the ESW wiki]&lt;br /&gt;
* [http://www.whatwg.org/specs/web-apps/current-work/multipage/introduction.html#history0 The history section in HTML5 itself]&lt;br /&gt;
&lt;br /&gt;
== Mailing List ==&lt;br /&gt;
&lt;br /&gt;
=== Should I top-post or reply inline? ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please reply inline or make the reply self-contained, and trim extraneous quotes from previous e-mails in your replies.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Basically, please remove anything after the last line you have written, so that people don&#039;t have to scroll down to find out what else you wrote, and make sure that your e-mail makes sense on its own, as it will probably be read out of context years later.&lt;br /&gt;
&lt;br /&gt;
That is, you should reply like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Ian wrote:&lt;br /&gt;
&amp;gt; What do you want? &lt;br /&gt;
&lt;br /&gt;
I want cats!&lt;br /&gt;
&lt;br /&gt;
&amp;gt; When do you want it?&lt;br /&gt;
&lt;br /&gt;
Now!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should definitely not reply like this (because this requires people to read your e-mail backwards):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;error&amp;quot; &amp;gt;&lt;br /&gt;
No&lt;br /&gt;
&lt;br /&gt;
Ian wrote:&lt;br /&gt;
&amp;gt; Is this a good example of how to post e-mails?&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should also not reply like this (because this leaves people to wonder if there is any text lower down that you have written):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;error&amp;quot; &amp;gt;&lt;br /&gt;
This is a bad way to write e-mail.&lt;br /&gt;
&lt;br /&gt;
Ian wrote:&lt;br /&gt;
&amp;gt; Is this a good way to write e-mail?&lt;br /&gt;
&amp;gt; Lorem ipsum foo bar baz.&lt;br /&gt;
&amp;gt; Unrelated other bits that aren&#039;t replied to.&lt;br /&gt;
&amp;gt; Yet more text&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should also not reply like this (with no context at all), because the reader will not know what you are referring to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;error&amp;quot; &amp;gt;&lt;br /&gt;
No, I think that&#039;s a bad idea. It wouldn&#039;t be good for the readers, for instance.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Quote enough original text or provide an introduction yourself.&lt;br /&gt;
&lt;br /&gt;
If you use Outlook or Outlook Express, you can use either [http://home.in.tum.de/~jain/software/outlook-quotefix/ Outlook-QuoteFix] or [http://home.in.tum.de/~jain/software/oe-quotefix/ OE-QuoteFix]. These plugins fix several of Outlook&#039;s problems with sending properly formatted emails.&lt;/div&gt;</summary>
		<author><name>Oli</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=FAQ&amp;diff=6262</id>
		<title>FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=FAQ&amp;diff=6262"/>
		<updated>2011-02-23T16:04:38Z</updated>

		<summary type="html">&lt;p&gt;Oli: Removed html-5.com due to about page and suggested boilerplate (polyglot with XML namespace). Added HTML5Doctor, MDN and Opera [note: am H5D author]&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The WHATWG ==&lt;br /&gt;
&lt;br /&gt;
=== What is the WHATWG? ===&lt;br /&gt;
&lt;br /&gt;
The Web Hypertext Application Technology Working Group (WHATWG) is a growing community of people interested in evolving the Web. It focuses primarily on the development of HTML and APIs needed for Web applications.&lt;br /&gt;
&lt;br /&gt;
The WHATWG was founded by individuals of Apple, the Mozilla Foundation, and Opera Software in 2004, after a W3C workshop. Apple, Mozilla and Opera were becoming increasingly concerned about the W3C’s direction with XHTML, lack of interest in HTML and apparent disregard for the needs of real-world authors. So, in response, these organisations set out with a mission to address these concerns and the Web Hypertext Application Technology Working Group was born.&lt;br /&gt;
&lt;br /&gt;
=== What is the WHATWG working on? === &lt;br /&gt;
&lt;br /&gt;
The WHATWG&#039;s main focus is the HTML standard. The WHATWG also works on Web Workers, Web Storage, the Web Sockets API, and Server-Sent Events, and occasionally specifications outside WHATWG space are discussed on the WHATWG mailing list and forwarded when appropriate.&lt;br /&gt;
&lt;br /&gt;
In the past it has worked on Web Forms 2.0 and Web Controls 1.0. Web Forms 2.0 has been integrated into HTML5 and Web Controls 1.0 has been abandoned for now, awaiting what [http://www.w3.org/TR/xbl/ XBL 2.0] will bring us.&lt;br /&gt;
&lt;br /&gt;
=== How can I get involved? === &lt;br /&gt;
&lt;br /&gt;
There are lots of ways you can get involved, take a look and see &#039;&#039;[[What you can do]]&#039;&#039;!&lt;br /&gt;
&lt;br /&gt;
=== Is participation free? === &lt;br /&gt;
&lt;br /&gt;
Yes, everyone can contribute. There are no memberships fees involved, it&#039;s an open process. You may easily subscribe to the WHATWG [http://whatwg.org/mailing-list mailing lists]. You may also [http://blog.whatwg.org/w3c-restarts-html-effort join the the W3C&#039;s new HTMLWG] by going through the slightly longer application process.&lt;br /&gt;
&lt;br /&gt;
== The WHATWG Process ==&lt;br /&gt;
&lt;br /&gt;
=== How does the WHATWG work? ===&lt;br /&gt;
&lt;br /&gt;
People send e-mail to [http://www.whatwg.org/mailing-list#specs the mailing list]. The editor then reads that [http://www.whatwg.org/issues/ feedback] and, taking it into account along with research, studies, and feedback from many other sources (blogs, forums, IRC, etc) makes language design decisions intended to address everyone&#039;s needs as well as possible while keeping the language consistent.&lt;br /&gt;
&lt;br /&gt;
This continues, with people sending more feedback, until nobody is able to convince the editor to change the spec any more (e.g. because two people want opposite things, and the editor has considered all the information available and decided that one of the two proposals is the better one).&lt;br /&gt;
&lt;br /&gt;
This is not a consensus-based approach -- there&#039;s no guarantee that everyone will be happy! There is also no voting.&lt;br /&gt;
&lt;br /&gt;
There is a small oversight committee (known as the &amp;quot;WHATWG members&amp;quot;, see the [http://www.whatwg.org/charter charter]) who have the authority to override or replace the editor if he starts making bad decisions.&lt;br /&gt;
&lt;br /&gt;
Currently the editor is Ian Hickson.&lt;br /&gt;
&lt;br /&gt;
=== How should tool developers, screen reader developers, browser vendors, search engine vendors, and other implementors interact with the WHATWG? ===&lt;br /&gt;
&lt;br /&gt;
Feedback on a feature should be sent to whatwg@whatwg.org (but you have to [http://whatwg.org/mailing-list#specs join the mailing list] first), or ian@hixie.ch. All feedback will receive a reply in due course.&lt;br /&gt;
&lt;br /&gt;
If you want feedback to be dealt with faster than &amp;quot;eventually&amp;quot;, e.g. because you are about to work on that feature and need the spec to be updated to take into account all previous feedback, let the editor know by either e-mailing him (ian@hixie.ch), or contacting him on [[IRC]] (Hixie on Freenode). Requests for priority feedback handling are handled confidentially so other implementors won&#039;t know that you are working on that feature.&lt;br /&gt;
&lt;br /&gt;
Questions and requests for clarifications should be asked either on the mailing list or on [[IRC]], in the #whatwg channel on Freenode.&lt;br /&gt;
&lt;br /&gt;
=== Is there a process for removing bad ideas from a specification? ===&lt;br /&gt;
&lt;br /&gt;
There are several processes by which we trim weeds from the specifications.&lt;br /&gt;
&lt;br /&gt;
* Occasionally, we go through every section and mark areas as being considered for removal. This happened early in 2008 with the data templates, repetition blocks, and DFN-element cross references, for example. If no feedback is received to give us strong reasons to keep such features, then they eventually are removed altogether.&lt;br /&gt;
&lt;br /&gt;
* Anyone can ask for a feature to be removed; such feedback is considered like all other feedback and is based on the merits of the arguments put forward.&lt;br /&gt;
&lt;br /&gt;
* If browsers don&#039;t widely implement a feature, or if authors don&#039;t use a feature, or if the uses of the feature are inconsequential or fundamentally wrong or damaging, then, after due consideration, features will be removed.&lt;br /&gt;
&lt;br /&gt;
Removing features is a critical part of spec development.&lt;br /&gt;
&lt;br /&gt;
=== Is there a process for adding new features to a specification? ===&lt;br /&gt;
&lt;br /&gt;
The process is rather informal, but basically boils down to this:&lt;br /&gt;
# Research the use cases and requirements by discussing the issue with authors and implementors.&lt;br /&gt;
# Come up with a clear description of the problem that needs to be solved.&lt;br /&gt;
# Discuss your proposal with authors and implementors. Read the responses. Listen to the feedback. Consider whether your ideas are good solutions to the use cases and requirements put forward. Discussions here should be done in public, e.g. on an archived public mailing list or documented in blogs.&lt;br /&gt;
# Get implementors to commit to implementing the feature. If you can&#039;t get several implementors to implement the feature, then get at least one user agent to implement it experimentally. Experimental implementations should be publicly available.&lt;br /&gt;
# Bring the experimental implementations to the attention of the spec&#039;s editor. Document the experience found from any implementations, the use cases and requirements that were found in the first step, the data that the design was based on.&lt;br /&gt;
# Demonstrate the importance of the problem. Demonstrate that the solution is one that will be used correctly and widely enough for it to solve the stated problem.&lt;br /&gt;
# Participate in the subsequent design discussions, considering all the proposals carefully. Typically at this step the original design gets thrown out and a significantly better design is developed, informed by the previous research, new research, and implementation and author experience with experimental implementations. Sometimes, the idea is abandoned at this stage.&lt;br /&gt;
&lt;br /&gt;
If the idea survives the above design process, the spec will be eventually updated to reflect the new design. Implementations will then be updated to reflect the new design (if they aren&#039;t, that indicates the new design is not good, and it will be reworked or removed). The spec will be updated to fix the many problems discovered by authors and implementors, over a period of several years, as more authors and implementors are exposed to the design. Eventually, a number of provably interoperable implementations are deployed. At this point development of the feature is somewhat frozen.&lt;br /&gt;
&lt;br /&gt;
Writing a comprehensive test suite is also an important step, which should start a bit before implementations start being written to the spec. (Test suites usually find as many problems with implementations as they do with the spec; they aren&#039;t just for finding browser bugs.) We don&#039;t yet have a good story with respect to test suites, sadly. If you want to help us out, let the mailing list know! Be aware, though, it&#039;s a lot of work.&lt;br /&gt;
&lt;br /&gt;
=== What does &amp;quot;Living Standard&amp;quot; mean? ===&lt;br /&gt;
&lt;br /&gt;
The WHATWG specifications are described as Living Standards. This means that they are standards that are continuously updated as they receive feedback, either from Web designers, browser vendors, tool vendors, or indeed any other interested party. It also means that new features get added to them over time, at a rate intended to keep the specifications a little ahead of the implementations but not so far ahead that the implementations give up.&lt;br /&gt;
&lt;br /&gt;
Despite the continuous maintenance, or maybe we should say &#039;&#039;as part&#039;&#039; of the continuing maintenance, a significant effort is placed on getting the specifications and the implementations to converge — the parts of the specification that are mature and stable are not changed willy nilly. Maintenance means that the days where the specifications are brought down from the mountain and remain forever locked, even if it turns out that all the browsers do something else, or even if it turns out that the specification left some detail out and the browsers all disagree on how to implement it, are gone. Instead, we now make sure to update the specifications to be detailed enough that all the implementations (not just browsers, of course) can do the same thing. Instead of ignoring what the browsers do, we fix the spec to match what the browsers do. Instead of leaving the specification ambiguous, we fix the the specification to define how things work.&lt;br /&gt;
&lt;br /&gt;
=== “Living specification” sounds like a draft that may and will change at any moment and is probably not even complete at any moment of time... ===&lt;br /&gt;
&lt;br /&gt;
That&#039;s exactly what it is. However, the specification does not change arbitrarily: we are extremely careful! As parts of the specification mature, and implementations ship, the spec cannot be changed in backwards-incompatible ways (because the implementors would never agree to break compat unless for security reasons). The specification is never complete, since the Web is continuously evolving. The last time HTML was described as &amp;quot;complete&amp;quot; was after HTML4, when development stopped for several years, leading to stagnation. (If the Web is replaced by something better and dies, the HTML spec will die with it.)&lt;br /&gt;
&lt;br /&gt;
You can see which parts of the spec are stable and which are not from the status annotations in the left margin.&lt;br /&gt;
&lt;br /&gt;
=== Don’t browsers need a target to work their implementations towards, even if it’s a snapshot that is essentially arbitrary? ===&lt;br /&gt;
&lt;br /&gt;
In practice, implementations all followed the latest specs draft anyway, not the latest snapshots. The problem with following a snapshot is that you end up following something that is &#039;&#039;known to be wrong&#039;&#039;. That&#039;s obviously not the way to get interoperability! This has in fact been a real problem at the W3C, where mistakes are found and fixed in the editors&#039; drafts of specifications, but implementors who aren&#039;t fully engaged in the process go and implement obsolete snapshots instead, including those bugs, without realising the problems, and resulting in differences between the browsers.&lt;br /&gt;
&lt;br /&gt;
===  When will it be safe to attempt to implement the spec based solely on the formal specification statements in the spec? === &lt;br /&gt;
&lt;br /&gt;
It&#039;s never truly safe; for example, if you tried to implement HTML4 according to the HTML4 specification you wouldn&#039;t have an implementation compatible with HTML4-era documents. However, if you&#039;re able to deal with minor changes, like security updates, errata-level changes, etc, then you can see which parts of the spec are stable and which are not from the status annotations in the left margin.&lt;br /&gt;
&lt;br /&gt;
In general, though, we would strongly recommend taking part in the development effort. There&#039;s a [http://www.whatwg.org/mailing-list#imps mailing list for implementors] which can help.&lt;br /&gt;
&lt;br /&gt;
=== How do we know what to use, without having some sort of snapshot that browsers can aim at and developers can evaluate? ===&lt;br /&gt;
&lt;br /&gt;
The same way you do &#039;&#039;with&#039;&#039; snapshots. Browser vendors don&#039;t look at the last snapshot, they look at the ever-progressing latest text anyway.&lt;br /&gt;
&lt;br /&gt;
No browser ever implemented all of HTML4, for example, even in the years after it was a formal Recommendation. Nor did they wait til they had done all of HTML3.2 before working on implementing HTML4. They all picked and chose the bits they thought were useful. With the Living Standard approach, we can also update the specification at the same time to remove the bits they all agree are useless, and to add new features that they think we should add (before they go off and invent their own solutions!).&lt;br /&gt;
&lt;br /&gt;
=== Isn’t the whole point of a specification to establish fixed point of reference so that all parties implementing the standard can ensure they have a common baseline of compatibility? ===&lt;br /&gt;
&lt;br /&gt;
No, the point of a specification is to provide an accurate description of what all the parties should implement. When an error is found in this description, it&#039;s better to fix it than to leave it.&lt;br /&gt;
&lt;br /&gt;
HTML4 provides an example of this. HTML4 says the default value for the &amp;quot;media&amp;quot; attribute is &amp;quot;screen&amp;quot;, even though it was long ago realised that this made no sense and the default should be &amp;quot;all&amp;quot;. The browsers all implement it as &amp;quot;all&amp;quot;. A snapshot with a known bug is not as useful as a living standard.&lt;br /&gt;
&lt;br /&gt;
=== The large Web industry with many browsers and even more producers of web pages needs to evolve in reasonably consistent steps for ubiquity and interoperability, so we need snapshots ===&lt;br /&gt;
&lt;br /&gt;
It&#039;s true that &amp;quot;the large Web industry with many&lt;br /&gt;
browsers and even more producers of web pages needs to evolve in&lt;br /&gt;
reasonably consistent steps for ubiquity and interoperability&amp;quot;. However, unchanging snapshots of specifications&lt;br /&gt;
do nothing to help with this. The implementations usually follow the&lt;br /&gt;
drafts, not the snapshots, and in the exceptions where they don&#039;t, they&lt;br /&gt;
end up &#039;&#039;failing to interoperate&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Consider what would happen if a Web browser vendor decided to implement&lt;br /&gt;
HTML4 instead of the latest state of the HTML Living Standard. That vendor would have &amp;amp;lt;link&amp;gt;&lt;br /&gt;
elements with the wrong media=&amp;quot;&amp;quot; attribute default, which would break&lt;br /&gt;
printing of most of the Web. That vendor would misparse &amp;amp;lt;p&amp;gt;&amp;amp;lt;table&amp;gt;, which&lt;br /&gt;
would result in blank lines in numerous unexpected places. That vendor&lt;br /&gt;
would find that pages that styled empty paragraphs would fail to render as&lt;br /&gt;
expected. That vendor would find that millions of pages would be&lt;br /&gt;
unparseable due to not assuming a default encoding. That vendor would find&lt;br /&gt;
that 0.2% of pages were missing images due to HTML4 not requiring the&lt;br /&gt;
&amp;amp;lt;image&amp;gt;/&amp;amp;lt;img&amp;gt; aliasing. That vendor would, in short, find that the&lt;br /&gt;
spec was not an accurate description of the Web, and would either fail in&lt;br /&gt;
the market place (due to lack of interoperability), or would go seeking&lt;br /&gt;
the latest spec, the living standard, which would dramatically improve their interoperability&lt;br /&gt;
with legacy content and existing browsers.&lt;br /&gt;
&lt;br /&gt;
Snapshots harm interoperability, they don&#039;t help it.&lt;br /&gt;
&lt;br /&gt;
=== How about support in browsers for previous versions of this “living” HTML standard? ===&lt;br /&gt;
&lt;br /&gt;
Browsers only need to implement the latest spec, and they will be compatible with the bulk of legacy content. That is an underlying principle of the entire WHATWG effort.&lt;br /&gt;
&lt;br /&gt;
To clarify, browsers today don&#039;t implement separate modes for HTML2, HTML3.2, and HTML4. They just implement one version of HTML, and it works with everything (we call this &amp;quot;backwards compatibility&amp;quot;). This is the same model followed by the HTML specification; that&#039;s why it defines the browser requirements for lots of old features that aren&#039;t allowed anymore. For example, the &amp;quot;font&amp;quot; element is no longer conforming (authors aren&#039;t supposed to use it in their pages), but the spec still defines how it works, so that old pages keep working.&lt;br /&gt;
&lt;br /&gt;
=== Will future browsers have any idea what older HTML documents mean?  ===&lt;br /&gt;
&lt;br /&gt;
Browsers do not implement HTML+, HTML2, HTML3.2 HTML4, HTML4.01, etc, as separate versions. They all just have a single implementation that covers all these versions at once. That is what the WHATWG HTML specification defines: how to write a browser (or other implementation) that handles &#039;&#039;all previous versions of HTML&#039;&#039;, as well as all the latest features.&lt;br /&gt;
&lt;br /&gt;
One of the main goals of the HTML specification and the WHATWG effort as a whole is to make it possible for archeologists hundreds of years from now to write a browser and view HTML content, regardless of when it was written. Making sure that we handle all documents is one of our most important goals. Not having versions does not preclude this.&lt;br /&gt;
&lt;br /&gt;
=== This means you will only able to add to a spec, not redefine it. ===&lt;br /&gt;
&lt;br /&gt;
Yes. That&#039;s been a guiding principle for the WHATWG since its founding. It&#039;s even in our [http://www.whatwg.org/charter charter].&lt;br /&gt;
&lt;br /&gt;
=== How can web developers know which features are safe to use? ===&lt;br /&gt;
&lt;br /&gt;
See &amp;quot;[[FAQ#When_will_we_be_able_to_start_using_these_new_features.3F|When will we be able to start using these new features?]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Browsers can currently say they implement HTML 4.01 and most know what to expect. ===&lt;br /&gt;
&lt;br /&gt;
Actually, that really isn&#039;t what happens in practice. Browsers do not implement specifications atomically, one spec at a time. They pick and chose features from the specs as they see fit. For example, back in the day, browsers implemented the absolute positioning parts of CSS2, but not &#039;display:run-in&#039;, but they still claimed to implement CSS2, and they already had parts of CSS3 implemented too, but not any part of a complete CSS3 module. Browsers claim to implement HTML4, but didn&#039;t implement all of it. Browsers moved on to HTML4 features before they had done all of HTML 3.2. And so on.&lt;br /&gt;
&lt;br /&gt;
Plus, there&#039;s the problem of bugs. Different browsers have different bugs, and nothing in the spec&#039;s version can tell you what bugs the browser has.&lt;br /&gt;
&lt;br /&gt;
Thus, in practice, you really can&#039;t tell what is implemented based on what version of what spec the vendor&#039;s marketing department claims to support. So not having a version number doesn&#039;t hurt. If anything, it helps, by removing a potentially bogus point of comparison — it means you have to compare browsers on what they really do (with a test suite), not on what version they claim to support.&lt;br /&gt;
&lt;br /&gt;
=== How are developers to determine when certain parts of their pages will become invalid? ===&lt;br /&gt;
&lt;br /&gt;
It shouldn&#039;t matter if and when old pages become invalid.&lt;br /&gt;
&lt;br /&gt;
Validity (more often referred to as document conformance in the WHATWG) is a quality assurance tool to help authors avoid mistakes. We don&#039;t make things non-conforming (invalid) for the sake of it, we use conformance as a guide for developers to help them avoid bad practices or mistakes (like typos). So there&#039;s not really any need to worry about whether old pages are conforming or not, it&#039;s only helpful when you&#039;re writing a new page, and it&#039;s always most helpful to have the latest advice. It wouldn&#039;t be useful to check for compliance against last week&#039;s rules, for instance. After all, we fixed mistakes in those rules this week!&lt;br /&gt;
&lt;br /&gt;
=== How will anything be deprecated and removed if there are no version numbers? ===&lt;br /&gt;
&lt;br /&gt;
Not having version numbers doesn&#039;t stop us from removing features. We do that regularly, as described above in &amp;quot;[[FAQ#Is_there_a_process_for_removing_bad_ideas_from_a_specification.3F|Is there a process for removing bad ideas from a specification?]]&amp;quot;. See also the &amp;quot;obsolete features&amp;quot; section in the HTML standard: http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html&lt;br /&gt;
&lt;br /&gt;
=== Will HTML become a bloated unimplementable mess as old features pile up if there are no version numbers? ===&lt;br /&gt;
&lt;br /&gt;
No. We endeavour to not make HTML unimplementable — if it can&#039;t be implemented, there&#039;s not much point having a spec! Indeed, making HTML implementable is the main goal of the specification. Certainly HTML will continue to become complicated over time, but that is unrelated to whether we have version numbers or not.&lt;br /&gt;
&lt;br /&gt;
=== Will HTML become an unusable mess as features are removed and old valid documents suddenly become invalid, if there are no version numbers? ===&lt;br /&gt;
&lt;br /&gt;
No.&lt;br /&gt;
&lt;br /&gt;
Features being invalid doesn&#039;t make them stop working — browsers are required to support old features. Even things like &amp;quot;inindex&amp;quot;, framesets, &amp;quot;font&amp;quot;, and so forth are still defined in the HTML specification, even though they&#039;re not to be used by authors. Old documents become invalid all the time, for example HTML 3.2 documents that use the &amp;quot;font&amp;quot; element were not valid HTML4 Strict documents, since it made &amp;quot;font&amp;quot; invalid (for good reasons, e.g. it tends to lead to authoring practices that harm accessibility). So even if we continue to make certain features invalid, it does not make HTML an &amp;quot;unusable mess&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== If you do not publish snapshots every now and again, you are Orwellian in your recognition of the role the mistakes of the past play into the present and the future. ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;No really, someone [http://blog.whatwg.org/html-is-the-new-html5#comment-42288 said that] on our blog.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The specification text is kept in version control and not forgotten; in fact, version control archeology is often used as part of the spec&#039;s development to figure out when things changed, why they changed, and so forth. This is significantly more helpful than arbitrarily dated snapshots, which in practice aren&#039;t studied in the same way since they don&#039;t give as detailed an answer. With version control, you can narrow down changes to discussions that happened on a particular day or even hour, with snapshots you are often limited to a resolution of months or years, depending on how often you publish the snapshots.&lt;br /&gt;
&lt;br /&gt;
You can see the version control repository for the WHATWG specifications at http://html5.org/tools/web-apps-tracker (Web interface) or http://svn.whatwg.org/webapps/ (SVN interface).&lt;br /&gt;
Every revision, however minor, is checked in separately. As of the time of this writing (January 2011), the repository has over 5700 revisions already.&lt;br /&gt;
&lt;br /&gt;
(Another way of looking at it is that we have a new snapshot with every change! Publish early, publish often, as they say.)&lt;br /&gt;
&lt;br /&gt;
== HTML5 ==&lt;br /&gt;
&lt;br /&gt;
=== What is HTML5? === &lt;br /&gt;
&lt;br /&gt;
[http://www.whatwg.org/specs/web-apps/current-work/ HTML] is the main focus of the WHATWG community. HTML5 is a snapshot of HTML, which is being worked on by the WHATWG community and also the W3C HTML Working Group.&lt;br /&gt;
&lt;br /&gt;
HTML5 is a new version of HTML4, XHTML1, and DOM Level 2 HTML addressing many of the issues of those specifications while at the same time enhancing (X)HTML to more adequately address Web applications. Besides defining a markup language that can be written in both HTML and XML (XHTML) it also defines many APIs that form the basis of the Web architecture. Some of these APIs were known as &amp;quot;DOM Level 0&amp;quot; and were never documented before. Yet they are extremely important for browser vendors to support existing Web content and for authors to be able to build Web applications.&lt;br /&gt;
&lt;br /&gt;
Going forward, the WHATWG is just working on &amp;quot;HTML&amp;quot;, without worrying about version numbers. When people talk about HTML5 in the context of the WHATWG, they usually mean just &amp;quot;the latest work on HTML&amp;quot;, not necessarily a specific version. For more details, see the section called [http://www.whatwg.org/specs/web-apps/current-work/multipage/introduction.html#is-this-html5? &amp;quot;Is this HTML5?&amp;quot;] in the specification.&lt;br /&gt;
&lt;br /&gt;
=== How can I keep track of changes to the spec? === &lt;br /&gt;
&lt;br /&gt;
There are a number of ways to track changes to the spec.&lt;br /&gt;
&lt;br /&gt;
* The Twitter feed: http://twitter.com/WHATWG&lt;br /&gt;
&lt;br /&gt;
* You may use the online [http://html5.org/tools/web-apps-tracker HTML5 Tracker]. The tool provides an online interface for selecting and comparing revisions of the spec.&lt;br /&gt;
&lt;br /&gt;
* There is a commit-watchers mailing list that is notified of every edit: http://lists.whatwg.org/listinfo.cgi/commit-watchers-whatwg.org&lt;br /&gt;
&lt;br /&gt;
* The specification is available in the [http://svn.whatwg.org/ subversion repository]. You may use any SVN client to check out the latest version and use your clients diff tools in order compare revisions and see what has been changed.&lt;br /&gt;
&lt;br /&gt;
* At a broader level, Anne is maintaining a document that gives a high-level overview of changes to HTML over the last decade or so, as well as occasionally listing changes between versions a few months apart: http://dev.w3.org/html5/html4-differences/&lt;br /&gt;
&lt;br /&gt;
* The W3C provide a Web view of their CVS mirror of the HTML5 spec: http://dev.w3.org/cvsweb/html5/spec/Overview.html&lt;br /&gt;
&lt;br /&gt;
* The W3C provide diff-marked HTML versions for each change that affect the W3C copy of the spec by e-mail: http://lists.w3.org/Archives/Public/public-html-diffs/latest&lt;br /&gt;
&lt;br /&gt;
=== What are the various versions of the spec? ===&lt;br /&gt;
&lt;br /&gt;
All active work at WHATWG is gathered in Web Applications 1.0. It is available as [http://www.whatwg.org/specs/web-apps/current-work/complete.html single-page] (&#039;&#039;very large&#039;&#039;) and &#039;&#039;&#039;[http://whatwg.org/C multi-page]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The WHATWG HTML standard is a subset containing only the HTML-specific material. It is available as [http://www.whatwg.org/specs/web-apps/current-work/ single-page]&lt;br /&gt;
and &#039;&#039;&#039;[http://whatwg.org/html multi-page]&#039;&#039;&#039;, as well as in PDF [http://www.whatwg.org/specs/web-apps/current-work/html-a4.pdf A4] and&lt;br /&gt;
[http://www.whatwg.org/specs/web-apps/current-work/html-letter.pdf Letter].&lt;br /&gt;
&lt;br /&gt;
The W3C HTML5 specification is a subset of the WHATWG HTML standard, containing only some of the more stable features.&lt;br /&gt;
&lt;br /&gt;
The following table lists in the individual specifications included:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=1 cellpadding=3 cellspacing=0&lt;br /&gt;
|-&lt;br /&gt;
!&lt;br /&gt;
! WHATWG Specifications &amp;lt;br&amp;gt; (and sections therein)&lt;br /&gt;
! Section links for &amp;lt;br&amp;gt; Web Applications 1.0&lt;br /&gt;
! W3C/IETF Specifications&lt;br /&gt;
|-&lt;br /&gt;
! HTML5 only (excluding newer features)&lt;br /&gt;
| n/a&lt;br /&gt;
| n/a&lt;br /&gt;
| [http://dev.w3.org/html5/spec/Overview.html Single-page], [http://dev.w3.org/html5/spec/ multi-page] (HTML WG)&lt;br /&gt;
|-&lt;br /&gt;
! HTML (including newer features)&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/multipage/ WHATWG HTML]&lt;br /&gt;
| Everything not listed below!&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! Microdata&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#microdata In WHATWG HTML]&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/microdata.html Microdata]&lt;br /&gt;
| [http://dev.w3.org/html5/md/ Microdata] (HTML WG)&lt;br /&gt;
|-&lt;br /&gt;
! Canvas 2D Context&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#2dcontext In WHATWG HTML]&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/the-canvas-element.html#2dcontext 2D Context]&lt;br /&gt;
| [http://dev.w3.org/html5/2dcontext/ 2D Context] (HTML WG)&lt;br /&gt;
|-&lt;br /&gt;
! Communications - Cross-document messaging&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages In WHATWG HTML]&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/web-messaging.html#web-messaging Cross-document messaging]&lt;br /&gt;
|rowspan=2| [http://dev.w3.org/html5/postmsg/ HTML5 Web Messaging] (HTML WG)&lt;br /&gt;
|-&lt;br /&gt;
! Communications - Channel messaging&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#channel-messaging In WHATWG HTML]&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/web-messaging.html#channel-messaging Channel messaging]&lt;br /&gt;
|-&lt;br /&gt;
! Web Workers&lt;br /&gt;
| [http://www.whatwg.org/specs/web-workers/current-work/ Web Workers specification]&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/workers.html Web Workers]&lt;br /&gt;
| [http://dev.w3.org/html5/workers/ Web Workers] (WebApps WG)&lt;br /&gt;
|-&lt;br /&gt;
! Web Storage&lt;br /&gt;
| only in WA1&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/webstorage.html Web Storage]&lt;br /&gt;
| [http://dev.w3.org/html5/webstorage/ Web Storage] (WebApps WG)&lt;br /&gt;
|-&lt;br /&gt;
! Web Sockets API&lt;br /&gt;
| only in WA1&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/network.html Web Sockets API]&lt;br /&gt;
| [http://dev.w3.org/html5/websockets/ Web Sockets API] (WebApps WG)&lt;br /&gt;
|-&lt;br /&gt;
! Server-Sent Events&lt;br /&gt;
| only in WA1&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/comms.html#server-sent-events Server-sent Events]&lt;br /&gt;
| [http://dev.w3.org/html5/eventsource/ Server-sent Events] (WebApps WG)&lt;br /&gt;
|-&lt;br /&gt;
! WebVTT&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#webvtt-0 In WHATWG HTML] and informally as [http://www.whatwg.org/specs/web-apps/current-work/webvtt.html WebVTT]&lt;br /&gt;
| [http://www.whatwg.org/specs/web-apps/current-work/complete/video.html#webvtt-0 WebVTT]&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of the above are generated from one [http://www.whatwg.org/specs/web-apps/current-work/source source document].&lt;br /&gt;
&lt;br /&gt;
=== Are there versions of the specification aimed specifically at authors/implementors? ===&lt;br /&gt;
&lt;br /&gt;
Not yet, but check back soon, we&#039;re working on this.&lt;br /&gt;
&lt;br /&gt;
In the meantime, the WHATWG HTML specification (including the multipage version) can be customized to either hide or emphasize user-agent-specific material. The mode can be selected using radio buttons at the top right of those documents.&lt;br /&gt;
&lt;br /&gt;
It is also possible to toggle the mode by changing the URL, here is an example for the multipage WHATWG HTML specification:&lt;br /&gt;
&lt;br /&gt;
* As a normal spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/?style=complete&lt;br /&gt;
* Author view (hiding the user-agent-specific material): http://www.whatwg.org/specs/web-apps/current-work/multipage/?style=author&lt;br /&gt;
* Implementor view (highlighting the user-agent-specific material): http://www.whatwg.org/specs/web-apps/current-work/multipage/?style=highlight&lt;br /&gt;
&lt;br /&gt;
=== When will we be able to start using these new features? ===&lt;br /&gt;
&lt;br /&gt;
You can use some of them now. Others might take a few more years to get widely implemented. Here are some sites to help you work out what you can use:&lt;br /&gt;
&lt;br /&gt;
* http://diveintohtml5.org/&lt;br /&gt;
* http://caniuse.com/&lt;br /&gt;
* http://html5doctor.com/&lt;br /&gt;
* https://developer.mozilla.org/&lt;br /&gt;
* http://dev.opera.com/articles/html/&lt;br /&gt;
&lt;br /&gt;
If you know of any more (or if you have some yourself) then add them to the list! If there are some on the list that aren&#039;t very useful compared to the rest, then remove them!&lt;br /&gt;
&lt;br /&gt;
=== When will HTML5 be finished? ===&lt;br /&gt;
&lt;br /&gt;
The WHATWG is no longer working specifically on HTML5, so this question is no longer really pertinent. See above, under &amp;quot;[[FAQ#What_is_HTML.3F|What is HTML5?]]&amp;quot;. The real question is, when can you use new features? For an answer to &#039;that&#039; question, see &amp;quot;[[FAQ#When_will_we_be_able_to_start_using_these_new_features.3F|When will we be able to start using these new features?]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Different parts of the specification are at different maturity levels. Some sections are already relatively stable and there are implementations that are already quite close to completion, and those features can be used today (e.g. &amp;amp;lt;canvas&amp;amp;gt;). But other sections are still being actively worked on and changed regularly, or not even written yet.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You can see annotations in the margins showing the estimated stability of each section.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The possible states are:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Idea; yet to be specified&#039;&#039; -- the section is a placeholder.&lt;br /&gt;
* &#039;&#039;First draft&#039;&#039; -- An early stage.&lt;br /&gt;
* &#039;&#039;Working draft&#039;&#039; -- An early stage, but more mature than just &amp;quot;first draft&amp;quot;.&lt;br /&gt;
* &#039;&#039;Last call for comments&#039;&#039; -- The section is nearly done, but there may be feedback still to be processed. Send feedback sooner rather than later, or it might be too late.&lt;br /&gt;
* &#039;&#039;Awaiting implementation feedback&#039;&#039; -- The section is basically done, but might change in response to feedback from implementors. Major changes are unlikely past this point unless it is found that the feature, as specified, really doesn&#039;t work well.&lt;br /&gt;
* &#039;&#039;Implemented and widely deployed&#039;&#039; -- the feature is specified and complete. Once a section is interoperably implemented, it&amp;amp;#8217;s quite stable and unlikely to change significantly. Any changes to such a section would most likely only be editorial in nature, particularly if the feature is already in widespread use.&lt;br /&gt;
&lt;br /&gt;
There are also two special states:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Being edited right now&#039;&#039; -- the section is in high flux and is actively being edited. Contact Hixie on [[IRC]] if you have immediate feedback. (This state is not used often.)&lt;br /&gt;
* &#039;&#039;Being considered for removal&#039;&#039; -- for one reason or another, the section is being considered for removal. Send feedback soon to help with the decision.&lt;br /&gt;
&lt;br /&gt;
The point to all this is that you shouldn&amp;amp;#8217;t place too much weight on the status of the specification as a whole. You need to consider the stability and maturity level of each section individually.&lt;br /&gt;
&lt;br /&gt;
=== What&#039;s this I hear about 2022? ===&lt;br /&gt;
&lt;br /&gt;
Before the WHATWG transitioned to an unversioned model for HTML, when we were still working on HTML5 and still thought in terms of snapshot drafts reaching milestones as a whole rather than on a per-section basis, the editor estimated that we&#039;d reach Last Call in October 2009, Candidate Recommendation in the year 2012, and Recommendation in the year 2022 or later. This would be approximately 18-20 years of development, since beginning in mid-2004, which is on par with the amount of work that other specs of similar size and similar maturity receive to get to the same level of quality. For instance, it&#039;s in line with the timeline of CSS2/2.1. Compared to HTML4&#039;s timetable it may seem long, but consider: work on HTML4 started in the mid 90s, and HTML4 &#039;&#039;still&#039;&#039;, more than ten years later, hasn&#039;t reached the level that we want to reach with HTML5. There is no real test suite, there are many parts of the spec that are lacking real implementations, there are big parts that aren&#039;t interoperable, and the spec has hundreds if not thousands of known errors that haven&#039;t been fixed. When HTML4 came out, REC meant something much less exciting than it does now. For a spec to become a REC today, it requires two 100% complete and fully interoperable implementations, which is proven by each successfully passing literally thousands of test cases (20,000 tests for the whole spec would probably be a conservative estimate). When you consider how long it takes to write that many test cases and how long it takes to implement each feature, you&amp;amp;#8217;ll begin to understand why the time frame seems so long.&lt;br /&gt;
&lt;br /&gt;
Now that we&#039;ve moved to a more incremental model without macro-level milestones, the 2022 date is no longer relevant.&lt;br /&gt;
&lt;br /&gt;
=== What about Microsoft and Internet Explorer? === &lt;br /&gt;
&lt;br /&gt;
Microsoft has already started implementing parts of HTML5 in IE8 and is adding more to IE9.&lt;br /&gt;
&lt;br /&gt;
HTML5 is being developed with compatibility with existing browsers in mind, though (including IE). Support for many features can be simulated using JavaScript.&lt;br /&gt;
&lt;br /&gt;
=== Is design rationale documented? ===&lt;br /&gt;
&lt;br /&gt;
Sort of. Often the documentation can be found in the mailing list or IRC channel archives. Sometimes an issue was raised formally, and resolution is recorded in the issue tracker. Sometimes, there is an explanation in the specification, but doing that everywhere would make the specification huge.&lt;br /&gt;
&lt;br /&gt;
For a few cases that someone did take the time document, the information can be found at the following locations:&lt;br /&gt;
&lt;br /&gt;
* [[Rationale]] — a page that documents some reasons behind decisions in the spec, originally written and maintained by Variable. If anyone wants to help him out, try to grab someone on [[IRC]] (e.g. Hixie), we&#039;re always looking for more contributors and this is a good place to start.&lt;br /&gt;
* [[Why no namespaces]]&lt;br /&gt;
* [[Why no script implements]]&lt;br /&gt;
* [[Why not reuse legend]] or another &#039;&#039;mini-header&#039;&#039; element.&lt;br /&gt;
&lt;br /&gt;
Also see &#039;&#039;HTML feature proposals&#039;&#039; below.&lt;br /&gt;
&lt;br /&gt;
== HTML syntax issues ==&lt;br /&gt;
&lt;br /&gt;
=== Will HTML finally put an end to the XHTML as &amp;lt;code&amp;gt;text/html&amp;lt;/code&amp;gt; debate? === &lt;br /&gt;
&lt;br /&gt;
Yes. Unlike HTML4 and XHTML1, the choice of HTML or XHTML is solely dependent upon the choice of the media type, rather than the DOCTYPE. See [[HTML vs. XHTML]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== What will the DOCTYPE be? === &lt;br /&gt;
&lt;br /&gt;
In HTML:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;&amp;amp;lt;!DOCTYPE html&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In XHTML: no DOCTYPE is required and its use is generally unnecessary.  However, you may use one if you want (see the following question).  Note that the above is well-formed XML and so it may also appear in XHTML documents.&lt;br /&gt;
&lt;br /&gt;
For compatibility with legacy producers designed for outputting HTML, but which are unable to easily output the above DOCTYPE, this alternative legacy-compat version may be used instead.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;&amp;amp;lt;!DOCTYPE html SYSTEM &amp;quot;about:legacy-compat&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this is &#039;&#039;&#039;not&#039;&#039;&#039; intended for dealing with any compatibility issues with legacy browsers.  It is meant for legacy authoring tools only.&lt;br /&gt;
&lt;br /&gt;
Excluding the string &amp;lt;code&amp;gt;&amp;quot;about:legacy-compat&amp;quot;&amp;lt;/code&amp;gt;, the DOCTYPE is case insensitive in HTML.  In XHTML, it is case sensitive and must be either of the two variants given above.  For this reason, the DOCTYPEs given above are recommended to be used over other case variants, such as &amp;lt;code&amp;gt;&amp;amp;lt;!DOCTYPE HTML&amp;amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;amp;lt;!doctype html&amp;amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
These alternatives were chosen because they meet the following criteria:&lt;br /&gt;
&lt;br /&gt;
* They trigger standards mode in all current and all relevant legacy browsers.&lt;br /&gt;
* They are well-formed in XML and can appear in XHTML documents.&lt;br /&gt;
* It is possible to output at least one of the alternatives, if not both, with extant markup generators.&lt;br /&gt;
* They intentionally contain no language version identifier so the DOCTYPE will remain usable for all future revisions of HTML.&lt;br /&gt;
* The first is short and memorable to encourage its use.&lt;br /&gt;
* The legacy-compat DOCTYPE is intentionally unattractive and self descriptive of purpose to discourage unnecessary use.&lt;br /&gt;
&lt;br /&gt;
=== Under what conditions should a DOCTYPE be used in XHTML? ===&lt;br /&gt;
&lt;br /&gt;
Generally, the use of a DOCTYPE in XHTML is unnecessary. However, there are cases where inclusion of a DOCTYPE is a reasonable thing to do:&lt;br /&gt;
&lt;br /&gt;
# The document is intended to be a polyglot document that may be served as both HTML or XHTML.&lt;br /&gt;
# You wish to declare entity references for use within the document.  Note that most browsers only read the internal subset and do not retrieve external entities. (This is not compatible with HTML, and thus not suitable for polyglot documents.)&lt;br /&gt;
# You wish to use a custom DTD for DTD-based validation. But take note of [http://about.validator.nu/#faq what&#039;s wrong with DTDs].&lt;br /&gt;
&lt;br /&gt;
Fundamentally, this is an XML issue, and is not specific to XHTML.&lt;br /&gt;
&lt;br /&gt;
=== How are documents from HTML4 and earlier versions parsed? ===&lt;br /&gt;
&lt;br /&gt;
All documents with a text/html media type (that is, including those without or with an HTML 2.0, HTML 3.2, HTML4, or XHTML1 DOCTYPE) will be parsed using the same parser algorithm as defined by the HTML spec. This matches what Web browsers have done for HTML documents so far and keeps code complexity down. That in turn is good for security, maintainability, and in general keeping the amount of bugs down. The HTML syntax as now defined therefore does not require a new parser and documents with an HTML4 DOCTYPE for example will be parsed as described by the new HTML specification.&lt;br /&gt;
&lt;br /&gt;
Validators are allowed to have different code paths for previous levels of HTML.&lt;br /&gt;
&lt;br /&gt;
=== If there is no DTD, how can I validate my page? === &lt;br /&gt;
&lt;br /&gt;
With an [http://validator.whatwg.org/ HTML validator] that follows the latest specification.&lt;br /&gt;
&lt;br /&gt;
=== What is an HTML Serialization? === &lt;br /&gt;
&lt;br /&gt;
The HTML serialization refers to the syntax of an HTML document defined in the HTML specification. The syntax is inspired by the SGML syntax from earlier versions of HTML, bits of XML (e.g. allowing a trailing slash on void elements, xmlns attributes), and reality of deployed content on the Web.&lt;br /&gt;
&lt;br /&gt;
Any document whose MIME type is determined to be &amp;lt;code&amp;gt;text/html&amp;lt;/code&amp;gt; is considered to be an HTML serialization and must be parsed using an HTML parser.&lt;br /&gt;
&lt;br /&gt;
=== What is an XML (or XHTML) Serialization? === &lt;br /&gt;
&lt;br /&gt;
The XML Serialization refers to the syntax defined by XML 1.0 and Namespaces in XML 1.0. A resource that has an XML MIME type, such as &amp;lt;code&amp;gt;application/xhtml+xml&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;application/xml&amp;lt;/code&amp;gt;, is an XML document and if it uses elements in the HTML namespace, it contains XHTML. If the root element is &amp;amp;#8220;html&amp;amp;#8221; in the HTML namespace, the document is referred to as an XHTML document.&lt;br /&gt;
&lt;br /&gt;
=== What MIME type does HTML use? === &lt;br /&gt;
&lt;br /&gt;
The HTML serialization &#039;&#039;must&#039;&#039; be served using the &amp;lt;code&amp;gt;text/html&amp;lt;/code&amp;gt; MIME type.&lt;br /&gt;
&lt;br /&gt;
The XHTML serialization &#039;&#039;must&#039;&#039; be served using an XML MIME type, such as &amp;lt;code&amp;gt;application/xhtml+xml&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;application/xml&amp;lt;/code&amp;gt;. Unlike the situation as of XHTML1, the HTML specification says that XHTML must no longer be served as &amp;lt;code&amp;gt;text/html&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the incorrect MIME type (&amp;lt;code&amp;gt;text/html&amp;lt;/code&amp;gt;) for XHTML will cause the document to be parsed according to parsing requirements for HTML. In other words, it will be treated as tag soup. Ensuring the use of an XML MIME type is the only way to ensure that browsers handle the document as XML.&lt;br /&gt;
&lt;br /&gt;
=== Should I close empty elements with &amp;lt;code&amp;gt;/&amp;amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;amp;gt;&amp;lt;/code&amp;gt;? === &lt;br /&gt;
&lt;br /&gt;
Void elements in HTML (e.g. the &amp;lt;code&amp;gt;br&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;img&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;input&amp;lt;/code&amp;gt; elements) do not require a trailing slash. e.g. Instead of writing &amp;lt;code&amp;gt;&amp;amp;lt;br /&amp;amp;gt;&amp;lt;/code&amp;gt;, you only need to write &amp;lt;code&amp;gt;&amp;amp;lt;br&amp;amp;gt;&amp;lt;/code&amp;gt;. This is the same as in HTML4. However, due to the widespread attempts to use XHTML1, there are a significant number of pages using the trailing slash. Because of this, the trailing slash syntax has been permitted on void elements in HTML in order to ease migration from XHTML1 back to HTML.&lt;br /&gt;
&lt;br /&gt;
The new HTML specification also introduces the ability to embed MathML elements. On elements inside a &amp;lt;code&amp;gt;math&amp;lt;/code&amp;gt; element the trailing slash works just like it does in XML. I.e. it closes the element. This is only inside that context however, it does not work for normal HTML elements.&lt;br /&gt;
&lt;br /&gt;
=== If I&amp;amp;#8217;m careful with the syntax I use in my HTML document, can I process it with an XML parser? === &lt;br /&gt;
&lt;br /&gt;
Yes. Find guidance in [[HTML_vs._XHTML#Differences_Between_HTML_and_XHTML|HTML vs. XHTML]] and [http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html Polyglot Markup: HTML-Compatible XHTML Documents].&lt;br /&gt;
&lt;br /&gt;
A word of warning though. You have to be &#039;&#039;&#039;really&#039;&#039;&#039; careful for this to work, and it&#039;s almost certainly not worth it. You&#039;d be better off just using an HTML-to-XML parser. That way you can just use HTML normally while still using XML pipeline tools.&lt;br /&gt;
&lt;br /&gt;
=== What is the namespace declaration? === &lt;br /&gt;
&lt;br /&gt;
In XHTML, you are required to specify the [http://www.w3schools.com/xml/xml_namespaces.asp namespace.]&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
In HTML, the &amp;lt;code&amp;gt;xmlns&amp;lt;/code&amp;gt; attribute is currently allowed on any HTML element, but only if it has the value &amp;amp;#8220;&amp;lt;code&amp;gt;http://www.w3.org/1999/xhtml&amp;lt;/code&amp;gt;&amp;amp;#8220;. It doesn&amp;amp;#8217;t do anything at all, it is merely allowed to ease migration from XHTML1. It is not actually a namespace declaration in HTML, because HTML doesn&amp;amp;#8217;t yet support namespaces.  See the question [[FAQ#Will_there_be_support_for_namespaces_in_HTML.3F|will there be support for namespaces in HTML]].&lt;br /&gt;
&lt;br /&gt;
=== Will there be support for namespaces in HTML? === &lt;br /&gt;
&lt;br /&gt;
HTML is being defined in terms of the DOM and during parsing of a text/html all HTML elements will be automatically put in the HTML namespace, &amp;lt;code&amp;gt;http://www.w3.org/1999/xhtml&amp;lt;/code&amp;gt;. However, unlike the XHTML serialization, there is no real namespace syntax available in the HTML serialization (see previous question). In other words, you do not need to declare the namespace in your HTML markup, as you do in XHTML. However, you are permitted to put an &amp;lt;code&amp;gt;xmlns&amp;lt;/code&amp;gt; attribute on each HTML element as long as the namespace is &amp;lt;code&amp;gt;http://www.w3.org/1999/xhtml&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In addition, the HTML syntax provides for a way to embed elements from MathML and SVG. Elements placed inside the container element &amp;lt;code&amp;gt;math&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;svg&amp;lt;/code&amp;gt; will automatically be put in the MathML namespace or the SVG namespace, respectively, by the parser. Namespace syntax is not required, but again an &amp;lt;code&amp;gt;xmlns&amp;lt;/code&amp;gt; attribute is allowed if its value is the right namespace.&lt;br /&gt;
&lt;br /&gt;
In conclusion, while HTML does not allow the XML namespace syntax, there is a way to embed MathML and SVG and the xmlns attribute can be used on any element under the given constraints, in a way that is reasonably compatible on the DOM level.&lt;br /&gt;
&lt;br /&gt;
=== How do I specify the character encoding? === &lt;br /&gt;
&lt;br /&gt;
For HTML, it is strongly recommended that you specify the encoding using the HTTP &amp;lt;code&amp;gt;Content-Type&amp;lt;/code&amp;gt; header. If you are unable to [http://www.w3.org/International/O-HTTP-charset configure your server] to send the correct headers, then you may use the &amp;lt;code&amp;gt;meta&amp;lt;/code&amp;gt; element:&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;meta charset=&amp;quot;UTF-8&amp;quot;&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following restrictions apply to character encoding declarations:&lt;br /&gt;
&lt;br /&gt;
* The character encoding name given must be the name of the character encoding used to serialize the file.&lt;br /&gt;
* The value must be a [http://www.iana.org/assignments/character-sets valid character encoding name], and must be the preferred name for that encoding.&lt;br /&gt;
* The character encoding declaration must be serialized without the use of character references or character escapes of any kind.&lt;br /&gt;
* The &amp;lt;code&amp;gt;meta&amp;lt;/code&amp;gt; element used for this purpose must occur within the first 512 bytes of the file.  It is considered good practice for this to be the first child of the &amp;lt;code&amp;gt;head&amp;lt;/code&amp;gt; element so that it is as close to the beginning of the file as possible.&lt;br /&gt;
&lt;br /&gt;
Note that this &amp;lt;code&amp;gt;meta&amp;lt;/code&amp;gt; element is different from HTML 4, though it is compatible with many browsers because of the way encoding detection has been implemented.&lt;br /&gt;
&lt;br /&gt;
For polyglot documents, which may be served as either HTML or XHTML, you may also include that in XHTML documents, but only if the encoding is &amp;quot;UTF-8&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
To ease transition from HTML4 to the latest HTML specification, although the former is the recommended syntax, you may also use the following. (This does not apply to XHTML or polyglot documents)&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=UTF-8&amp;quot;&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
In XHTML, XML rules for determining the character encoding apply.  The meta element is never used for determining the encoding of an XHTML document (although it may appear in UTF-8 encoded XHTML documents).  You should use either the HTTP &amp;lt;code&amp;gt;Content-Type&amp;lt;/code&amp;gt; header or the XML declaration to specify the encoding.&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;?xml version=&amp;amp;quot;1.0&amp;amp;quot; encoding=&amp;amp;quot;UTF-8&amp;amp;quot;?&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, you must use the default of &amp;lt;code&amp;gt;UTF-8&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;UTF-16&amp;lt;/code&amp;gt;. It is recommended that you use &amp;lt;code&amp;gt;UTF-8&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== What are the differences between HTML and XHTML? === &lt;br /&gt;
&lt;br /&gt;
See the list of [[HTML vs. XHTML#Differences_Between_HTML_and_XHTML|differences between HTML and XHTML]] in the wiki.&lt;br /&gt;
&lt;br /&gt;
=== What are best practices to be compatible with HTML DOM and XHTML DOM? ===&lt;br /&gt;
&lt;br /&gt;
Though the intent is that HTML and XHTML can both produce identical DOMs, there still are some differences between working with an HTML DOM and an XHTML one.&lt;br /&gt;
&lt;br /&gt;
Case sensitivity :&lt;br /&gt;
* Whenever possible, avoid testing Element.tagName and Node.nodeName (or do toLowerCase() before testing).&lt;br /&gt;
Namespaces:&lt;br /&gt;
* Use the namespace-aware version for creating elements: Document.createElementNS(ns, elementName)&lt;br /&gt;
&lt;br /&gt;
=== Why does this new HTML spec legitimise tag soup? === &lt;br /&gt;
&lt;br /&gt;
Actually it doesn&amp;amp;#8217;t. This is a misconception that comes from the confusion between conformance requirements for documents, and the requirements for user agents.&lt;br /&gt;
&lt;br /&gt;
Due to the fundamental design principle of supporting existing content, the spec must define how to handle all HTML, regardless of whether documents are conforming or not. Therefore, the spec defines (or will define) precisely how to handle and recover from erroneous markup, much of which would be considered tag soup.&lt;br /&gt;
&lt;br /&gt;
For example, the spec defines algorithms for dealing with syntax errors such as incorrectly nested tags, which will ensure that a well structured DOM tree can be produced.&lt;br /&gt;
&lt;br /&gt;
Defining that is essential for one day achieving interoperability between browsers and reducing the dependence upon reverse engineering each other.&lt;br /&gt;
&lt;br /&gt;
However, the conformance requirements for authors are defined separately from the processing requirements. Just because browsers are required to handle erroneous content, it does not make such markup conforming.&lt;br /&gt;
&lt;br /&gt;
For example, user agents will be required to support the marquee element, but authors must not use the marquee element in conforming documents.&lt;br /&gt;
&lt;br /&gt;
It is important to make the distinction between the rules that apply to user agents and the rules that apply to authors for producing conforming documents. They are completely orthogonal.&lt;br /&gt;
&lt;br /&gt;
== HTML feature proposals ==&lt;br /&gt;
&lt;br /&gt;
=== HTML should support &amp;lt;code&amp;gt;href&amp;lt;/code&amp;gt; on any element! === &lt;br /&gt;
&lt;br /&gt;
The spec allows &amp;amp;lt;a&amp;amp;gt; to contain blocks. It doesn&#039;t support putting href=&amp;quot;&amp;quot; on any element, though.&lt;br /&gt;
&lt;br /&gt;
Supporting &amp;lt;code&amp;gt;href&amp;lt;/code&amp;gt; on any element has several problems associated with it that make it difficult to support in HTML. The main reason this isn&#039;t in HTML is that browser vendors have reported that implementing it would be extremely complex. Browser vendors get to decide what they implement, and there&#039;s no point to us telling them to do something they aren&#039;t going to do. In addition:&lt;br /&gt;
&lt;br /&gt;
* It isn&amp;amp;#8217;t backwards compatible with existing browsers.&lt;br /&gt;
* It adds no new functionality that can&amp;amp;#8217;t already be achieved using the &amp;lt;code&amp;gt;a&amp;lt;/code&amp;gt; element and a little script.&lt;br /&gt;
* It doesn&amp;amp;#8217;t make sense for all elements, such as interactive elements like &amp;lt;code&amp;gt;input&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;button&amp;lt;/code&amp;gt;, where the use of href would interfere with their normal function.&lt;br /&gt;
&lt;br /&gt;
The only advantage it seems to add is that it reduces typing for authors in some cases, but that is not a strong enough reason to support it in light of the other reasons.&lt;br /&gt;
&lt;br /&gt;
Wrapping &amp;amp;lt;a&amp;amp;gt; elements around blocks solves most use cases. It doesn&#039;t handle making rows in tables into links, though; for those just do something like this instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;tr onclick=&amp;quot;location = this.getElementsByTagName(&#039;a&#039;)[0]&amp;quot;&amp;gt; ... &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== HTML should support list headers! ===&lt;br /&gt;
&lt;br /&gt;
You can give a header to a list using the &amp;lt;figure&amp;gt; and &amp;lt;figcaption&amp;gt; elements:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;figcaption&amp;gt;Apples&amp;lt;/figcaption&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;Granny Smith&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;Evil Apple of Knowledge&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;Apple, Inc&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also label a group of lists using a definition list:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;dl&amp;gt;&lt;br /&gt;
  &amp;lt;dt&amp;gt;Dry:&amp;lt;/dt&amp;gt;&lt;br /&gt;
  &amp;lt;dd&amp;gt;&lt;br /&gt;
   &amp;lt;ul&amp;gt;  &lt;br /&gt;
    &amp;lt;li&amp;gt;1c flour&amp;lt;/li&amp;gt;  &lt;br /&gt;
    &amp;lt;li&amp;gt;1/4c sugar&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;1tsp baking soda&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/dd&amp;gt;&lt;br /&gt;
  &amp;lt;dt&amp;gt;Wet:&amp;lt;/dt&amp;gt;&lt;br /&gt;
  &amp;lt;dd&amp;gt;&lt;br /&gt;
   &amp;lt;ul&amp;gt;  &lt;br /&gt;
    &amp;lt;li&amp;gt;1 egg &amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;1/2c milk&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;1tsp vanilla extract&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/dd&amp;gt;&lt;br /&gt;
 &amp;lt;/dl&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These techniques are preferred over adding an &amp;lt;lh&amp;gt; element as proposed in the old HTML3 draft, mostly because of thorny issues with parsing near &amp;amp;lt;li&amp;gt; elements.&lt;br /&gt;
&lt;br /&gt;
=== HTML should support a way for anyone to invent new elements! ===&lt;br /&gt;
&lt;br /&gt;
There are actually quite a number of ways for people to invent their own extensions to HTML:&lt;br /&gt;
&lt;br /&gt;
* Authors can use the &#039;&#039;class&#039;&#039; attribute to extend elements, effectively creating their own elements, while using the most applicable existing &amp;quot;real&amp;quot; HTML element, so that browsers and other tools that don&#039;t know of the extension can still support it somewhat well. This is the tack used by Microformats, for example.&lt;br /&gt;
* Authors can include data for scripts to process using the &#039;&#039;data-*=&amp;quot;&amp;quot;&#039;&#039; attributes. These are guaranteed to never be touched by browsers, and allow scripts to include data on HTML elements that scripts can then look for and process.&lt;br /&gt;
* Authors can use the &#039;&#039;&amp;lt;meta name=&amp;quot;&amp;quot; content=&amp;quot;&amp;quot;&amp;gt;&#039;&#039; mechanism to include page-wide metadata. Names should be registered on the wiki&#039;s [[MetaExtensions]] page.&lt;br /&gt;
* Authors can use the &#039;&#039;rel=&amp;quot;&amp;quot;&#039;&#039; mechanism to annotate links with specific meanings. This is also used by Microformats. Names should be registered on the wiki&#039;s [[RelExtensions]] page.&lt;br /&gt;
* Authors can embed raw data using the &#039;&#039;&amp;lt;script type=&amp;quot;&amp;quot;&amp;gt;&#039;&#039; mechanism with a custom type, for further handling by a script.&lt;br /&gt;
* Authors can create plugins and invoke them using the &#039;&#039;&amp;lt;embed&amp;gt;&#039;&#039; element. This is how Flash works.&lt;br /&gt;
* Authors can extend APIs using the JS prototyping mechanism. This is widely used by script libraries, for instance.&lt;br /&gt;
* Authors can use the microdata feature (the item=&amp;quot;&amp;quot; and itemprop=&amp;quot;&amp;quot; attributes) to embed nested name-value pairs of data to be shared with other applications and sites.&lt;br /&gt;
* Authors can propose new elements and attributes to the working group and, if the wider community agrees that they are worth the effort, they are added to the language. (If an addition is urgent, please let us know when proposing it, and we will try to address it quickly.)&lt;br /&gt;
&lt;br /&gt;
There is currently no mechanism for introducing new proprietary features in HTML documents (i.e. for introducing new elements and attributes) without discussing the extension with user agent vendors and the wider Web community. This is intentional; we don&#039;t want user agents inventing their own proprietary elements and attributes like in the &amp;quot;bad old days&amp;quot; without working with interested parties to make sure their feature is well designed.&lt;br /&gt;
&lt;br /&gt;
We request that people not invent new elements and attributes to add to HTML without first contacting the working group and getting a proposal discussed with interested parties.&lt;br /&gt;
&lt;br /&gt;
=== HTML should group &amp;amp;lt;dt&amp;gt;s and &amp;amp;lt;dd&amp;gt;s together in &amp;amp;lt;di&amp;gt;s! === &lt;br /&gt;
&lt;br /&gt;
This is a styling problem and should be fixed in CSS. There&#039;s no reason to add a grouping element to HTML, as the semantics are already unambiguous.&lt;br /&gt;
&lt;br /&gt;
There are multiple problems with adding something like &amp;amp;lt;di&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* It would require parsing changes. These are relatively expensive.&lt;br /&gt;
* It would have a poor backwards-compatibility story until the parsers were all updated.&lt;br /&gt;
* It would have a poor backwards-compatibility story with legacy code that handles &amp;amp;lt;dl&amp;gt;s, since they&#039;re not expecting &amp;amp;lt;di&amp;gt;s.&lt;br /&gt;
&lt;br /&gt;
The cost just doesn&#039;t seem worth it, given that a CSS solution would also solve a bunch of other problems (like styling implied sections).&lt;br /&gt;
&lt;br /&gt;
=== Why are some presentational elements like &amp;amp;lt;b&amp;gt;, &amp;amp;lt;i&amp;gt; and &amp;amp;lt;small&amp;gt; still included? ===&lt;br /&gt;
&lt;br /&gt;
The inclusion of these elements is a largely pragmatic decision based upon their widespread usage, and their usefulness for use cases which are not covered by more specific elements.&lt;br /&gt;
&lt;br /&gt;
While there are a number of common use cases for italics which are covered by more specific elements, such as emphasis (em), citations (cite), definitions (dfn) and variables (var), there are many other use cases which are not covered well by these elements.  For example, a taxonomic designation, a technical term, an idiomatic phrase from another language, a thought, or a ship name.&lt;br /&gt;
&lt;br /&gt;
Similarly, although a number of common use cases for bold text are also covered by more specific elements such as strong emphasis (strong), headings (h1-h6) or table headers (th); there are others which are not, such as key words in a document abstract or product names in a review.&lt;br /&gt;
&lt;br /&gt;
Some people argue that in such cases, the span element should be used with an appropriate class name and associated stylesheet.  However, the b and i elements provide for a reasonable fallback styling in environments that don&#039;t support stylesheets or which do not render visually, such as screen readers, and they also provide some indication that the text is somehow distinct from its surrounding content.&lt;br /&gt;
&lt;br /&gt;
In essence, they convey distinct, though non-specific, semantics, which are to be determined by the reader in the context of their use. In other words, although they don’t convey specific semantics by themselves, they indicate that that the content is somehow distinct from its surroundings and leaves the interpretation of the semantics up to the reader.&lt;br /&gt;
&lt;br /&gt;
This is further explained in the article &amp;lt;cite&amp;gt;[http://lachy.id.au/log/2007/05/b-and-i The &amp;amp;lt;b&amp;gt; and &amp;amp;lt;i&amp;gt; Elements]&amp;lt;/cite&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, the small element is defined for content that is commonly typographically rendered in small print, and which often referred to as fine print.  This could include copyright statements, disclaimers and other legal text commonly found at the end of a document.&lt;br /&gt;
&lt;br /&gt;
==== But they are PRESENTATIONAL! ====&lt;br /&gt;
&lt;br /&gt;
The problem with elements like &amp;amp;lt;font&amp;gt; isn&#039;t that they are &#039;&#039;presentational&#039;&#039; per se, it&#039;s that they are media-dependent (they apply to visual browsers but not to speech browsers). While &amp;amp;lt;b&amp;gt;, &amp;amp;lt;i&amp;gt; and &amp;amp;lt;small&amp;gt; historically have been presentational, they are defined in a media-independent manner in HTML5. For example, &amp;amp;lt;small&amp;gt; corresponds to the really quickly spoken part at the end of radio advertisements.&lt;br /&gt;
&lt;br /&gt;
=== The &amp;amp;lt;cite&amp;gt; element should allow names of people to be marked up ===&lt;br /&gt;
&lt;br /&gt;
From what some have seen, &amp;amp;lt;cite&amp;gt; is almost always used to mean &amp;quot;italics&amp;quot;. More careful authors have used the element to mark up names and titles, and some people have gone out of their way to only mark up citations.&lt;br /&gt;
&lt;br /&gt;
So, we can&#039;t really decide what the element should be based on past practice, like we usually do.&lt;br /&gt;
&lt;br /&gt;
This leaves the question of what is the most useful use we can put the element to, if we keep it. The conclusion so far has been that the most useful use for &amp;amp;lt;cite&amp;gt; is as an element to allow typographic control over titles, since those are often made italics, and that semantic is roughly close to what it meant in previous versions, and happens to match at least one of the common uses for the element. Generally, however, names and titles aren&#039;t typeset the same way, so making the element apply to both would lead to confusing typography.&lt;br /&gt;
&lt;br /&gt;
There are already many ways of marking up names already (e.g. the [http://microformats.org/wiki/hcard hCard microformat], the microdata vCard vocabulary, &amp;amp;lt;span&amp;gt; and class names, etc), if you really need it.&lt;br /&gt;
&lt;br /&gt;
=== The &amp;amp;lt;time&amp;gt; element should allow vague times (&amp;quot;March&amp;quot;) and times from ancient history to be marked up ===&lt;br /&gt;
&lt;br /&gt;
This has been discussed a number of times. For an overview of the topic, please see these e-mails:&lt;br /&gt;
* http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-March/018888.html&lt;br /&gt;
* http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-August/021745.html&lt;br /&gt;
At this stage, as discussed in the second of those e-mails, the best way forward is to demonstrate that there are communities interested in solving this problem, by using existing techniques such as microdata to address it. If such a solution achieves a high adoption rate, that will substantially increase the strength of the proposals.&lt;br /&gt;
&lt;br /&gt;
(In the future, it is expected that the &amp;amp;lt;time&amp;gt; element will be extended to support years and years+months, but this is awaiting implementation experience with what is already specified.)&lt;br /&gt;
&lt;br /&gt;
=== &amp;amp;lt;input type=&amp;quot;text&amp;quot;&amp;gt; needs a minlength=&amp;quot;&amp;quot; attribute ===&lt;br /&gt;
&lt;br /&gt;
This has been discussed, but we are waiting for browsers to catch up with the many new form features before adding new ones like minlength=&amp;quot;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== WHATWG and the W3C HTML WG ==&lt;br /&gt;
&lt;br /&gt;
=== Are there plans to merge the groups? ===&lt;br /&gt;
&lt;br /&gt;
No. There are people who for a number of reasons are unable to join the W3C group, and there are others who are unable to join the WHATWG group. The editor is in both groups and takes all input into account — and there are far more places where input on HTML5 is sent than just these two mailing lists (e.g. blogs, www-html@w3.org, forums, direct mail, meetings, etc).&lt;br /&gt;
&lt;br /&gt;
=== Which group has authority in the event of a dispute? ===&lt;br /&gt;
&lt;br /&gt;
The editor takes feedback from everyone into account and does not look at the source of those arguments for technical arguments.&lt;br /&gt;
&lt;br /&gt;
The W3C HTML Working Group has an escalation process that in some cases results in a decision being made that differs from the editor&#039;s original decision on a topic. So far, whenever this has happened the WHATWG has gone along with the W3C&#039;s request; nothing of especially big importance has been changed in this manner so far (it&#039;s mostly been editorial issues or mostly minor technical issues). In general the WHATWG will ensure that the normative content of the specifications (the requirements on authors and implementors) remains the same so long as the W3C group doesn&#039;t demonstrate any serious lapses in judgement.&lt;br /&gt;
&lt;br /&gt;
=== What is the history of HTML? ===&lt;br /&gt;
&lt;br /&gt;
Here are some documents that detail the history of HTML:&lt;br /&gt;
* [http://esw.w3.org/topic/HTML/history HTML&#039;s timeline on the ESW wiki]&lt;br /&gt;
* [http://www.whatwg.org/specs/web-apps/current-work/multipage/introduction.html#history0 The history section in HTML5 itself]&lt;br /&gt;
&lt;br /&gt;
== Mailing List ==&lt;br /&gt;
&lt;br /&gt;
=== Should I top-post or reply inline? ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please reply inline or make the reply self-contained, and trim extraneous quotes from previous e-mails in your replies.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Basically, please remove anything after the last line you have written, so that people don&#039;t have to scroll down to find out what else you wrote, and make sure that your e-mail makes sense on its own, as it will probably be read out of context years later.&lt;br /&gt;
&lt;br /&gt;
That is, you should reply like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Ian wrote:&lt;br /&gt;
&amp;gt; What do you want? &lt;br /&gt;
&lt;br /&gt;
I want cats!&lt;br /&gt;
&lt;br /&gt;
&amp;gt; When do you want it?&lt;br /&gt;
&lt;br /&gt;
Now!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should definitely not reply like this (because this requires people to read your e-mail backwards):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;error&amp;quot; &amp;gt;&lt;br /&gt;
No&lt;br /&gt;
&lt;br /&gt;
Ian wrote:&lt;br /&gt;
&amp;gt; Is this a good example of how to post e-mails?&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should also not reply like this (because this leaves people to wonder if there is any text lower down that you have written):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;error&amp;quot; &amp;gt;&lt;br /&gt;
This is a bad way to write e-mail.&lt;br /&gt;
&lt;br /&gt;
Ian wrote:&lt;br /&gt;
&amp;gt; Is this a good way to write e-mail?&lt;br /&gt;
&amp;gt; Lorem ipsum foo bar baz.&lt;br /&gt;
&amp;gt; Unrelated other bits that aren&#039;t replied to.&lt;br /&gt;
&amp;gt; Yet more text&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should also not reply like this (with no context at all), because the reader will not know what you are referring to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;error&amp;quot; &amp;gt;&lt;br /&gt;
No, I think that&#039;s a bad idea. It wouldn&#039;t be good for the readers, for instance.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Quote enough original text or provide an introduction yourself.&lt;br /&gt;
&lt;br /&gt;
If you use Outlook or Outlook Express, you can use either [http://home.in.tum.de/~jain/software/outlook-quotefix/ Outlook-QuoteFix] or [http://home.in.tum.de/~jain/software/oe-quotefix/ OE-QuoteFix]. These plugins fix several of Outlook&#039;s problems with sending properly formatted emails.&lt;/div&gt;</summary>
		<author><name>Oli</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5392</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5392"/>
		<updated>2010-08-20T08:34:49Z</updated>

		<summary type="html">&lt;p&gt;Oli: /* year month discussion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
*Restyling dates for localisation and to follow user conventions&lt;br /&gt;
**2010 to 平22年 to 2010年 (all acceptable ways to represent 2010 in Japan)&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] This would be useful for semantically marking up years, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year). Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL)&lt;br /&gt;
* Restyling dates for localisation and to follow user conventions&lt;br /&gt;
** 2010-08 to 08-2010 to 平22年8月 to 2010年8月 (all acceptable ways to represent August 2010 in Japan)&lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] As with the year example above, this would be useful for semantically marking up year-month dates, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year, and 月 after the month). Having this data semantically notated would help make the use in Japan of 2-digit years on credit cards and in e-commerce more accessible. Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). [ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Oli</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5391</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5391"/>
		<updated>2010-08-20T08:34:10Z</updated>

		<summary type="html">&lt;p&gt;Oli: /* year month discussion */ adding various use cases&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
*Restyling dates for localisation and to follow user conventions&lt;br /&gt;
**2010 to 平22年 to 2010年 (all acceptable ways to represent 2010 in Japan)&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] This would be useful for semantically marking up years, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year). Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL)&lt;br /&gt;
* Restyling dates for localisation and to follow user conventions&lt;br /&gt;
** 2010-08 to 08-2010 to 平22年8月 to 2010年8月 (all acceptable ways to represent August 2010 in Japan)&lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] As with the year example above, this would be useful for semantically marking up year-month dates, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year, and 月 after the month). Having this data semantically notated would help make the use in Japan of 2-digit years on credit cards and in e-commerce more accessible. Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). ref: [[http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Oli</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5390</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5390"/>
		<updated>2010-08-20T08:29:56Z</updated>

		<summary type="html">&lt;p&gt;Oli: /* year month use cases */ adding Japanese use case as per year example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
*Restyling dates for localisation and to follow user conventions&lt;br /&gt;
**2010 to 平22年 to 2010年 (all acceptable ways to represent 2010 in Japan)&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] This would be useful for semantically marking up years, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year). Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL)&lt;br /&gt;
* Restyling dates for localisation and to follow user conventions&lt;br /&gt;
** 2010-08 to 08-2010 to 平22年8月 to 2010年8月 (all acceptable ways to represent August 2010 in Japan)&lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Oli</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5389</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5389"/>
		<updated>2010-08-20T08:27:57Z</updated>

		<summary type="html">&lt;p&gt;Oli: /* year only discussion */ adding link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
*Restyling dates for localisation and to follow user conventions&lt;br /&gt;
**2010 to 平22年 to 2010年 (all acceptable ways to represent 2010 in Japan)&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] This would be useful for semantically marking up years, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year). Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Oli</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5388</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5388"/>
		<updated>2010-08-20T08:26:19Z</updated>

		<summary type="html">&lt;p&gt;Oli: /* year only use cases */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
*Restyling dates for localisation and to follow user conventions&lt;br /&gt;
**2010 to 平22年 to 2010年 (all acceptable ways to represent 2010 in Japan)&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] This would be useful for semantically marking up years, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year). Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Oli</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5387</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5387"/>
		<updated>2010-08-20T08:25:36Z</updated>

		<summary type="html">&lt;p&gt;Oli: /* year only discussion */ adding Japanese and future imprecise events use cases&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
*Restyling dates for localisation and to follow user conventions&lt;br /&gt;
**2010 to 平22年&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] This would be useful for semantically marking up years, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year). Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Oli</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5386</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5386"/>
		<updated>2010-08-20T08:17:59Z</updated>

		<summary type="html">&lt;p&gt;Oli: /* year only use cases */ adding i18n example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
*Restyling dates for localisation and to follow user conventions&lt;br /&gt;
**2010 to 平22年&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Oli</name></author>
	</entry>
</feed>