The W3C is the World Wide Web Consortium and provides guidelines based on best practice, regarding how websites and web pages should be structured and created for long-term durability. The W3C validation is a standard for specified machine language, checking web documents, spelling, grammar, syntax, and proofreading code.
A validator is a software program that can check your web pages against the web standards. When using a validator to check HTML, XHTML or CSS documents, the validator returns a list of errors found, according to your chosen standard. Make sure you make it a habit to validate all your web pages before publishing.
Presented below are two graphic hyperlinks that will scramble the HTML code represented by the corresponding graphic page(s). Work in pairs to unscramble the HTML code using the link(s) below, a browser, and W3C Markup Validation Service. You and your partner will have 30 minutes to practice and time it takes to unscramble the lines of code. Record each time using an online stopwatch and note any error correction(s). Be prepared to efficiently unscramble HTML code in class at the conclusion of this laboratory practice. (Note, each time a page is refreshed then the HTML code will scramble. Only one page refresh is allowed during the demonstration.)
HTML 5 Example:
Strict XHTML Example: