• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Lesson 3. Creating Links > Creating Hypertext Links

Creating Hypertext Links

Hypertext links can take the user to another document within the current Web site or to a page on another Web site. They can direct the user to other HTML files, images and other media, and downloadable files. The following exercise shows you how to link to a document within the current site.

In the welcome.htm document window, select the word “Surfing” below “Featured Trips.”

You will create a link for this word.

In the property inspector, click the folder icon to the right of the Link text box.

The Select File dialog box opens.

Select the surfing.htm file in the Lesson_03_Links folder and click Open (Macintosh) or Select (Windows).

The file name surfing.htm appears in the Link text box, and the text you selected in the document is marked as a link. The link is underlined and appears in the color you chose for your links in the preceding exercise.

This link is an example of a document-relative path, which is the best option to use for local links in most Web sites. A document-relative path omits the part of the absolute URL that is the same for the current document and the linked document, leaving only the portion of the path that differs. A path to a file in the same folder, for example, would be expressed as myfile.htm.

Repeat steps 1 through 3 to link the word “Diving” to diving.htm, the words “Mountain Biking” to biking.htm, and the word “Rafting” to rafting.htm.


If you use the same links repetitively, you can save time by choosing recently used links from the drop-down menu to the right of the Link text box.

Save the file and preview it in the browser.

All four links you created should take you to the corresponding pages. Always test your links!



Not a subscriber?

Start A Free Trial

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint