You are here: Re: quick syntax question « HTML « IT news, forums, messages
Re: quick syntax question

Posted by dorayme on 11/25/96 11:50

In article <4cl792508uuuh42bd1ha8rl0np6go6kl2i@4ax.com>,
Sid Ismail <elsid@nospam.co.za> wrote:

> On Sat, 17 Jun 2006 09:43:20 GMT, "Ian Davies" <iandan.dav@virgin.net>
> wrote:
>
> : whats the syntax for a link to a bookmark on a page FROM A SEPARATE PAGE
>
>
> "The NAME attribute defines a destination for a link. For example, a
> document containing..."
>
> Quick - get here for the rest:
> http://www.htmlhelp.com/reference/html40/special/a.html
>
> Sid

Simplest is to use id:

<H1 ID=foo>My heading</H1>

instead of

<H1><A NAME=foo>My Heading</A></H1>

but some browsers (I forget which ones and how old) do not
understand it. The idea to use both to cover such situations
might seem silly to me (perhaps simpler to use name in that case)
but there may be additional benefits for id to do with scripts?
And to avoid - at least in a lot of modern browsers - unwanted
anchor behaviour...

--
dorayme

 

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

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