Dreamweaver

Link to documents using the Property inspector

You can use the Property inspector’s folder icon or Link box to create links from an image, an object, or text to another document or file.

  1. Select text or an image in the Document window’s Design view.
  2. Open the Property inspector (Window > Properties) and do one of the following:
    • Click the folder icon to the right of the Link box to browse to and select a file.

      The path to the linked document appears in the URL box. Use the Relative To pop‑up menu in the Select HTML File dialog box to make the path document-relative or root-relative, and then click Select. The type of path you select applies only to the current link. (You can change the default setting of the Relative To box for the site.)

    • Type the path and filename of the document in the Link box.

      To link to a document in your site, enter a document-relative or site root–relative path. To link to a document outside your site, enter an absolute path including the protocol (such as http://). You can use this approach to enter a link for a file that hasn’t been created yet.

  3. From the Target pop‑up menu, select a location in which to open the document:
    • _blank loads the linked document in a new, unnamed browser window.

    • _parent loads the linked document in the parent frame or parent window of the frame that contains the link. If the frame containing the link is not nested, then the linked document loads in the full browser window.

    • _self loads the linked document in the same frame or window as the link. This target is the default, so you usually don’t have to specify it.

    • _top loads the linked document in the full browser window, thereby removing all frames.

      If all the links on your page will be set to the same target, you can specify this target once by selecting Insert > HTML > Head Tags > Base and selecting the target information. For information about targeting frames, see Control frame content with links.