Re: Web server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux