Invalid HTML in Google’s Homepage
When validating my homepage /me got 1Error and 1warning, was curious to paw more!
w3.org validator says : 37 Errors, 2 warning(s) on validation of google.com! Edit 1 : It says : 39 Errors, 2 warning(s) /me loves reading obfuscated code, with javascript in view on of the most obfuscated code can be found in the source pages of google pages, may it be gmail, g+ or even their 404 page! It’s fun reading it.
But for my shock here are the list of errors that was found in google.com
Including errors like :
- Attribute width not allowed on element div at this point.
- The center element is obsolete. Use CSS instead.
- The clear attribute on the br element is obsolete. Use CSS instead. Many more
- End of file seen and there were open elements!!
- Unclosed element center!!
List of other sites that failed :
- facebook.com 41 Errors
- twitter.com 2 Errors, 1 warning(s)
- firefox.com 1 Error, 1 warning(s)
- wikipedia.org 5 Errors, 24 warning(s) Stopped after that! Some of them that passed :
- Opera.com
- gnu.org
- stallman.org Yes indeed the HTML5 parser is rapidly changing and this stats might be wrong sooner, but just for some study this data was collected and shared!__
About Hemanth HM
Hemanth HM is a Sr. Machine Learning Manager at PayPal, Google Developer Expert, TC39 delegate, FOSS advocate, and community leader with a passion for programming, AI, and open-source contributions.