Html5 command Tag

Command tag is new in Html 5 and we are identify that command button. which is like a radio button, checkbox, or submit button.The command element we can use to inside a menu tag only suppose if it will use to out side of menu ,will not work that.

Syntax:

<command></command>

Example Code



<!DOCTYPE HTML>
<menu>
  <command onclick="alert('This is command button!')">Click This! </command>
</menu>

Out Put :

Click This!

Attributes:

Following list is a command tag attribute example code.