Charl van Niekerk » Blog

Main

Latest

Archives

Powered by Blogger

Back to XHTML

Blogger started adding the following into my head:

<link rel="openid.server" href="http://draft.blogger.com/openid-server.g" />

So now I can use the URI of this blog as an OpenID. Cool. Except that I can do this already with my main site.

Anyway, in order to have the W3C Validator say this site is valid this meant I had to migrate from HTML 4.01 Transitional to XHTML 1.0 Transitional because of the /> which is interpreted as >&gt; in HTML. Because &gt; is considered to be character data, and because character data it is not valid in the head, the head was automatically closed (</head> is optional in HTML). Then it complained about the style element which it now saw as part of the body. Then when I tried to close the head (just for cleanliness) it complained again as its already closed.

Oh well over to XHTML 1.0 now so no more fuss. It sucks though. Now I feel like just another noob serving XHTML as HTML (text/html). :(

Of course lots of my existing pages will not validate because I don't close all the tags according to XHTML standards but that's just too bad. I'm definitely not going to go back and change all of them. At least I had some good years using HTML as it should be used. Now being another noob is the direction apparently. Oh well. At least I can use the validator on the front page again without seeing errors all over the show. That's the point at the end of the day anyway, just to be able to check my latest posts. Pesky to have to distinguish between the right and wrong errors every time.

0 Comments

Post a Comment

Copyright © 2004-2009 Charl van Niekerk. All articles are released under the Creative Commons Attribution 2.5 South Africa licence, unless where otherwise stated.