Img (HTML element)
From Wiki @ Karl Jones dot com
Revision as of 09:54, 12 April 2016 by Karl Jones (Talk | contribs)
In HTML, the img element specifies a digital image.
Description
The img element is empty -- it consists of a single tag (no closing tag).
The src attribute specifies the URL (web address) of the image.
Example:
<img src="your_image.jpg" alt="Describe the image" style="width:100px;height:100px;" />
Note the backslash "/" character at the end of the tag.
See also
External links
- HTML images @ w3schools.com
- HTML img tag @ w3schools.com
- IMG element @ w3.org