Organizing a Long Page with Named Anchors

Have you ever visited a Web page where you click a link and it takes you to another part of the same Web page? That type of Web page is created with named anchors. Sometimes it's less confusing to jump within the same Web page than to jump to another Web page.

To create a long page with named anchors, first add a named anchor to the location on the page where the user will jump. Then create a hyperlink that is linked to the named anchor. We'll start creating a named anchor with a page that has multiple sections, such as the one shown in Figure 4.6.

1.
Create a new Web page. This time create a Basic HTML page. Save your page to the root directory.
2.
Place the insertion point where the named anchor will ...

Get Sams Teach Yourself Macromedia® Dreamweaver® MX in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.