Image src property
Image Object
Definition and Usage
The src property sets or returns the value of the src attribute of an image.
The src attribute specifies the URL of an image.
Syntax
imageObject.src=
URL
Browser support





All major browsers support the src attribute
Example
Example
Try it »
Image Object