HTML icon attribute
Example
Representing
Try it »
Browser support





Currently, almost all major browsers do not support the icon attribute.
Definition and Usage
The icon attribute specifies the image that represents the command element.
Differences between HTML 4.01 and HTML5
Syntax
Attribute values
| Value | Description |
|---|---|
| URL | Specifies the image that represents the command.
Possible values: |
HTML