HTML src property
Example
An HTML form with an image submit button:
Try it »
Browser support





All major browsers support the src property.
Definition and Usage
The src attribute specifies the URL of the image displayed as the submit button.
**Note:** The src attribute is required for and can only be used with .
Differences between HTML 4.01 and HTML5
none.
Syntax
Attribute values
| Value | Description |
|---|---|
| URL | Specifies the URL of the image to be used as a submit button.
Possible values: |
HTML tag