Re: self-contained html file format

Josh Haberman wrote:
> HTML is probably the most portable document display format after plain
> text.  However, its use as a document exchange and archival format is
> diminished by the inability to embed binary data, most significantly
> images.

The data URL scheme might be for you. This enables you to embed images 
in HTML like this:

<IMG SRC="data:image/gif;base64,R0lGODdhMAAwAPAAAAA ...

See RFC 2397. There's an example page in german language at 
http://selfaktuell.teamone.de/artikel/grafik/inline-images/index.htm
The image there is such an inline data stream.

Netscape browsers understand this for several versions now. Microsoft 
browsers up to version 5 didn't understand this, don't know what version 
6 thinks about this, but I wouldn't be optimistic. ;-)

Received on Wednesday, 22 January 2003 05:29:25 UTC