Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

STL - Formerly Best Training Solutions Through Learning
TrustPilot
Excellent
Request Callback We will call you back
0207 987 3777 Call for assistance
Your Basket Basket is empty
course croydon dream weaver - links page sections

Forum home » Delegate support and help forum » Dreamweaver Training and help » course croydon dream weaver - Links to page sections

course croydon dream weaver - Links to page sections

ResolvedVersion Standard

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

Links to page sections

How do you link to different sections of a page? Linking to the top I can manage, but how do you create a specific target on a page to jump to?

RE: Links to page sections

Hi Peter.

You need to create an anchor.

Place your cursor where you want the anchor to appear, then in Dreamweaver choose Insert -> Named anchor. Type the name of your anchor in the dialogue box that appears. eg. section1. A yellow marker should appear in design view.

The code generated like this:
<a name="section1"></a>

Then to link to an anchor (Frontpage calls them bookmarks), you simply link to the name of the anchor, prefixed by a hash. eg. #section1

The code looks like this:
<a href="#section1">Go to section 1</a>

I hope this answers your question. If it does, please mark this question as resolved.

Regards, Rich

This topic is covered in the Linking and Navigation unit on our 1 day Dreamweaver training introduction course.

Dreamweaver tip:

Xhtml vs html

When using dreamwear template or just creating a blank webpage, you are able to select the markup language you want to use. The main choices are either xhtml or html. It is now best to select xhtml as this will translate all the html into xml, so it is transmitted across the web in xml format. One of the main advantages of this is that it makes the site that you build much more compatible with the range of different web browsers that exist.

View all Dreamweaver hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.