You are here: Re: Can't quite get internal linking working... « HTML « IT news, forums, messages
Re: Can't quite get internal linking working...

Posted by jim on 02/06/07 12:57

You've almost got it there Gary...
==========================================
Instead of this: <h1 id="heading1">Heading1</h1>
use this: <a name="heading1"/><h1 id="heading1">Heading1</h1>

I'm guessing that you want the user to see the text, "Heading1". The
target anchor or 'a' tag will be invisible (ie: the <a name="____" /
>) but
it needs to be there in order for the link to work: <a
href="#________">Heading1</a>

So there are two parts to internal links:
1. the link: <a href="#link_name">Link Name</a>
and,
2. the target: <a name="link_name" />

Each of them uses the <a tag, just that one is viewable and the
other is not!

Hope that helps,

Jim

 

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

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