HTML validation is the process of checking the code against the formal guidelines and standards set by the Wide Web Consortium (W3C) for HTML/XHTML Web pages.
Why Validate Your HTML Code
As a beginner, it is very common that you will make mistake in writing your HTML code. Incorrect or non-standard code may cause unexpected results in how your page displayed or functions in a web browser.
The World Wide Web Consortium (W3C) has created great tools http://validator.w3.org/ to automatically check your pages, and point out any problems/errors your code might have, such as missing closing tags or missing quotes around attributes.
Validating a Website
Validating a website is the process of ensuring that the pages on the website conform to the norms or standards defined by the World Wide Web Consortium (W3C).
There are several specific reasons for validating a website, some of them are:
- It helps to create Web pages that are cross-browser, cross-platform compatible. It also likely to be compatible with the future version of Web browsers and Web standards.
- Standards compliant web pages increase the search engines spider visibility and your pages will more likely be appear in search results.
- It will reduce unexpected errors and make your web pages more accessible to the visitor of your website.
Note:Validation is important. It will ensure that your web pages are interpreted in the same way (the way you want it) by the various web browsers, search engines etc. as well as users and visitors of your Web site.
Follow the link given below to validate your HTML/XHTML document. It will automatically detect whether you're using HTML or XHTML, and which doctype you're using.