Dave O'Connor wrote:
>If you decide to go with xhtml you may want to bear the following in
>mind in case it bites you later.
>>http://hixie.ch/advocacy/xhtml>>However much you dislike IE now learning this will stuff will make you
>really HATE it. :) Lots of stupid stuff but still well worth it.
>>wow! that's some crazy stuff! Luckily, these problems can be avoided
with some simple tips:
1. always validate your stuff
2. send as text/html by default, or if you don't know the browser
supports application/xhtml+xml - it's my experience that browsers
/always/ support text/html, even if only for legacy reasons
3. don't use the <?xml ?> intro. it's optional anyway.
that's it, really - you can safely ignore the CDATA vs PCDATA horror
stories as well. I've /never/ come across a case where any parsing
problems occured, and I /never/ use the CDATA containers.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!