400 pages? Was his website actually working properly and did it look okay? Honestly, I think it's funny when I see codes that are messy and all over the place. But a large percentage of our site visitors don't know much or anything about how to get a website up.
Ultimately, if the site functions the way it's supposed to who are we to complain? As someone who learnt HTML & CSS practically on my own, there's no way I code just like anyone who learnt it in class. As long as my sites are compatible with all the browsers and do what they're supposed to do, my clients are happy.