Five ways to link one document to another
Hyperlinks
The venerable anchor tag is the easiest way to link one document to another. But images, buttons, and submissions can do the trick too. And for the adventurous, the area
and map
tags provide a touch of sophistication.
- Text-based hyperlinks
- Turning text into a link to another document.
- Image-based hyperlinks
- Turning an image into a clickable link to another document.
- Button-based actions
- Using a button to call a JavaScript function.
- Form-based actions
- Using a submit button to send form data to a server.
- Clickable areas of an image
- Using
area
andmap
to define clickable hotspots to more than one document.