Web server

Alan Cox alan at lxorguk.ukuu.org.uk
Sat May 5 12:26:05 UTC 2007


> Scott van Looy:
> > Doesn't. XHTML 1 is simply HTML 4 rendered as XML - 1.1 doesn't have much 
> > in the way of new features.

XHTML is XML conformant, which gives you things like namespaces. It's
also much easier to machine generate, machine parse and apply styles to
server side.

> XHTML isn't html HTML.  There are other clients which don't handle
> XHTML, and throwing XHTML at them means they'll interpret it
> differently, according to the rules of HTML.  That extra slash, added to
> non-empty elements, actually has another meaning.

This is why XHTML recommends things like <br /> to avoid ambiguity. There
are cases where HTML form is useful which is longer in XHTML though, eg
the shortcuts

	<td>blah</><>blah</><>blah</>

are not valid XHTML.

Alan




More information about the fedora-list mailing list