Re: Web server

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

 



Today Alan Cox did spake thusly:

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.

They're not valid HTML 4 either ;)

--
Scott van Looy - email:me@xxxxxxxxxxxxxx | web:www.ethosuk.org.uk
site:www.freakcity.net - the in place for outcasts since 2003
PGP Fingerprint: 7180 5543 C6C4 747B 7E74  802C 7CF9 E526 44D9 D4A7
      -------------------------------------------
      |/// /// /// /// WIDE LOAD /// /// /// ///|
      -------------------------------------------

My mind is making ashtrays in Dayton ...


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

  Powered by Linux