The link, area, and anchor Objects
These objects are created within a document when hypertext links or targets are created using the <a> or <area/> element. A link object is created when the <a> element uses the href attribute, and the anchor object is created when it uses the name attribute. area objects are created for each <area/> element used for creating client-side image maps.
→ To read about the use of the <area/> element to create image maps, see "Client-Side Image Maps,"
link and area objects are referenced through the link's object array. Each object in this array has the same properties as a location object (see Table 19.1 earlier in the chapter). In addition, these objects have the events listed in Table 19.3.
Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.