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

Chapter 8. Creating Links > Linking Within a Document

8.3. Linking Within a Document

By default, when you link to a page, the browser displays the top of that page. To aid in navigation, you can use the anchor tag to link to a specific point or section within a document. This is a two-step process.

8.3.1. Naming a fragment

First, you need to identify and name the portion of the document (called a fragment) that you want to link to. The fragment is marked using the anchor (<a>) tag with its name attribute, giving the document fragment a name that can be referenced from a link.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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