Re: Promotion of XHTML

> > How does using XHTML make it easier for the author to close every tag?
> 
> Because the validators spot it.

Literal answer: it is not legal to have unclosed tags in HTML, only unclosed
elements.

However, the nsgmls program that underlies the W3C validator can be run in
a mode in which it makes optional closing tags, and optional elements 
explicit.

Received on Thursday, 2 January 2003 01:51:52 UTC