|
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]
|