Re: Unclosed IMG tag bug?

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:

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:

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

Gerald Oskoboiny              <>  +1 617 253 2920
System Administrator, W3C
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 UTC