Reply to Re: tag definitions from W3C?

Your name:

Reply:


Posted by David Dorward on 02/02/06 23:00

John Salerno wrote:

> Aside from " />", is there any difference between HTML 4.01 and XHTML 1.0?

Several. You can find the details at http://w3.org/TR/xhtml1/

There are also some undocumented changes.

> But I guess one reason I've gone with XHTML is that it will eventually
> replace HTML.

Really? How do you know?

Besides, XHTML 2.0 isn't going to be backwards compatible with 1.0 anyway.

> It won't be an alternate version, and it doesn't seem
> likely that there will be an HTML 5.

WHATWG disagree.

> I've never seen a problem with the /> tag yet

I have. Conforming browsers treating XHTML as HTML (which they should when
it is served as text/html[1] will treat <foo /> as <foo>> and display >
characters all over the document.

> so just like there's no real reason to use XHTML, there doesn't seem to be
> much of a reason *not* to.

Now you know better.

[1] And IE (among others) will prompt the user to download XHTML served with
the correct content type rather than displaying it.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация