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

Re: HTML 4 Validator Problem?

From: Liam Quinn <liam@htmlhelp.com>
Date: Mon, 13 Sep 1999 19:47:17 -0400
Message-ID: <37DD8D05.3CAD8018@htmlhelp.com>
To: Rob Habberfield <robh@robh.net>
CC: www-validator@w3.org
Rob Habberfield wrote:
> My web page includes the following piece of code:
> document.write("<u><span style='color:black;cursor:hand'
> onclick='window.external.AddFavorite(location.href,document.title)'>Add this
> page to your Favorites</span></u>");
> That code is located in a browser detection script for IE4+ users. The
> problem is that the validator sees the closing tags (</span></u>) at the end
> of the code and says:
> "end tag for element "SPAN" which is not open" and "end tag for element "U"
> which is not open"

See <http://www.htmlhelp.com/tools/validator/problems.html#script>.

Liam Quinn
A Real Validator for Windows, http://arealvalidator.com
Web Design Group, http://www.htmlhelp.com
Received on Monday, 13 September 1999 19:46:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:25 UTC