Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Link in the same page


Message #1 by Emily <tingting.chan@h...> on Fri, 24 May 2002 22:08:52 +0800
Emily,

You need two anchor tags, one where you will click and the other where you
would like to jump to. These tags should be like this:
<a href="mypage.html#para1">Click here</a>
<a name="para1"></a>
If your target item is on the same page and you don't want to reload the
page the first tag can be modified like <a href="#para1">Click here</a>

Mark


----- Original Message -----
From: "Emily" <tingting.chan@h...>
To: "HTML Code Clinic" <html_code_clinic@p...>
Sent: Friday, May 24, 2002 10:08 AM
Subject: [html_code_clinic] Link in the same page


> Hello,
>
>     Can anyone tell me what's the code to make a link that links to
> something in the same page. For ex, it links to the middle part of the
page
> or top of the page.  Thanks!!
>
> //Emily
>
>
>
> ---
>
> Improve your web design skills with these new books from Glasshaus.
>
> Usable Web Menus
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> r-20
> Constructing Accessible Web Sites
> http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> r-20
> Practical JavaScript for the Usable Web
> http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> r-20


  Return to Index