Re: validator.w3.org did not catch a flaw in an html document

Darxus@chaosreigns.com wrote:

> On line 172 of the html:
> 
> <table border=1><tr><td><a href="/pics/bm55fld.jpg"><img src="/pics/tn_bm55fld.jpg" border="0" width="130" height="76" alt="Browning Buckmark" align="left"</a><a href="http://www.browning.com/products/catalog/firearms/buckmark/buckmark.htm">*</a>
> 
> There is a missing ">" just after the 'align="left"'.  I think this would
> count as invalid html.

This is not invalid, as section 7.4.1.2 of SGML says that a start-tag
(in this case an empty-element tag) may be unclosed when it is
immediately followed by an another (start- or end-) tag.  See also:

  http://lists.w3.org/Archives/Public/www-validator/2000JulSep/0101

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium

Received on Tuesday, 22 January 2002 00:45:24 UTC