Skip to Content
Web Design in a Nutshell, 3rd Edition
book

Web Design in a Nutshell, 3rd Edition

by Jennifer Robbins
February 2006
Intermediate to advanced
826 pages
63h 42m
English
O'Reilly Media, Inc.
Content preview from Web Design in a Nutshell, 3rd Edition

Name

img

Synopsis

<img />

Places an image on the page.

Attributes

Core(id, class, style, title), Internationalization, Events

align=" type "

Deprecated. Specifies the alignment of an image using one of the following values:

Type

Resulting alignment

bottom

Aligns the bottom of the image with the text baseline. This is the default vertical alignment.

left

Aligns the image on the left margin and allows subsequent text to wrap around it.

middle

Aligns the text baseline with the middle of the image.

right

Aligns the image on the right margin and allows subsequent text to wrap around it.

top

Aligns the top of the image with the top of the tallest object on that line.

alt=" text "

Required. Provides a string of alternative text that appears when the image is not displayed. Internet Explorer 4.0+ and Netscape 6 on Windows display this text as a “tool tip” when the mouse rests on the image.

border=" number "

Deprecated.Specifies the width (in pixels) of the border that surrounds a linked image.

height=" number "

Specifies the height of the image in pixels. It is not required, but is recommended to speed up the rendering of the web page.

hspace=" number "

Deprecated. Specifies (in number of pixels) the amount of space to leave clear to the left and right of the image.

ismap

Indicates that the graphic is used as the basis for a server-side image map (an image containing multiple hypertext links).

longdesc=" URL "

Specifies a link to a long description of the image or an image ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Responsive Web Design with HTML5 and CSS3

Beginning Responsive Web Design with HTML5 and CSS3

Jonathan Fielding

Publisher Resources

ISBN: 0596009879Errata Page