Re: Can anchor text be empty?

Jeffrey Hobbs ([email protected])
Thu, 20 Apr 1995 14:53:04 +0500


>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: [email protected]
URL: http://www.cs.uoregon.edu/~jhobbs/