---
title: "Invalid HTML in Google's Homepage"
description: "When validating my homepage /me got 1Error and 1warning, was curious to paw more! w3.org validator says : 37 Errors, 2 in JS."
url: "https://h3manth.com/scribe/invalid-html-googles-homepage/"
canonical_url: "https://h3manth.com/scribe/invalid-html-googles-homepage/"
markdown_url: "https://h3manth.com/scribe/blog/invalid-html-googles-homepage.md"
publishDate: "2011-11-19T00:00:00.000Z"
author: "Hemanth HM"
category: "javascript"
tags: ["javascript","web"]
word_count: 213
reading_time_minutes: 2
x_markdown_tokens: 444
content_signal: "ai-train=yes, search=yes, ai-input=yes"
---

# 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 in JS.

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](http://validator.w3.org/check?uri=http%3A%2F%2Fgoogle.com&charset=%28detect+automatically%29&doctype=Inline&ss=1&outline=1&group=0&No200=1&verbose=1&st=1&user-agent=W3C_Validator%2F1.2) 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!___
