Re: No error on missing end-of-tag?

Bjoern Hoehrmann wrote:
 
> * "Martin Carpenter" <mcarpenter@free.fr> wrote:
> |       <img border=0 src="images/vh40" alt="Valid HTML 4.0!"
> 
> | 1. The missing ">" on the IMG tag.
> 
> This is valid SGML Syntax and the validator does not check for more.

Thanks for the explanation, Bjoern. Was just about to send a
sarcastic reply back when I thought I'd take the time to read
the archives first. And so I found this message:

  http://lists.w3.org/Archives/Public/www-validator/2000AprJun/0088.html

which in turn references:

  http://www.w3.org/TR/html4/appendix/notes.html#h-B.3.7

which, in part, says:

  Shorthand markup
  [snip]
  Documents that use them are conforming SGML documents,
  but are unlikely to work with many existing HTML tools. 

so that's that: the tags are valid, and it seems like the newer
(>IE4/Netscape4) browsers are doing the right thing with these them,
but the NCSA Mosaic browser emulator at dejavu.org (from circa 1990)
chokes. Which isn't exactly surprising, I suppose. Thanks for the
education!

Martin.

PS. Again, I'd be grateful if replies could be copied to
mcarpenter@free.fr since I'm still not subscribed to the ML.

Received on Friday, 4 August 2000 02:50:25 UTC