Re: Unclosed IMG tag bug?

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 UTC