img

The img element represents an image.

Attributes

<img attribute-name="attribute-value">
Name Value Description
alt normal character data Fallback content for the image map
height non-negative integer Height of the canvas in CSS pixels
ismap ismap | empty Specifies that its img element provides access to a server-side image map
src URI URL for the audio stream
usemap hash-name reference Hash-name reference to a map element with which to associate the image
width non-negative integer Width of the canvas in CSS pixels

Global

Example | alt

Example | height

Example | ismap

Example | src

Example | usemap

Example | width

External

W3C HTML 4.01 Specification

W3C HTML5

W3C HTML 5.1