Img (HTML element)

From Wiki @ Karl Jones dot com
Revision as of 08:37, 8 February 2016 by 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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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