Some of my plugins are causing XHTML validation errors.

I recently used The W3C Markup Validation Service, to check the validity of my blog pages. The Markup Validation Service returned a lot of XHTML errors on my pages. Upon further research, I found that some of the plugins I was using, were creating the majority of these errors.

If you’ve never heard of this service, to quote them:

The Markup Validator is a free service by W3C that helps check the validity of Web documents.

Most Web documents are written using markup languages, such as HTML or XHTML. These languages are defined by technical specifications, which usually include a machine-readable formal grammar (and vocabulary). The act of checking a document against these constraints is called validation, and this is what the Markup Validator does.

Since using the validation service, I have deactivated some of my plugins, and am working on correcting the remaining errors that exist in my pages.

I’m not sure if having “invalid” pages creates problems for search engines or my readers, however, common sense tells me that having a “validated” page would result in less problems.

Or as quoted by The W3Markup Valaditor Service, in their FAQ

Why should I validate my HTML pages?

One of the important maxims of computer programming is: Be conservative in what you produce; be liberal in what you accept.

Browsers follow the second half of this maxim by accepting Web pages and trying to display them even if they’re not legal HTML. Usually this means that the browser will try to make educated guesses about what you probably meant. The problem is that different browsers (or even different versions of the same browser) will make different guesses about the same illegal construct; worse, if your HTML is really pathological, the browser could get hopelessly confused and produce a mangled mess, or even crash.

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
I value your input. Pick up the pen and share your thoughts.

Due to the fact future posts may discuss what is written in the comments, by leaving a comment here, you grant this site a perpetual license to reproduce your words, attributed to you (with your name and website). Questions? See our Comment Policy

CommentLuv Enabled

 Don't risk missing another lesson, link or observation - Subscribe for free in a reader. Catch them all, and come back to share your thoughts. Have a question? Feel free to leave it in the comment section. I'll do my best to help

Get Adobe Flash playerPlugin by wpburn.com wordpress themes