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:

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

Examples:

<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>