You are here: Re: moving from HTML to XHTML « HTML « IT news, forums, messages
Re: moving from HTML to XHTML

Posted by David Dorward on 06/13/07 08:49

On Jun 12, 8:32 pm, Animesh K <animesh1...@gmail.com> wrote:
> I was thinking to move from HTML 4.01 strict to XHTML 1.0 strict.
> Is it worth it?

Only if you plan to use mixed namespace documents (which MSIE doesn't
support as webpages).

> Any advantages if I am going to use AJAX/Javascript heavily?

No, in fact it complicates things a lot since you can end up writing
different code for modifying the DOM in XML mode (for when you use
XHTML correctly) and HTML mode (for when you pretend its HTML to get
it to 'work' in IE).

> I heard XHTML has a better (and stricter) document-object model,

That isn't true. Its weaker if anything. (e.g. the table element no
longer requires rows to be wrapped in a tbody).

--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/

 

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

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