You are here: Re: Differences XHTML - HTML « HTML « IT news, forums, messages
Re: Differences XHTML - HTML

Posted by Jukka K. Korpela on 08/21/07 11:37

Scripsit Wouter:

> Besides self closing <tags />, what are the syntax differences
> between Xhtml and Html?

Quite a many. Why do you care?

> Is there a comparison list somewhere?

Not really. The (in)famous appendix C purports to list the differences, but
it doesn't. Some of the "differences" aren't differences, and some of the
existing syntactic differences aren't listed there. Of course, this partly
depends on your meaning for "syntax difference". For example, HTML restricts
the name="..." attribute value to a NAME, whereas XHTML DTDs allow any
string (CDATA) there. Is this a syntax difference?

(If you don't know what appendix C is, don't even dream of using XHTML.)

To produce a list, someone would have to read the XHTML and HTML
specifications, especially including the DTDs, and compare them carefully.
And I mean painful care. I see no reason to do anything like that. I might
see a few thousands of euros as good enough a reason, but nobody offered to
pay me, or anyone else, for such a job.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

Navigation:

[Reply to this 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

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