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

Re: Insert Images Directly into HTML Documents

From: David Woolley <david@djwhome.demon.co.uk>
Date: Thu, 12 Jun 2003 07:10:04 +0100 (BST)
Message-Id: <200306120610.h5C6A4g08672@djwhome.demon.co.uk>
To: www-html@w3.org

> 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 GMT

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