W3C home > Mailing lists > Public > www-validator@w3.org > November 2005

Re: checklink:

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Fri, 18 Nov 2005 22:48:57 +1100
Message-ID: <437DBFA9.8070901@lachy.id.au>
To: Andy Walker <Andy.Walker@TopGPS.co.uk>
CC: www-validator@w3.org

Andy Walker wrote:
> Excessive complaints from LINK CHECKER when a location tag is missing
> e.g.  <a name="top"></a>

It's called an <a> element or an anchor, not a "location tag".

> Link checker complains of many 'broken file fragments' (in my original
> html file this was a large number.)
> It looks like any (unrelated) line of HTML which is split across several
> lines causes an error - until the location tag is inserted.

I have no idea what you're trying to say there.  What do you mean by an 
unrelated line split across several lines?

> This is similar to at least one of the already reported bugs

It doesn't look like a bug of any sort to me.

> FILE: http://www.topgps.co.uk/test/test_lnkchk_without_top.htm

You cannot put a elements as a direct children of the html element, 
before the head and body.  They need to go within the body element or, 
if you were using a Strict DOCTYPE, within a block level parent.


> FILE: http://www.topgps.co.uk/test/test_lnkchk_without_top.htm
> ...
> Broken fragments and their line numbers: They need to be fixed!
>                 top: 61, 92 

Those lines refer to the links pointing to #top, but since there is no 
anchor with a name="top" attribute or another element with an id="top", 
so those are indeed broken links.
Received on Friday, 18 November 2005 11:49:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:54 UTC