I spent the better part of a day changing the UI of a client's website to:
- Maximize Search Engine Optimization
- Ensure Valid XHTML Markup
Although I fully understand the value of proper search engine optimization and can actually measure its effectiveness, I wonder about the current value of using XHTML instead of HTML and making sure the XHTML or HTML is valid.
Valid Markup
Is there any business value for having valid markup ( whether HTML or XHTML ) assuming the current and perhaps invalid markup doesn't screw up the look of the page on the major browsers? Does having invalid markup hurt your position in the search engines or cause your website to be less visible or not enjoy certain web services? I, personally, don't know, and know of a number of very visible and popular websites that get wonderful search engine positioning and have invalid markup.
Take CodeBetter.com for example. If you check our main page with the W3C Markup Validation Service, at this time it complains of 41 markup violations using XHTML 1.0 Transitional:
http://validator.w3.org/check?uri=http%3A%2F%2Fcodebetter.com
The violations don't appear to have hurt our ranking in the search engines and the homepage looks fine in IE and FireFox, so my opinion would be to let it go. And, let's face it, a lot of the content is added by us bloggers and I doubt many of us are ensuring our content is XHTML 1.0 Transitional compliant. I don't know for a fact, but my guess is that Community Server also doesn't validate any markup either.
Although I agree that valid markup is a positive and a worthwhile goal, I wonder if one can measure it in terms of business value and justify making sure the pages are valid and stay valid.
XHTML vs. HTML
I also wonder about the business value of choosing XHTML over HTML. By default, I believe ASP.NET uses XHTML 1.0 Transitional. If one is starting a website from scratch, one might as well use XHTML because it appears to be the direction markup is moving, but I don't have my pulse on this standard enough to tell you any current tangible business benefits for choosing XHTML over HTML, and I certainly can't think of any justification to move a site from HTML to XHTML for that reason alone.
My guess is that we are in a transitional phase right now and most of the benefits of XHTML over HTML won't happen until more websites adopt the standard and certain services pop-up that consume XHTML to help in some way.
Drawbacks of Standards and Valid Markup
I just thought of this while typing, but one of the drawback of standards and valid markup is that your site's content is more accessible. Accessibility is kind of a double edge sword. It has the drawback of people taking your content and using it for reasons you do not intend. I am not suggesting that not adhering to standards and having invalid markup is a good thing, but cetainly it makes your content less accessible to automated content scavenging by people with questionable morals.
Conclusion
I have really just been thinking out loud here, but would love to hear from people who are far more skilled in these areas and understand the business benefits of valid markup and XHTML. I am not suggesting these are not worthwhile goals. I just can't think of any worthwhile business benefits for consuming a lot of time and energy on such pursuits. Would love to hear of some if they exist.
Posted
Sun, Apr 9 2006 12:51 PM
by
David Hayden