Rick's Tech Talk

All Tech Talk, Most of the Time

URI

Hiding HTML Using Data URIs and base64

I've been spending the past few evenings noodling with the HTML5 <canvas> element. I often bring up the HTML Canvas 2D Context Working Draft specification. The spec shows what functions are available to the canvas' context, and the examples are instructive. However, the spec also introduced me to a method for "hiding" HTML text directly inside another HTML file, using the "data URI" technique.

Tags: 
Subscribe to RSS - URI