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

0 Response to "command"

Post a Comment