W3C home > Mailing lists > Public > www-html@w3.org > January 2003

Re: self-contained html file format

From: Roland Bluethgen <calocybe@web.de>
Date: Wed, 22 Jan 2003 11:29:43 +0100
Message-ID: <3E2E7297.90101@web.de>
To: www-html@w3.org
CC: Josh Haberman <joshua@haberman.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:54 GMT