You are here: Re: Link code « HTML « IT news, forums, messages
Re: Link code

Posted by Kim Andr� Aker� on 03/08/06 11:54

Starman wrote:

> I want to place a link within a page (the top) to link to another
> part of the same page (bottom). How do I do this and what is the code?

The link at the top:
<a href="#bottomofthepage">Go to the bottom</a>

The reference at the bottom:
<a name="bottomofthepage" id="bottomofthepage"></a>

It doesn't matter what you name them (replacing "bottomofthepage"), as
long as they match. And I've provided both the "name" and "id"
attributes in the second location for backwards compability only. You
may skip one of these (depending on which doctype you're using).

--
Kim André Akerø
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация