|
Posted by Animesh K on 06/13/07 18:41
David Dorward wrote:
> 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/
>
Thanks for the replies, Toby and David!
I will resist any changes right now and I will continue to use Html 4.01
strict.
I wonder why so many sites are xhtml crazy then (like blogger,
alistapart, and other such).
Thanks again,
Animesh
Navigation:
[Reply to this message]
|