Orvado Technologies is your one-stop shop for custom web site solutions, quality work at affordable rates
 
orvado side

<IMG>

The IMG element is the primary method for including graphics onto your web page. The graphics may be encoded using various different formats with the most popular being JPeg, GIF and PNG.

In order to do simple animation, the GIF standard supports simple animation which you may place on your web page using the IMG element.

Attributes

Attribute Description
ID Identifies this tag to reference in script (program code)
CLASS Define the class used to render this element (defined by a style sheet)
TITLE A title that is associated with the element (displayed as a tooltip in Internet Explorer)
SRC A URI which indicates the location of the image resource. This may be a virtual pathname such as /images/smile.gif or a relative path such as ../../images/smile.gif
ALT Define alternate text to show in place of the image (for non-graphical web browers)
NAME Defines a name to associate with the element for the Document Object Model (DOM) for referencing through client-side scripting (such as Javascript)
WIDTH Width of the image in pixels. Specifying the width and height helps browsers render the page quickly without waiting for all of the images to be downloaded
HEIGHT Height of the image in pixels.
USEMAP Contains the URI for an "image map" resource indicating the different regions which may be clicked and the resources they link to
ISMAP This attribute must be present if your image is intended to be used as an "image map"

Example

<IMG SRC="/img/index_01.gif" WIDTH="175" HEIGHT="62" ALT="Welcome to Orvado DNS!">

Renders As:

Welcome to Orvado DNS!

Compatibility

HTML 4.01
Return to HTML Tag Reference Overview

Featured Clients

ASP Nuke

ASP Nuke is a community portal and content management system written for Active Server Pages and a SQL Server database.
Site Map   Terms of Service   Privacy Policy