How does the Google Search blink html easter egg work?

The Google Search blink html easter egg makes the words blink and html flash on and off across the search results page by applying a CSS animation to those specific terms. When you search for blink html or the blink tag, Google’s frontend code detects the query and injects styling rules that target the highlighted search keywords, recreating the effect of the retired HTML blink element without actually using the obsolete tag.

In the early days of the web, Netscape Navigator introduced the <blink> HTML element, which caused any text wrapped inside it to flash continuously. While popular in the 1990s, the tag was never part of the official HTML standard and was widely criticized for hurting readability and accessibility. Modern browsers eventually dropped support for <blink>, making it completely non-functional on today’s web.

How Google Recreates the Effect

Because modern browsers ignore the <blink> tag, Google Search relies on CSS (Cascading Style Sheets) to produce the same visual result:

  1. Query Detection: When you submit a search for blink html, Google’s servers recognize the phrase as an easter egg trigger.
  2. Keyword Wrapping: As with any normal search, Google wraps matching words in your search results—such as blink and html—inside <em> or <span> elements so they can be styled.
  3. CSS Keyframe Animation: For this specific query, Google attaches a CSS @keyframes animation to those matching elements. The animation rapidly alternates the text's opacity or visibility between visible (1) and hidden (0) at regular intervals, creating a continuous flashing effect across titles, URLs, and snippets.

Why Only Specific Words Flash

The easter egg targets only the words "blink" and "html" rather than the entire page. By scoping the CSS animation strictly to the elements containing the search terms, Google keeps the rest of the interface—like the search bar, navigation links, and surrounding text—readable and functional while still delivering a playful nod to web history.