The importance of web standards
When a web page has been created in compliance with web standards, it usually means that the site or page has valid or nearly valid (X)HTML, CSS and JavaScript. This is a very good thing! The World Wide Web Consortium (W3C) is the main international standards organization for the World Wide Web - it is their code validators (XHTML and CSS) that I use for checking my pages.
The benefits of a web standards compliant page ...
- ... for people. The web page is likely to be interpreted correctly for a wide range of modern browsers, and will still display meaningfully in older ones. People using screen readers, mobiles, PDA's and other web browsing methods will be able to navigate your site. It makes it easier for people with special needs to use the Web - in essence: a standards compliant site is an accessible site.
- ... for search engines. With the content of the site structured correctly, the search engines can find the information they need to do their job in the most efficient and effective way. A standards compliant page can help in the quest for good search engine rankings.
- ... for ease of maintainance. Because the style information is kept separate from the content, (in an external CSS file), changes for how a page looks can be made quickly and efficiently across the site, saving time and money.
- ... for the future.The web, and the technologies behind it, are constantly evolving. As the W3C is made up of individuals and organisations who are creating those technologies, adhering to those standards is the best possible assurance that a web page will be easily upgradeable, and if left to its own devices will age well and 'degrade gracefully'.
The W3C validation marker
Unless a client doesn't want the validation marker displayed, I will usually place the W3C validation marker(s) in the footer of the validated page. You can click on the marker which will take you to the W3C validation service and immediately revalidate the page. Try it!
Not all pages pass validation. Some web apps, such as bulletin boards and calendars with dynamic content may cause a page to fail the validation test for a small reason. This may be for a number of small reasons - sometimes in the content itself. In those situations I don't worry, and neither should you - to become obsessive about achieving full compliance is unnecessary and potentially expensive!
A the end of the day it is all about working in an agreed way, using a common language, that can be interpreted correctly by the whole gamut of browsers and screen-reading devices.
