Re: Unclosed tags

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 UTC