The Wayback Machine - https://web.archive.org/web/20100630160701/http://www.webreference.com:80/html/tutorial25/2.html


spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / html / tutorials / 25 / 2

index123456

Tutorial 25: The Care and Feeding of Hyperlinks, Part I

Developer News
Eclipse Helios Update Brings New PHP Tools
Internet Explorer 9 Ups Standards Support
JBoss Portal 5 Release Easier to Use

Raising the perfect link

A link can be specified in HTML using several methods: The LINK element, the A element, client-side image maps using the MAP element, and server-side image maps using the USEMAP attribute.

The first thing I'll make a point of mentioning is that you should avoid server-side image maps. The reasons were discussed in Tutorial 12 and do not bear repeating. Client-side image maps are easier to maintain, faster, and more accessible.

Another problem with server-side image maps is that search engines don't understand them. I've made a point of the fact that designing for search engines is a very important factor when making a Web page, and creating links that are visible to these engines is very important.

This argument also applies when considering other means of linking. JavaScript scripts, Java applets, Flash animations, and other such gimmickry all offer a way to create hyperlinks in your documents. However, you must bear in mind that a search engine robot crawling your site will be unable to find these links and follow them.

By this statement I do not mean to discourage you from using these technologies for providing navigation on your site. As we'll see later on, several of these offer very useful ways to make navigation better. However, you must always make sure that the use of these technologies supplements links that are visible in plain old HTML. As an example, you could use the contents of the APPLET element to provide vanilla text links, while the applet itself could offer a more sophisticated navigation tool. If you're using a DHTML technique such as DHTML Lab's Hierarchical Menus, you could use scripting to hide the default navigation links and display the menus instead if the browser supports them.

index123456

Next Page...

http://www.internet.com/

webref The latest from WebReference.com Browse >
Top 10 CSS Tools for the Design-challenged Web Developer · Create Your First ASP.NET Web Service · Using Java 6 to Access Translatable Text in XML Files
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Cloud Computing With Less Security Risk · Multi-Party Videoconferencing from Skype · Review: ZyXEL NWA-3166 Convertible 11n AP/Controller

URL: http://www.webreference.com/html/tutorial25/2.html

Produced by Stephanos Piperoglou
Created: September 27, 2000
Revised: October 4, 2000

Morty Proxy This is a proxified and sanitized view of the page, visit original site.