Re: Anchor dilemma

Abigail (abigail@tungsten.gn.iaf.nl)
Tue, 13 Feb 1996 14:34:46 +0100 (MET)


From: Abigail <abigail@tungsten.gn.iaf.nl>
Message-Id: <199602131334.OAA21129@tungsten.gn.iaf.nl>
Subject: Re: Anchor dilemma
To: www-html@w3.org
Date: Tue, 13 Feb 1996 14:34:46 +0100 (MET)
In-Reply-To: <9602131826.AA28233@silicium.fdn.fr> from "Yannick Cadin" at Feb 13, 96 10:26:37 am

You, Yannick Cadin wrote:
++ 
++ Hi,
++ 
++ I would like to know if the construction below is possible or not? (Because  
++ the same text acts as a target and as a link.)
++ 
++ 
++ ... <A NAME="target"><A HREF="link_to_something">the text</A></A> ...

Not valid.

++ If it is wrong, I think I must use the syntax below:
++ 
++ ... <A NAME="target"></A><A HREF="link_to_something">the text</A> ...

No, as some browsers can't handle empty anchors.

Use:
<a name = "target" href = "link">Text</a>



Abigail