Modifying a Link
At some point, you may need to change or edit a link. Perhaps the URL you were linking to has changed, or you simply no longer need that link.
Changing a Link’s Destination
As you’ll read in Part 4, Dreamweaver provides some amazing tools for automatically updating links in your pages to keep your site in working order, even if you move files around. But even Dreamweaver isn’t smart enough to know when a page on someone else’s website has been moved or deleted. And you may decide you simply need to change a link so that it points to a different page on your own site. In both cases, you need to change the links by hand:
Select the text or picture link.
The existing link path appears in the Property Inspector’s Link field.
Use any of the techniques described on Link From the Scorpio Page to the Horoscopes Page to specify the link’s new target.
For example, click the “Browse for File” button in the Property Inspector and locate a different web page in your site, or type a complete URL to point to a page outside your site. The destination of the link changes to the new URL, path, or anchor.
Removing a Link
Sometimes, you want to stop a link from linking—when the web page you were pointing to no longer exists, for example. You want to keep the originating text or image, but remove the outdated link. In that case, select the link text or image and then use one of these tactics:
Choose Modify→Remove Link, or press Ctrl+Shift+L (⌘-Shift-L).
Delete the text in the Link field of the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access