Standards Compliant Coding

Some web designers and web developers advertise on their websites and blogs that they use only standards compliant coding. Others write on the cost of not standards compliant coding. As a small business owner or a novice website creator you might not know exactly what standards compliance coding is, nor why you should take this into consideration when having a website designed or selecting a template. So, what is this standards compliant stuff all about?

What is Standards Compliant Coding?

There is a group called the World Wide Web Consortium (W3C) that creates standards for technologies used on the web. Each part of the different technologies has a set of specifications (standards) set out for web designers and browsers to follow so everything on the web gets along.

For example, there are standards for HTML coding. HTML coding is what presents a website in the browser you are using.

Each browser interprets the HTML standards a different way, especially some of the fancier techniques used to create a website.

What Difference Does Using Standards Compliant Coding Make?

How your website is coded can affect how it is presented in the web browser your visitor is using.

A website created using old technology or browser specific coding can cause your website to break (also known as crash) in your visitor’s chosen browser.

By using standards compliant coding, the presentation attributes (the coding that makes the website look pretty) are moved to a separate file called an external stylesheet, leaving just the basic HTML coding required to present the web page content. This will make your web pages:

  • appear to load quicker.
  • easier to read for the search engines.
  • easier to read for those who use technology to read web pages to them.
  • render in any browser your visitor chooses to use.
  • will be easier to upgrade as web technology advances.
  • cheaper to maintain.

Note:  Some tweaking of the external stylesheet may be required to make special effects work in all browsers. As mentioned above, each browser interprets the HTML elements (tags) differently but an experienced web designer will know how to overcome these problems.

How Do I Determine a Web Page is Standards Compliant?

There are various tools on the web to check that the HTML coding of a web page is using valid standards compliant coding. The W3C has it’s own markup validation service which we recommend you use as it would be most up to date.

Before you can check a web page is standards compliant the web page coding needs to contain:

  1. A DOCTYPE declaration.

    The DOCTYPE declaration tells the validator (and the browser) which (X)HTML standard the web page is coded in.

  2. A character encoding specification.

    The character encoding specification tells the validator (and the browser) what character set is being used within the web page.

  3. A properly constructed web page.

    A web page has a document structure. If this is not followed properly, the web page will not validate and can cause problems for the more standards compliant browsers.

If you want to test your own work, a website template or a web designer’s work then:

  1. Copy the URL (web address in the address bar of your browser).
  2. Go to the W3C’s validation service.
  3. Paste the URL in the box provided for Validate by URI.
  4. Left click the Check button.

The validator will check the (X)HTML coding for the selected web page and return if it is valid.

If you see something like this:

This Page Is Valid XHTML 1.0 Strict!

Then the web page contains valid (X)HTML coding.

For those creating their own web pages and they have not yet been posted to the webspace the W3C offers:

I Have Heard Standards Compliant Coding Costs More

A web designer or web developer who has kept up their training to the current standards would be knowledgeable about standards compliant coding. Generally, it does not take any more time to actually code a web page to be standards compliant. There is a bit of time required to properly plan how to layout the website project and how to create the web page and it’s accompanying files efficiently.

A website project price for a standards compliant website might be a bit more because you are paying for the expertise it takes to create the website. You will have to consider whether having a website that is viewable by all your visitors is more important than having a website that will annoy potential customers and drive them away.

Other Code Validation Services at the W3C

Further Reading on Standards Compliant Coding

Standards Compliant Coding and SEO (Search Engine Optimization)

What's next?

Follow our new articles via RSS, follow us on Twitter and submit to your favourite social networking site:

8 Responses to Standards Compliant Coding

  1. Pulse Media Solutions Says:

    W3C standards are not that hard to follow, and this article explains the importance of following industry standards in more than just HTML, CSS etc. Good article!

  2. guide Says:

    Excellent Web Site! Very professional and full of great information. I am greatly enjoying it. Your enthusiasm is wonderful!!!

  3. Web Design Swansea Says:

    W3C standards should be the norm for any new business website.

    The standard allows for a better user experience when adhered to as everyone is working to the same rules.

  4. Sandra Johnson Says:

    I have notified my web designer of the problem . I am waiting for a reply from him. I had no knowledge that my site was not compliant. I will have him remedy the problem. Thank you Sandra Johnson

  5. web design malaysia Says:

    I think serious web designers should have some knowledge of W3C standards as it will benefit the SEO for the website too. It is just like standard rules to follow in other business industry.

  6. Taylor Says:

    As you mention, if it does cost more to hire a webmaster that provides standard’s compliant coding, is there a cost benefit associated with the cost?

    In many cases, I’m thinking that one new buyer or a handful of positive visitor actions on a site would pay for the incremental cost in many cases.

    Definitely something that I am going to take into consideration from now on

  7. Web Page Mistakes Says:

    The long term cost benefits of having a standard compliant site is that in the future as coding standards improve and change it will be easier to keep up with the changes. Also, the time to maintain the site will be reduced.

Standards Compliant Coding Was Mentioned Here:

  1. Website Testing

Join the Conversation by Leaving a Reply

You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> within your comment.

By leaving a comment, you acknowledge that you have read our terms of use.