With reference of previous chapter you may have known about CANVAS Element now. In this chapter we will learn about the COMMAND Element. This Element is not supported in any browsers yet.
COMMAND Element is basically used for commanding code of HTML5. As if we want to save a file, open a file or anything else that shows the command function, will be prompted with COMMAND Element. It can be used for radio buttons, checkboxes and command buttons to invoke the particular function. The COMMAND Element is not supported by any of the browsers yet. This Element is still under development. The COMMAND Element can be used inside the MENU Element or outside anywhere in the BODY Element.
Here is the Syntax for COMMAND Element
<command type="command" label="click" onclick="click()">Click Me</command>
Below is complete syntax along with example