Web Standards at Google

Published on October 2, 2008 (ā†» February 5, 2024), filed under (RSS feed for allĀ categories).

This and many other posts are also available as a pretty, well-behaved ebook: On Web Development.

This post is partially outdated.

As an exception, Iā€™m writing as a Googler here: At Google, we care about web standards. Officially, thatā€™s no news, but given repeated criticism for the code of our pages (see posts by Joe, Roger, Matt Webb, Jeff Starr, Monday By Noon, Standardzilla, or others), maybe it is.

As someone whoā€™s responsible for the quality and performance of Google websites Iā€™d like to point out that on the one hand, there are particular reasons why some of our products do not formally validate or, say, have potential when it comes to semantics, while on the other hand, there are well good examples for Google sites that adhere to web standards.

Only focusing on live sites and without giving too much details for now, here are some random examples that hint at these efforts:

I suggest this small sample to demonstrate how we very practically care about standards. There are a few Google products and pages out there that deserve extra attention and special care, yes, but maybe this post sheds some new light on where Google stands.

Update (April 28, 2013)

The majority of sample sites above is not available anymore. [They were later updated to point to archived versions.] However, Iā€™m proud to add that in the years after this post, we on Googleā€™s Web Studio (formerly Webmaster Team) have stepped up our efforts so much that of thousands and thousands of Google web pages, the majority is now not just valid, but of generally reasonable quality. Take Googleā€™s corporate pages, press site, or ads pages as additional examples.

Tony, I, and others will continue to share more about our teamā€™s work on quality Google sites on both our teamā€™s Twitter account as well as the Webmaster Central Blog.

Update (October 21, 2014)

Later, one could observe regressions.

Was this useful or interesting? Share (toot) this post, become a one-time nano-sponsor, or support my work by learning with myĀ ebooks.

About Me

Jens Oliver Meiert, on November 9, 2024.

Iā€™m Jens (long: Jens Oliver Meiert), and Iā€™m a frontend engineering leader and tech author/publisher. Iā€™ve worked as a technical lead for companies like Google and as an engineering manager for companies like Miro, Iā€™m a contributor to several web standards, and I write and review books for Oā€™Reilly and FrontendĀ Dogma.

I love trying things, not only in web development (and engineering management), but also in other areas like philosophy. Here on meiert.com I share some of my experiences and views. (Please be critical, interpret charitably, and giveĀ feedback.)

Comments (Closed)

  1. On October 2, 2008, 22:23 CEST, Dave said:

    Why do some people make such a big deal of insisting that they know better than Google? You get so much farther in life if look for reasons why people do what they do than if you focus on tearing down.

  2. On October 2, 2008, 22:50 CEST, pepelsbey said:

    Wimbledon 2008 ā€” 404 error.

    And ā€” yes ā€” we in Yandex (search engine and services, Googleā€™s rival in Russia) taking care about web standards too šŸ˜Š Not so much as we would like to, butā€¦

  3. On October 2, 2008, 23:48 CEST, David Alfaro said:

    Having web standard compliant pages is the safe bet for assuring the pages work well across a wide range of browsers.

  4. On October 3, 2008, 7:31 CEST, Robert said:

    From my impression, people express the majority of their ā€œGoogle vs. W3 standardsā€ critisism while they judge the search pageā€™s quality, and not one of the smaller Google properties you mentioned.

    Most of the critics do understand/suspect that Google has to be scarce on just about every byte of bandwidth and relate markup errors to an attempt to reduce page weight, but a closer look reveals that Google Searchā€™s invalid markup wonā€™t save a lot and even causes the opposite effect on occassions.

    A technical explanation of the reasons behind these design decisions would make for a very interesting contribution to this debate, even if some trade secrets would limit the amount of detail.

    Google is certainly producing every single element of their markup on purpose, isnā€™t it?

  5. On October 3, 2008, 20:33 CEST, Dave said:

    ā€œGoogle is certainly producing every single element of their markup on purpose, isnā€™t it? ā€

    As a total outsider, I would assume that the HTML for Googleā€™s most important property is deliberate and perfect, or a 20% project would have already fixed it.

  6. On October 3, 2008, 21:31 CEST, Joe Clark said:

    I assume ā€œparticular reasonsā€ is not synonymous with ā€œairtight or even rationally defensible reasons.ā€

    If code concision is the goal, you can sure leave out a lot of tags in HTML and still produce a good document.

  7. On October 4, 2008, 9:49 CEST, Ben Buchanan said:

    The people at Google may care about standards, but Google-the-company shows no serious commitment.

    Flagship products donā€™t validate; services like Gmail have a long history of bad cross-browser support (heavy irony for the Chrome team); weā€™ve been told that valid sites wonā€™t index or rank better than crap sites.

    So Iā€™m afraid Googleā€™s track record speaks louder than ten valid microsites.

    Googleā€™s sin is one of omission. Google has the worldā€™s attention and could make standards compliance into a ā€œmust haveā€ just by telling people to do it. But, Google does not do that. So, by omission, Google-the-company does more harm than good for standards.

    All I can really say is keep fighting the good fight šŸ˜Š

  8. On October 4, 2008, 14:43 CEST, Jens Oliver Meiert said:

    Š’Š°Š“ŠøŠ¼, maybe there was a temporary problem, the Wimbledon page seems to work (again).

    Robert, indeed, focus often lies on Googleā€™s homepage as well as the results pages, but Googleā€™s code base is a little larger šŸ˜‰

    Ben, well, Iā€™m not sure if actively contributing to standards organizations, standards advancement, and standards implementation can be considered ā€œno serious commitment.ā€ And taking into account this as well as the examples, sharing another perspective appears legitimate. Anyway, thanks, and yes, Iā€™m not lazy, either šŸ˜Š

  9. On October 22, 2008, 2:22 CEST, Kim said:

    For better or worse, Google in particular has become a role model for Internet web design behavior. Therefore the underlying message (the one people pay attention to) is that web standards are a nice idea but not practical.

    I truly think they should make this a priority. The other big role model (and offender) in regard to web standards is Amazon, who seems to totally disregard the issue. ā€œIā€™m too big to care about your silly rulesā€.

    This is the future of the Internet guys, itā€™s vital.

  10. On December 12, 2008, 0:17 CET, Ben Buchanan said:

    Any chance Google might be able to take on the hosting of the validators? [W3C Validators in Jeopardy] ā€¦seems like something Googleā€™s infrastructure could handle without even noticing šŸ˜Š

  11. On December 12, 2008, 9:39 CET, Jens Oliver Meiert said:

    Ben, that is an interesting idea. I followed up on this internally, thanks!

  12. On April 21, 2009, 10:19 CEST, Francesco said:

    Since when does the Google homepage have a HTML 5 doctype?