W3C home > Mailing lists > Public > www-validator@w3.org > August 1998

Re: Unclosed IMG tag bug?

From: Gerald Oskoboiny <gerald@w3.org>
Date: Thu, 6 Aug 1998 12:18:57 -0400 (EDT)
To: John Pollock <johnpollock@delphi.com>
cc: www-validator@w3.org
Message-ID: <Pine.SOL.3.96.980806121725.14015G-100000@anansi.w3.org>
On Thu, 6 Aug 1998, John Pollock wrote:

> I'm extremely grateful to Gerald and the W3C for this service.  I hope
> this is taken as a "Kinder, gentler bug report." :-)

:-)

> Ironically, I consistently have gotten "No errors!" messages with the
> following HTML:
> 
> <a href="http://validator.w3.org/check/referer"><img src="vh40.gif"
> alt="HTML 4.0 Checked" width=88 height=31 border=0
> </a>

That's as it should be; IMG is an empty element, like <BR> or <HR>;
in fact if you include a closing </IMG> it will be invalid.

-- 
Gerald Oskoboiny              <gerald@w3.org>  +1 617 253 2920
System Administrator, W3C     http://www.w3.org/People/Gerald/
World Wide Web Consortium, MIT Laboratory for Computer Science
545 Technology Square,  Room NE43-353  Cambridge MA  02139 USA
Received on Thursday, 6 August 1998 12:18:37 GMT

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