HTML Level 1 and 2 Manual

Home | Element Index | Forms | Screens & Colours | GIFs | Layout | Compatibility


Element Index > Embedded Objects

<IMG> Element

Category: Embedded Objects
Period: HTML 2.0
Status: core

Description

Embeds an inline image.

Syntax

<IMG SRC="picture.gif" ALT="description">

Attributes

SRC, ALT, ALIGN, ISMAP. WIDTH, HEIGHT, BORDER and HSPACE/VSPACE were common extensions, not strict HTML 2.0.

Usage Guidelines

Common Mistakes

Example Code

<P><IMG SRC="images/logo.gif" ALT="The Company Logo">
<P>Welcome to our catalogue.

Authoring Note

Write the document first, then test it in a graphical browser and a text browser. The page should remain understandable if images fail, colours are ignored, or the browser uses its own fonts.


Top | Home | All Elements

HTML Level 1 and 2 Manual.