|
|
 |
| HTML 4.01 vs. XHTML 1.0/1.1 |
|
 |
|
|
|
|
| |
 |
|
|
I know I had researched this before and come to a decision, but the issue has come up again regarding whether to migrate to some from of XHTML or stay with HTML ... so, I did the research again, not having saved a bit of it from before.
Today I've been working on installing Wordpress on my site, and I need to fit my old site design into a theme that will work with the WP system.
Upon opening the header template file that's part of the default theme, I noticed that it had an "XHTML 1.0 Transitional" DOCTYPE. I instantly thought I'd just switch it over to the "HTML 4.01 Transitional" that I had been using on the existing site, but then I realized that traces of this XHTML were probably scattered throughout the WP code. So I wondered, and that not for the first time, if I should tell myself that it's OK to use XHTML. And of course, that led me to do a little Google research...
I found, as I had hoped I would, the pages I had read before about why XHTML is not a good idea. I also found one or two pages that provided a useful counter-point authorizing the use of XHTML.
And after reading it all, I've decided once more that the time for widespread XHTML has not yet come.
I thought about it a little, and I think my main reasons for that decision boil down to these two points:- XHTML 1.0 has no advantage over HTML 4.01.
- XHTML 1.1 cannot be served as "text/html", and as such, the still-dominant browser IE (6 and 7, I checked both) completely capitulates if it sees the correct "application/xhtml+xml".
So my decision is to use HTML 4.01 Strict.
But that's just my decision. You're free, of course, to make your own choice, and it won't impact me.
So, for your convenience, here are some links.
http://www.sitepoint.com/article/future-html-xhtml
http://www.damowmow.com/playground/xhtml-in-uas.xhtml
http://www.hixie.ch/advocacy/xhtml
http://hsivonen.iki.fi/xhtml-the-point/
http://www.spartanicus.utvinternet.ie/no-xhtml.htm
I think I got 'em all..
[edit]
but alas, I've come across more. enjoy.
and remember, on some of these, the comments might be more helpful than the blog posts themselves. 
http://blog.deconcept.com/2004/11/03...-as-text-html/ <<< This one has several additional links mentioned.
http://www.autisticcuckoo.net/archiv...nt-negotiation
http://www.kurafire.net/articles/case-for-xhtml
http://www.kurafire.net/log/archive/...pporting-xhtml
http://annevankesteren.nl/2004/02/xhtml-versus-html
http://annevankesteren.nl/2004/09/business-failure
http://piecesofrakesh.blogspot.com/2...-of-xhtml.html
http://zooibaai.nl/2004/10/old-fashioned-html/
And, if you're dealing with the same thing I am (with Wordpress, that is), you might be interested in this:
http://www.robertnyman.com/2006/09/2...ith-wordpress/
|
GarrettW's blog | login or register to post comments | printer friendly version
|
|
|
|
|
 |
|
|