Creating a Link to a Specific Location within an HTML Document
You can create a link to a specific location within an HTML document.
When such a link is followed, the document opens and displays the
specified section.
This card describes how to link to a place in a document on your local
system. For instructions on linking to a document on a remote system,
see Creating a Link to Remote HTML Documents.
-
Specify the location in the document for the link. Either
-
Choose Tools > Link... or click the Link button
in the Links and Targets palette.
-
You can link to either a target in the current file, or an external
file. If you are linking to a target in the current file, you must
-
Create the target in the current
file. The targets for the current file appear in your Creat Link window
list.
-
Click the target to which you want to link.
If you are linking to a target in another file, you must
-
Open the file.
-
In the Create Link window, select the file you have just opened using
the Document menu buton. A list of targets and links for that file
appears in the dialog.
-
Click the target to which you want to link.
-
Along the right edge of the Create Link window, you see a list of
elements you can list. Click to select or deselect items.
-
Display Targets if you want to see a list of items the author has
marked as targets for links. These items begin with a #.
-
Display Headings if you want to see a list of all the paragraphs the
author has marked as headings. You can link to these even if the author
has not designated them as targets.
-
Click to select an item in the list, then click the Apply button.
Cosmo Create makes the link. If you selected a heading that isn't
already marked as a target, Cosmo Create automatically designates the
item as a target and gives it a unique target name. Consequently, when
you close that file, you'll need to save the changes. If you do not
have permission to save changes to the file, you cannot use this
technique.