Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions
 Discussion Forums
 HTML, XML, JavaScript...
 Software Reviews
 Editors,Others...
 Top100
 JavaScript Tutorials, ...
 Tutorials
 ASP, CSS, Databases...
 Discussion List
 FAQ, Roundup, Configure ...
 Authoring
 HTML, JavaScript, CSS...
 Design
 Layout, Navigation,...
 Graphics
 Tools, Colors, Images...
 Software
 Browsers, Editors, XML...
 Internet
 Domains, E-Commerce, ...
 WDVL Resources
  Intermdiate, Tutorials,...
 WDVL
 Discussion Lists, Top 100,...
 Technology Jobs


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Top 10 Articles
  1. Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions
  2. JavaScript Tutorial for Programmers
  3. Design
  4. JavaScript Tutorial for Programmers - Objects
  5. JavaScript Tutorial for Programmers - JavaScript Grammar
  6. JavaScript Tutorial for Programmers - Versions of JavaScript
  7. Cascading Style Sheets
  8. JavaScript Tutorial for Programmers - Embedding JavaScript
  9. JavaScript Tutorial for Programmers - Functions
  10. Authoring JavaScript
Domain Name Lookup
Search to find the availability of a domain name. Just enter the complete domain name with extension (.com, .net, .edu)

AREA

AREA elements specify the geometric regions of an image map and their associated links.

Web Developer's Virtual Library HTML DHTML XML The AREA element attributes are:

  • shape - Shapes include default (specifies the entire map), rect, circle, and poly.
  • coords - The position of the shape within the map. Values are in lengths. Lengths are measured in pixels and are separated by commas. The number and order of the values is determined by the shape being defined. All coordinates are defined as they relate to the top left corner of the image, which has coordinates of 0,0.

    In the example to the right, each square represents one pixel in an image. Each pixel has it's own coordinate which is used to describe the shape of the image map.

    Coordinate: Example:
    • Left - X
    • Top - Y
    • Right - X
    • Bottom - Y
    • Left - 0
    • Top - 0
    • Right - 2
    • Bottom - 1

    A rectangular shape is described by the coordinates, thus, the area outlined in blue in the example would be described:

    <AREA 	SHAPE	= RECT
    		COORDS	= "0,0,2,1"
    
  • href - The URL associated with the shape.
  • nohref - The area has no associated link.
  • alt - A description of the shape/linked area.

<IMG 	SRC	= "wdvlmap.gif"
	WIDTH	= 157
	HEIGHT	= 194
	ALT	= ""
	BORDER	= "0"
	USEMAP	= "#WDVL"
	>
	
<MAP NAME="WDVL">	
<AREA 	SHAPE	= RECT
	COORDS	= "20,7,111,54"
	HREF	= "http://WDVL.com/"
	ALT	= "Web Developer's Virtual Library"
	>
	
<AREA 	SHAPE	= RECT
	COORDS	= "24,54,116,100"
	HREF	= "/Authoring/HTML/"
	ALT	= "HTML"
	>
	
<AREA 	SHAPE	= RECT
	COORDS	= "53,102,153,141"
	HREF	= "/Authoring/DHTML/"
	ALT	= "DHTML"
	>
	
<AREA 	SHAPE	= RECT
	COORDS	= "14,142,99,189"
	HREF	= "/Authoring/Languages/XML.html"
	ALT	= "XML"
	>
	
<AREA 	SHAPE	= default
	HREF	= "/Authoring/HTML/4/Tags/area.html"
	ALT	= ""
	>
</MAP>	

Additional Resources:

HTML 4.01 Tags


Up to => Home / Authoring / HTML / 4 / Tags




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers