command

command


The HTML <command> element is used to insert context menu commands that the user can invoke. This is a Void Element so it does not have a closing tag.
HTML CODE EXAMPLE
<menu type="toolbar">
  <command type="command" label="Menu Item 1" onclick="function1()">
  <command type="command" label="Menu Item 2" onclick="function2()">
</menu>

Attributes for this element:

global attributes - global core attributes
See: list of global attributes

Event handlers for this element:

global event handlers - global event handler attributes
See: list of global event handlers

Related Posts :

  • button button The HTML <button> element is a multipurpose button component. The but… Read More...
  • br br The HTML <br> element is used to create a line break in your content. HT… Read More...
  • caption caption The HTML <caption> element is used to specify the title of the <… Read More...
  • cite cite The HTML <cite> element is used to represent the cited title of materi… Read More...
  • canvas canvas NOTE: This new element is HTML5 and will be a standardized element in 2014. … Read More...

0 Response to "command"

Post a Comment