HTML <command> icon Attribute
Example
An image that represents the <command> element:
<menu>
<command type="radio" label="Left" icon="left.png"
onclick="setAlign('left')">Left</command>
</menu>
Try it Yourself »
Browser Support
Attribute | |||||
---|---|---|---|---|---|
icon | Not supported | Not supported | Not supported | Not supported | Not supported |
Definition and Usage
The icon attribute specifies an image that represents the command.
Syntax
<command icon="URL">
Attribute Values
Value | Description |
---|---|
URL | Specifies the picture that represents the command. Possible values:
|
❮ HTML <command> tag