Skip to Content
HTML Pocket Reference
book

HTML Pocket Reference

by Jennifer Niederst Robbins
December 1999
Intermediate to advanced
95 pages
2h 34m
English
O'Reilly Media, Inc.
Content preview from HTML Pocket Reference

Name

<img> — NN: 2, 3, 4 &bull; MSIE: 2, 3, 4, 5 &bull; HTML 4 &bull; WebTV &bull; Opera3

Synopsis

<img>

Places a graphic on the page.

Attributes

align=type (see options below)

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

Type

Resulting Alignment

absbottom

Navigator 3.0/4.0 and Internet Explorer 4.0 only. Aligns the bottom of the image with the bottom of the current line.

absmiddle

Navigator 3.0/4.0 and Internet Explorer 4.0 only. Aligns the middle of the image with the middle of the current line.

baseline

Navigator 3.0/4.0 and Internet Explorer 4.0 only. Aligns the bottom of the image with the baseline of the current line.

bottom

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

center

According to the W3C HTML 4.0 Specification, this centers the image horizontally on the page; however, in reality, browsers treat it the same as align=middle.

left

Aligns 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 image on the right margin and allows subsequent text to wrap around it.

texttop

Navigator only. Aligns the top of the image with the ascenders of the text line.

top

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

alt=text

Provides a string of alternative text that appears when the image is not displayed.

border=number

Specifies the width (in pixels) of the border that surrounds ...

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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

HTML Pocket Reference, Second Edition

HTML Pocket Reference, Second Edition

Jennifer Niederst Robbins
HTML5

HTML5

Matthew David

Publisher Resources

ISBN: 1565925793Catalog PageErrata