You are here: Re: name anchor problem « HTML « IT news, forums, messages
Re: name anchor problem

Posted by Jonathan N. Little on 01/21/07 21:12

keeper wrote:

Please don't top post keeper,

> <a href="#bookmark">Click here to skip ahead</a>
> <a name="bookmark"><strong>cool! you skipped ahead!</strong></a>

Better and a bit more modern:

<a href="#bookmark">Click here to skip ahead</a>
....
<p id="bookmark"><strong>Cool! you skipped ahead!</strong>...

element IDs can accessed as anchors with document. Saves the superfluous
<a name="someAnchor"></a> markup...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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