Difference between revisions of "Img (HTML element)"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (Created page with "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...") |
(No difference)
|
Revision as of 08:37, 8 February 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;">
See also
External links
- HTML images @ w3schools.org
- HTML img tag @ w3schools.org