I'm trying to get a handle on the new HTML5 elements and start using them correctly. I am thoroughly confused as to the status of the <command>
element.
According to the W3C website Editor's Draft:
A command is the abstraction behind menu items, buttons, and links. http://www.w3.org/html/wg/drafts/html/master/semantics.html#commands
And the W3C Working Group Note:
The command element is a multipurpose element for representing commands. http://www.w3.org/TR/html-markup/command.html#command
But, according to MDN:
Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/command
More information is given here:
The
<command>
element has now been dropped from the HTML5 specification. Therefore, you should not use it in your HTML markup. I have decided to keep this page for information purposes only. http://www.quackit.com/html_5/tags/html_command_tag.cfm
And w3schools simply ignores it. http://www.w3schools.com/tags/default.asp
What exactly is the HTML5 <command> tag and what is the browser support has an answer that states the element is removed but the whatwg mailing list it cites don't seem to come to a normative conclusion, the element is still in the spec, and other notes in that letter seem to be out of date. The <menu>
element seems to have overlap but there's no note in the spec about which to use in which case.
So, is the <command>
element in or out?