Re: Can anchor text be empty?

Jeffrey Hobbs (jhobbs@cs.uoregon.edu)
Thu, 20 Apr 1995 10:34:43 -0700


Message-Id: <199504201734.KAA12863@ix.cs.uoregon.edu>
To: young@cs.purdue.edu
Cc: www-html@www10.w3.org
Subject: Re: Can anchor text be empty? 
In-Reply-To: Your message of "Thu, 20 Apr 1995 13:08:21 PDT."
             <199504201614.LAA25359@aleta.cs.purdue.edu> 
Date: Thu, 20 Apr 1995 10:34:43 -0700
From: Jeffrey Hobbs <jhobbs@cs.uoregon.edu>

>I have some (automatically generated) html that looks like this:
>  <A NAME="GuideB"></A>
>This seems to be legal according to the html spec.  Netscape

Actually, this is not legal according to either the HTML v2 or 3 spec.
Characters are required between the open and close tags.  A space
would do, but a better answer, considering how you are using them,
would be to not place the name in there if it is empty.  Should be
trivial in the script.  That way there is no confusion.

     Jeffrey Hobbs                            Office: 503/346-3998
     Univ of Oregon CIS GRF		      Fax:    503/346-5373
     SERC, Oregon Campus                      email: jhobbs@cs.uoregon.edu
		  URL: http://www.cs.uoregon.edu/~jhobbs/