W3C home > Mailing lists > Public > www-validator@w3.org > May 2004

Re: Unclosed tags

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 25 May 2004 17:00:28 +0000 (UTC)
To: Liam Morland <Liam@Morland.ca>
Cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.58.0405251659430.17067@dhalsim.dreamhost.com>

On Tue, 25 May 2004, Liam Morland wrote:
>
> I found that I think is a bug with the W3C HTML Validator. Consider this
> HTML fragment:
>
> 	<li<a href="file.html">File</a>
> 	  ^^
>
> The <li> tag is not closed.

Actually in HTML the ">" character at the end of a tag may be omitted if
the next character is the "<" character opening a tag, so that is valid.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
U+1047E                                         /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 25 May 2004 13:00:33 GMT

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