icon Attribute
Provides a Uniform Resource Locator (URL) to a bitmap (.bmp) or graphics interchange format (.gif) file, which is used for the button or menu item.
|
The icon attribute is an optional attribute of the button element.
If an icon is not specified, the caption alone will be used. If both caption and icon are specified, both will be displayed. Alternatively, the value can also be an ID, allowing access to internal system icons. If the value is an integer, it will be interpreted as an ID.
The following is an example of the icon attribute as it is used in the button element:
|