Img (HTML element)

From Wiki @ Karl Jones dot com
Revision as of 10:54, 12 April 2016 by Karl Jones (Talk | contribs) (Karl Jones moved page HTML img element to Img (HTML element))

(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;" />

Note the backslash "/" character at the end of the tag.

See also

External links