Text Size Normal text Medium text Large text

Latest Articles


Choosing a web designer 

What should you be looking for when you entrust your web presence to a firm?

 

Validation 

Is website validation really such a big thing?  Can it help you?

 

Social media marketing

Why it could be just the thing to lift your site from search engine mediocrity.

 

Choosing a web site hosting provider

It is more important than you may realise, pick up some tips on making that selection.

 

Accessible web site design

Does it really matter and what difference will it make to your site.

Code Validation - Does It Really Help Users?

There are a lot of WYSIWYG (What You See Is What You Get) editors out there. They help beginners learn how to design web sites and shorten the time web developers put in designing web sites. They're easy to use and increase productivity. They write to the source code of the page the equivalent HTML code of the element the designer visually inserts (such as an image, table, horizontal rule etc). However, these editors often use either non-standard syntax or unnecessarily add to the source code.

Standard compliant HTML code

Using standard HTML code means ensuring that the web site is written in 100% correct syntax. W3C, the World Wide Web Consortium has published specifications regarding HTML/XHTML and guidelines on how to use them to the best effect. W3C's involvement in this particular area of web development had primary as purpose the standardisation of correct HTML code usage.

Validation of HTML code

For web developers eager to create standard compliant web sites, W3C has created a validation tool called the Validator. The Validator parses the source code of a html file and establishes whether it validates as HTML/XHTML document or not. The output reports any errors found during the process in order to help developers easily identify and fix them.

Importance of validation in accessible web design

One of the reiterated recommendations of W3C is to always validate the web pages and correct them so as they become standard compliant. But why would people go to all that trouble? Parsing every web page, writing down changes, implementing them, parsing them again until 100% validation is obtained takes time and patience most of all.

  • Although validation does not guarantee it, standard compliant pages stand higher chances of being compatible with various browsers. This increases overall accessibility by ensuring the web site is functional and fully visible to all users on all browsers.
  • Alternate browsers for disabled people read the source code line by line. By ensuring that the website uses correct code, one can prevent glitches or errors which may arise during this process.
  • Search engines can index more easily pages that are validated than those that are not.

Conclusion

Code validation does not help users as such but if done and if using standard HTML code, the web site can reach and be accessible to more people, users who use other browsers or platforms.