Add Page Numbers to Google Docs

This is a pretty cool trick:

goslogogif.png Google finally realized that the headers and footers from Google Docs have almost no real use, as you can’t add dynamic information like page numbers or the current date. Until Google adds these options in the interface, you can edit the document’s HTML code to use them.

Note: these headers and footers will only be visible on an exported PDF.