XHTML 1.1 validation

I’ve finally managed to get the theme for my blog XHTML 1.1 validated. The first time I checked it with W3C Markup Validator it had 99 errors. Most were about some br and ul,li tags. The part that I had some difficulty into making it valid, was meebo’s chat flash code. Meebo serves this to paste in websites:

<!-- Beginning of meebo me widget code. Want to talk with visitors on your page? Go to http://www.meebome.com/ and get your widget! -->
<embed src="http://widget.meebo.com/mm.swf?EunEtULzWx" type="application/x-shockwave-flash" wmode="transparent" width="160" height="250"></embed>

Which is not XHTML 1.1 valid. To make it valid I transformed it to something like this:

<object type="application/x-shockwave-flash"
data="http://widget.meebo.com/mm.swf?EunEtULzWx"
width="160" height="250">
<param name="movie"
value="http://widget.meebo.com/mm.swf?EunEtULzWx" />
<img src="noflash.gif"
width="160" height="250" alt="" />
</object>

according to this: Flash Satay.

You can now check the validator that my blog is OK 🙂

References:
http://learningforlife.fsu.edu/webmaster/references/xhtml/tags/
http://alistapart.com/articles/flashsatay

5 Responses to “XHTML 1.1 validation”

  1. September 2nd, 2007 | 13:57
    Using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Ubuntu Linux Ubuntu Linux

    Well done 🙂 Now only one thing remains to reach w3c nirvana, serve the pages as application/xhtml+xml. With this web browsers, like firefox, will treat the documents as proper xml and not as an html tag soup.

    The only problem that you might have with this, is that even with one mistake in the page, firefox will not be able to render the page, but will print out an xml debug message instead.

  2. September 2nd, 2007 | 15:16
    Using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Ubuntu Linux Ubuntu Linux

    I agree that you should serve the page as application/xhtml+xml.

  3. September 2nd, 2007 | 15:35
    Using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Ubuntu Linux Ubuntu Linux

    The website I chose in the previous comment in wrong. This is the correct.

  4. September 2nd, 2007 | 21:20
    Using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Linux Linux

    The only reason I chose not to use application/xhtml+xml type (as w3 validator also suggests) is that some parts of the wordpress version I use in the administration panel are not XHTML 1.1 compatible and produce errors with the browsers. I am too bored to even fix wordpress apart from the theme…so I’ll stick to text/html for a while 🙂

    Thanks for your comments though.

  5. September 27th, 2007 | 17:20
    Using Internet Explorer Internet Explorer 7.0 on Windows Windows XP

    Its good to see people are starting to use the standards. most major sites dont even attempt to meet the standards.

Leave a reply