W3C home > Mailing lists > Public > www-validator@w3.org > September 2004

Re: </A>

From: David Dorward <david@dorward.me.uk>
Date: Thu, 30 Sep 2004 12:00:44 +0100
To: Ali Colville <alistair.colville@c2software.com>
Cc: www-validator@w3.org
Message-ID: <20040930110044.GA18406@us-lot.org>

On Thu, Sep 30, 2004 at 11:40:49AM +0100, Ali Colville wrote:
>    I have the following code in one of my pages:
> 
>                d.innerHTML = d.innerHTML + "&nbsp;<a href='javascript://'
>    onclick='return PopUpAddress1()' title='this opens in a new window'>Find
>    My Address</a>";
>
>    Every time I try to validate it, it says the there is no open <a> tag for
>    the closing </a>.
> 
>    However, when I change the function to (note the split string around
>    </a>)
>
>    The code still works and the validator is happy. Just thought I'd point
>    this out.

This is correct behaviour and is described in the FAQ.

-- 
David Dorward                                      http://dorward.me.uk
Received on Thursday, 30 September 2004 11:00:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:15 GMT