Hi Validator Team, Could you help with this question about whether <a name="foo"/> is valid xhtml 1.0 (I think it isn't) or, if not, why the validator doesn't complain? Thanks! _ Ian -----Forwarded Message----- > From: James Y Knight <foom@fuhm.net> > To: site-comments@w3.org > Subject: http://www.w3.org/TR/2004/WD-i18n-html-tech-char-20040509/ > Date: Mon, 02 Aug 2004 16:29:37 -0400 > > > and probably many other pages as well. > > This page was sent as text/html but uses tags of the form <a name="foo" > /> which does not actually close the <a> tag in conforming HTML4 > user-agents (I'm using safari 1.2.2). This lack of closing, combined > with the CSS which specifies "a:active { color: #C00; background: > transparent }" means that when you click anywhere in the page, nearly > all the text in the page turns red. Oops. > > Additionally, your validator does not appear to catch using the > shortcut close method on a non-EMPTY element in a text/html XHTML 1.0 > document. Perhaps it should be updated to handle that class of error? > > James -- Ian Jacobs (ij@w3.org) http://www.w3.org/People/Jacobs Tel: +1 718 260-9447Received on Monday, 2 August 2004 17:42:48 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:44 UTC