icon
            收藏:0  
            阅读:47
        
        
        HTML <command> icon 属性
实例
代表 <command> 元素的图像:
		<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>
浏览器支持
	![]()
![]()
![]()
![]()
 
目前,几乎所有的主流浏览器都不支持 icon 属性。
定义和用法
icon 属性规定代表 command 元素的图像。
HTML 4.01 与 HTML5之间的差异
<command> 标签是 HTML5 中的新标签。
语法
		<command icon="URL">
	
属性值
| 值 | 描述 | 
|---|---|
| URL | 
				规定代表 command 的图像。
				 可能的值: 
  |