|
Posted by dorayme on 10/20/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]
|