HTML <img> src Attribute
HTML <img> tag
Example
An image is marked up as follows:
| <img src="angry.gif" alt="Angry face" /> |
Try it yourself »
|
Definition and Usage
The required src attribute specifies the URL of an image.
Browser Support

The src attribute is supported in all major browsers.
Syntax
Attribute Values
| Value |
Description |
| URL |
The URL of the image. Possible values:
- An absolute URL - points to another web site (like src="http://www.example.com/image.gif")
- A relative URL - points to a file within a web site (like src="image.gif")
|
HTML <img> tag
Click here to design a Stunning Flash Website for Free
Wix is a revolutionary web design tool that provides anyone with the possibility to create professional and beautiful websites for free.
With e-commerce features, search engine visibility and many more professional tools, Wix is the ultimate solution for creating a spectacular site while saving tons of money.
|