Difference between revisions of "Img (HTML element)"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) m (Karl Jones moved page HTML img element to Img (HTML element)) |
(No difference)
|
Latest revision as of 09:54, 12 April 2016
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