Creating anchors in Dreamweaver

6:24 PM Posted by BlogTechno

Invisible section bookmarks within a page are called named anchors. You can use the Property inspector to link to a particular section of a document by first creating named anchors . Named anchors let you set markers in a document, which are often placed at a specific topic or at the top of a document. You can then create links to these named anchors , which will quickly take your visitor to the specified position in the document. The URL (web address) to an anchor looks like this, eg. links.html#para8 (links.html is the file which has an anchor named 'para8' ).

Creating anchors and linking to them

Step 1 : Place the cursor in the section of the page you want to link to.

Step 2 : Select Insert>Named Anchor and type a short descriptive name for that section and click on OK. A yellow anchor icon will appear. If you want to edit it double click on this icon.

Step 3 : At the top of the same page type a link which is going to link to this anchor. With this link selected go to the link box of the property inspector type a # sign followed by the anchor name. If the link is given from another page then the file name has to be given before the anchor name, eg. book.html#para8

Related Posts :



0 comments:

Post a Comment