dreamweaver.training - anchors
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Dreamweaver Training and help » dreamweaver.training - Anchors

dreamweaver.training - Anchors

resolvedResolved · Low Priority · Version Standard

replyReply Mon 23 Jul 2007, 15:56Delegate Simon said...

Simon has attended:
Dreamweaver 8 Introduction course
Dreamweaver 8 Intermediate course

Anchors

how do they work

For upcoming training course dates see: Pricing & availability

replyReply Tue 24 Jul 2007, 12:37Trainer Rich said...

RE: anchors

Hi Simon,

The term 'anchor' originally meant anything that the user can click on. That's why the <A> tag is that, it's short for anchor.

However, the term 'anchor' now usually refers to a 'bookmark' or place on the page that can be jumped to. You may be familiar with this if you've ever clicked on a link, and are taken to another part of the page. Or clicked on a 'back to top' link and be taken to the top of the page.

The way these are set up, are 'anchors' can be placed anywhere in the code. In Dreamweaver design view, they are shown as little yellow shields with an anchor in the middle. The code for an anchor looks like this:
<A NAME="products"></A> where 'products' can be substituted for a name or number more relevant to your page.

You would then have the ability to link to this anchor, also using the A tag like this:
<A HREF="#products">Click here to jump to products</A>
Note the use of the hash (#) which indicates to the browser that this is not a different web page, but an anchor on the current page.

You can have as many anchors as you like. Another tip is that if you link to simply a hash (#) like this:
<A HREF="#">Back to top</A>
the link will jump the visitor to the top of the page.

If you use the properties panel on Dreamweaver, you can simply type a hash and then the name of the anchor to link to an anchor. You can also use the target dragger, to click, drag onto an anchor (yellow shield) and let go.

I hope this helps you, Simon. And I hope you enjoy your Dreamweaver training with us today.

Regards, Rich

 

Dreamweaver tip:

Css styles

If you are looking for a CSS style for your website / web page and not sure what you want to use, then go to the Csszengarden website, where you can download samples to try.

View all Dreamweaver hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard