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

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

Synopsis

<area>

The area tag is used within the <map> tag of a client-side imagemap to define a specific “hot” (clickable) area.

Attributes

coords=values

Specifies a list of comma-separated pixel coordinates that define a “hot” area of an imagemap. The specific syntax for the coordinates varies by shape as follows:

Rectangles

If shape=rect or rectangle, use the coordinates x1,y1,x2,y2, where x1,y1 are the coordinates for the point at the top, left corner and x2,y2 are the coordinates for the bottom, right corner.

Circles

If shape=circ or circle, use the coordinates x,y,r, where x and y are the coordinates of the centerpoint, and r is the length of the radius.

Polygons

If shape=poly, use the coordinates x1,y1,x2,y2, x3,y3,..., where the values are sets of x,y coordinates for points around the path that surrounds the area.

href=url

Specifies the URL for a specific area.

nohref

Defines a “mouse-sensitive” area in an imagemap for which there is no action when the user clicks in the area.

shape=rect|rectangle|circ|circle|poly|polygon

Defines the shape of the clickable area. The shape name must be accompanied by the appropriate set of coordinates (see syntax under coords attribute above).

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