Monday, 3 June 2013

Validating my Website

I validated the code of my website using http://validator.w3.org/check, I put each of the html pages through the check and got a page like this one for each of the checks.  It gave me a number of error and warnings and also detailed this further down the page like this.

I then went through trying to fix the error in there code this was not difficult as the validator gave me a description of the error as well as the line number for where it was in the code. It took time to validate each of the pages and fix the errors, but at the same time it sorted out parts of the code and helped me find little errors that I otherwise wouldn't of. 

After making the changes to the code for example adding a missing close tag I revalidated each of the pages and eventually they came up green with no errors found. 


CSS - 

I also validated my CSS3 using http://csslint.net after pasting in and checking my whole CSS my results ok as seen here. 

The main issue was the 3 errors in the code so I wanted to make sure these were fixed. After going through the code and fixing the problems i rechecked the CSS and got 0 errors the warning were still there but this was mainly all around the order and the way I had written the CSS and as this was my first time hand coding the CSS completely I can take these warning forward to my next website. 


No comments:

Post a Comment