HTML command icon property
Examples
Representative <command> element image:
<menu>
<command type="radio" label="Left" icon="left.png"
onclick="setAlign('left')">Left</command>
</menu>
<command type="radio" label="Left" icon="left.png"
onclick="setAlign('left')">Left</command>
</menu>
try it"
Browser Support
Currently, almost all the mainstream browsers do not support icon properties.
Definition and Usage
icon attribute specifies the command element of the representative image.
Differences between HTML 4.01 and HTML5
<Command> tag is new in HTML5 tags.
grammar
<command icon="URL">
Property Value
值 | 描述 |
---|---|
URL | 规定代表 command 的图像。 可能的值:
|
HTML <command> tag