You are here: Re: Go to bookmark on page load « HTML « IT news, forums, messages
Re: Go to bookmark on page load

Posted by Andy Dingley on 05/16/06 12:49

The One wrote:

> create bookmarks by using the A tag
> <a name="MyFirstBookmark"></a>

Use the id attribute instead of the name attribute. This can be applied
to any element, not just <a>. It's just a "more modern" way of working,
rather than <a name="" > being deprecated or wrong, but it's still
worth doing. It works everywhere that matters.

Also <a name="foo" ></a> isn't advised - Use <a name="foo>some text</a>
instead.
This complies with the spec and there have been browsers (Opera) that
didn't like the no-text version.


NB - The hash "#" character goes where you _use_ the bookmark, but
isn't in the bookmark itself (simple, but confuses a lot of people).

 

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

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