• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Links and Navigation > How Links Work in the Browser

How Links Work in the Browser

Dreamweaver makes it very easy to add links, and even more complex linking systems, to documents; but it’s still very important for a web developer to understand what is going on “under the hood” with hyperlinks.

The <a> Tag: Syntax and Usage

Hyperlinks are defined in HTML using the anchor element, <a>. For the purposes of linking, the <a> element requires only one attribute: HREF, for hypertext reference. The HREF attribute is set to the URL of the target resource. The text or image enclosed by the <a> tags becomes a spot that, when clicked with the cursor, activates the link. Here is an example of the HTML code for a simple hyperlink:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint