• Home
  • Website Templates
  • Knowledge Base
  • Fitness Exercises
  • CV Advice
  • My CV
  • Contacts
Knowledge Base
  • Master Data Management (MDM)
  • Enterprise Data Management (EDM)
  • Data Migration
  • Data Integration
  • ETL
  • Data Archiving
  • Data Warehousing
  • Data Modeling
  • Data Architecture
  • Data Discovery
  • Data Profiling
  • Data Governance
  • Business Intelligence
  • Data Quality
  • Data Cleansing
  • Information Management
  • Website Design
  • Website Marketing
  • Search Technologies
  • Miscellaneous
  • Java
  • PL/SQL
  • XPath
  • XSLT
  • Object-Oriented JavaScript
  • JSON
  • WSDL
  • SOAP
  • ANT
  • JUnit
  • Linux
  • HTML
  • CSS
  • Excel
  • Access
  • JBOSS
  • Struts
  • Spring Framework
  • Hibernate
Code Validation

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 are 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.

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.

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.

One of the reiterated recommendations of W3C is to always validate the web pages and correct them so as they become standard compliant. Parsing every web page, writing down changes, implementing them, parsing them again until 100% validation is obtained takes time and patience. However, it has a number of benefits:

  • 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.















Home   |   Website Templates   |   Fitness Exercises   |   CV Advice   |   My CV   |   Contacts

© Copyright 2012 Manjeet Singh Sawhney