Hyperlinks

Home » Hyperlinks
Wikis > Hyperlinks
HTML links are hyperlinks.

A hyperlink is an element, a text, or an image that you can click on, and jump to another document.

In HTML, links are defined with the <a> tag:

The href attribute specifies the destination address (http://www.mysite.com)

The link text is the visible part.  Clicking on the link text, will send you to the specified address.

Insert a Link in Dreamweaver

dwtut1lg

Click on the Hyperlink button on the right in the insert menu, make sure you have ‘common’ selected in the drop down menu at the top of the sidebar.

dwtut2

This will bring the up this window, in the text box put in what you want to appear on the page and in the Link box type the web address you want the link to go to e.g. http://www.google.com

dwtut3

the target drop-down menu controls how the link is opened, each option works as follows:

_blank Opens the linked document in a new window or tab
_self Opens the linked document in the same frame as it was clicked (Default)
_parent Opens the linked document in the parent frame
_top Opens the linked document in the full body of the window

 

When you’re done, click ‘OK’ and the link will be inserted where the cursor is on either the design or code pane.