Friday, April 23, 2010

Google's tiny logo

How smart is Google?

Although the logos on Google's sites are images (and these have their own clever tricks, but that's another story), there is more magic to the logo than I thought.

I got a server error message the other day while doing some work with atom feeds. A bad query on my part returned some html along with usual http error codes and messages. I noticed that Google's logo can be generated using very common, safe HTML. I stuck it in a standalone file and came out to 423 bytes. And that is without trying to optimize the html. This is so small that you can stick your logo in Error messages as a tiny text stream with no problem.

The font is Times and the colors are basic. Brilliant.

Google


Here is the code that generates this logo.

<table border=0 cellpadding=2 cellspacing=0 width=100%><tr><td rowspan=3 width=1% nowrap>
<b><font face=times color=#0039b6 size=10>G</font><font face=times color=#c41200 size=10>o</font><font face=times color=#f3c518 size=10>o</font><font face=times color=#0039b6 size=10>g</font><font face=times color=#30a72f size=10>l</font><font face=times color=#c41200 size=10>e</font>  </b><td> </td></tr></table>

No comments: