Print

Print


On Thu, Jan 08, 2004 at 06:07:44PM -0600, Axiem wrote:
> The main differences between HTML4 (contemporary standard; I'm not dealing
> with all the X-stuff for now)

Uhm, HTML4 is already deprecated.  XHTML1.0 is the official standard, and
1.1 is on the way.

However, XHTML 1.0 is identical to HTML4 in terms of what tags it
contains, etc.  It only differs in the syntax rules, and then only
enough to make it compliant with XML: tag names have to be lowercase, empty
tags have to be marked explicitly, all attributes have to have values, and
those values have to be quoted.

My only beef with XHTML is the way Boolean attributes were treated;
e.g. <input type="checkbox" checked="checked" />
instead of checked="true" or checked="yes" or checked="on" or something
like that.

-Mark