Re: Insert Images Directly into HTML Documents

> I have developed a picture store format which could be integrated directly

Please see the data: URL scheme.

> into a HTML file (without img reference). This would be extremely useful

You cannot include anything structural into HTML without the use of
element tags, that violates the principle that HTML is an application
of SGML (and XHTML of XML).

The way of inlining small images is:

<img alt="appropriate alternative text" src="data:.....">

see the RFC for the exact format of the encoded data (either it contains
the media type or you need to specify an explicit media type).

I'm not sure what the current support for this scheme is, although that
would be off topic, as in fact is this subject, as URLs are not HTML.

Received on Thursday, 12 June 2003 02:10:08 UTC