An image is marked up as follows:
![]()
The src attribute is supported in all major browsers.
The required src attribute specifies the URL of the image.
Note: When a web page loads; it is the browser, at that moment, that gets the image from a web server and inserts it into the page. Therefore, make sure that the image actually stay in the same spot in relation to the web page, otherwise your visitors will get a broken link icon. The broken link icon is shown if the browser cannot find the image.
NONE.
| Value | Description |
|---|---|
| URL | The URL of the image. Possible values:
|
HTML <img> tag
Your message has been sent to W3Schools.