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

Lesson 5. Creating Links > Review answers

Review answers

1:What is a link? How do you create one?
A1: A link is a jump from one location in a Web page to another location—on the same page (to an anchor), locally within a site, across the Web, or to non-Web resources such as FTP servers, newsgroups, and e-mail addresses.

You create a link from text or an image by selecting it in the document window, and then clicking the Link button in the Text Inspector or the New Link button on the toolbar. You then use the Point and Shoot button or Browse button to link to another file in the site, or enter the file pathname in the URL text box. You can also link to external URLs stored in the External tab of the site window.

2:What is an anchor? How do you create one?
A2: Anchors act as targets for links within the same page. You can create a single link that connects to a single anchor. Or you can create several links that point to a single anchor.

To create a link from one location on the page to another, you can select the link text, and Alt-drag (Windows) or Command-drag (Mac OS) to the link destination on the page, creating a link and anchor in one step. Or you can drag an Anchor icon from the Objects palette to the target text in the document window. Then click the New Link button in the Text Inspector and use the Point and Shoot feature to select the anchor. Adobe GoLive automatically generates a name for a new anchor, which you can change using the Anchor Inspector.

3:What is the best location for an anchor?
A3: It's best to place anchors in the flow of HTML text, inside a layout text box, or inside a table. (You can add a small layout text box to the layout grid to hold the anchor.) You'll get more consistent results if you put the anchor near the left margin of the page. You cannot anchor directly to a graphic because HTML does not yet support this feature; instead, place the anchor near the top left of the graphic.
4:How do you add an action to a link?
A4: To add an action to a link, you first make a selection and create a link using the New Link button on the toolbar, or in the Link tab of the Text Inspector. Then you use the Actions palette to add an action to the link.
5:How do you create a link in a component?
A5: When a component is updated, all the files that refer to it are also updated to pick up the change. To add a link to a component, you use the same technique as when adding other links, but you must first open the component file.
6:What is the difference between relative and absolute pathnames? Why is this difference significant for links?
A6: Absolute URLs include the complete pathname of a file, including the site folder name. Relative URLs don't include the full pathname, and can refer to a file in a subdirectory from which the file is linked. When you browse for the link destination or enter the URL, you can enter just the relative path (with the site folder name implied). By default, Adobe GoLive is aware of the site folder, so you don't need to enter it in the URL.
7:What is an image map? How do you create one?
A7: Image maps are images with hotspots. You can link image maps to other resources and connect the hotspots in the map to other scripted actions such as forms or mailing addresses. To create an image map, you insert an image in your document, specify the image as an image map using the More tab in the Image Inspector, and add hotspots using the map tools on the toolbar. You then add links to the hotspots as you would any other links.
8:What is the purpose of a link warning?
A8: Link warnings appear as a highlighted URL text box in the Link tab of the Inspector (or as bug icons in the site window). Link warnings alert you to files with broken links that require fixing before uploading the files to a Web server (and frustrating viewers who can't find the linked information).



Not a subscriber?

Start A Free Trial

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