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

Re: Unclosed IMG tag bug?

From: Gerald Oskoboiny <gerald@w3.org>
Date: Fri, 7 Aug 1998 02:00:25 -0400 (EDT)
To: Nir Dagan <nir.dagan@econ.upf.es>
cc: www-validator@w3.org
Message-ID: <Pine.SOL.3.96.980807015533.29377B-100000@anansi.w3.org>
On Thu, 6 Aug 1998, Nir Dagan wrote:

> The issue with the IMG element was:
> 
> <A><IMG alt="foo" src="foo"</A>
> 
> The closing > is missing in the IMG tag.
> 
> This is a form of shorttag which is valid 
> but browsers don't like, so better not use it. 
> It is called "closed start tag."
> 
> So there is no bug with the validator here.
> 
> See the HTML spec at the notes section:
> http://www.w3.org/TR/REC-html40/appendix/notes.htmlh-B.3.7

Thanks for the reply. (I missed the absense of the closing '>'
the first time I read this report.)

This type of error is typically caught by a lint-style program
like Weblint:

    http://www.cre.canon.co.uk/~neilb/weblint/

An SGML-based validator will correctly not flag this as an error,
but it's a useful thing for authors to be aware about anyway.
This is why I have a "use Weblint" option as part of the validation
service.

-- 
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 Friday, 7 August 1998 02:00:09 GMT

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