HTML Attribute - icon

The HTML attribute icon is used to define the icon to use with a menuitem.

The icon attribute is only supported by Firefox.

Used for:

Defines a command/menu item that the user can invoke from a popup menu


<menu type="context" id="m1"> <menuitem label="Google" icon="google.png"></menuitem> <menuitem label="Twitter" icon="twitter.png"></menuitem> <menuitem label="Facebook" icon="facebook.png"></menuitem> </menu>