CSS validation is the process of checking the code against the formal guidelines and standards set by the Wide Web Consortium (W3C) for CSS document.
Why Validate Your CSS Code
As a beginner, it is very common that you will make mistake in writing your CSS 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 a great tool https://jigsaw.w3.org/css-validator/ to automatically check your style sheets, and point out any problems/errors your code might have, such as invalid CSS property missing closing bracket or missing semicolon (;) etc. It is absolutely free.
Validating a Website
Website validation is the process to ensure that the pages of a website conform to the formal guidelines and standards set 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 CSS document.