## HTML `` icon Attribute
The `icon` attribute of the `` element specifies an image URL to represent the command. This image is typically displayed as an icon next to or within the command item in a menu.
> **Note:** The `` element and its `icon` attribute were introduced in HTML5 but have since been deprecated and removed from the HTML living standard. They are not supported by modern web browsers.
---
## Syntax
```html
```
### Attribute Values
| Value | Description |
| :--- | :--- |
| `URL` | Specifies the URL of the image representing the command.
**Possible values:** β’ **Absolute URL:** Points to an external image (e.g., `icon="https://www.example.com/icons/left.png"`). β’ **Relative URL:** Points to a file within the same website (e.g., `icon="images/left.png"`). |
---
## Code Example
The following example demonstrates how the `icon` attribute was designed to display an image next to a menu command:
```html
```
---
## Browser Support
Currently, **no major modern browsers** (including Google Chrome, Mozilla Firefox, Apple Safari, Microsoft Edge, and Opera) support the `` tag or its `icon` attribute.
| Attribute | Chrome | Firefox | Safari | Edge | Opera |
| :--- | :--- | :--- | :--- | :--- | :--- |
| `icon` | β Not Supported | β Not Supported | β Not Supported | β Not Supported | β Not Supported |
---
## Modern Alternatives
Since the `` element is obsolete, you should use standard HTML5 elements combined with CSS and JavaScript to build interactive menus with icons.
### Alternative Example using `