command
#UK[kəˈmɑ:nd] US[kəˈmænd]
n. Command, command; command, headquarters; [computer] command; control Force
vt. command; command, control, order; deserve, deserve
vi.give order; order, instruction
adj. command, according to the order ( or request)
html5<command> tag syntax
Function: The command element represents the command that the user can call. The <command> tag can define command buttons, such as radio buttons, check boxes, or buttons. The command element is only visible if it is inside a menu element. Otherwise this element will not be displayed, but it can be used to specify keyboard shortcuts.
Parameters:
Properties | Value | Description |
checked | checked | Defines whether it is checked. Only for radio or checkbox types. |
disabled | disabled | Define whether command is available. |
icon | url | Define the url of the image displayed as command. |
label | text | Define a visible label for command. |
radiogroup | groupname | Define the group name to which command belongs. Only used when type is radio. |
type | checkbox command radio | Define the command type. The default is "command". |
html5<command> tag example
<!DOCTYPE HTML> <html> <body> <menu> <command type="command">Click Me!</command> </menu> </body> </html>
Click the "Run instance" button to view the online instance