Hyperlinks

Naturally, Dreamweaver lets you create hyperlinks (a.k.a. links) that lead to other documents. Links begin with a protocol, such as http, as shown in Table 2-2.

Dreamweaver allows you to create and set links in several ways:

  • You can insert a link using Modify Make Link, Ctrl+L (Windows), or Cmd+L (Macintosh). This command opens the Select File dialog box in which you can select a local file or enter the link address in the URL field.

  • You can also select the text to act as the link, and then provide the full address, including the protocol such as http://, within the Link field of the Property inspector, as shown in Figure 2-5. You can drag-and-drop a file into the Link field, or select a file using the Browse button next to the Link field in the Property inspector.

  • You can right-click (Windows) or Ctrl-click (Macintosh) on a selection in the Document window and choose Make Link from the contextual menu.

  • If you select an item with an existing link, you can choose Change Link, Remove Link, or Open Linked Page from the Modify menu or the contextual menu.

  • Any link added to a document is automatically added to the Site list of the Assets panel’s URLs category. Links can be applied to the selected item using the Apply button in the Assets panel (see Chapter 6).

  • Links can also be manipulated in the Site Map window (you can use the contextual menu to access the Link to New File, Link to Existing File, Change Link, and Remove Link commands.) See Section 6.3.2 in Chapter 6 for details. ...

Get Dreamweaver in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.