2 ms·
HTML can already have CSS and JS embedded with little ceremony. You can sorta embed images with data URLs, but I kinda wish you could instead add blocks of base
by billpg 3y ago
HTML can already have CSS and JS embedded with little ceremony. You can sorta embed images with data URLs, but I kinda wish you could instead add blocks of base64 encoding to the end of the HTML and reference it with a special IMG attribute. With that, if browsers could auto-detect GZIP-compressed-HTML and un-gzip silently, we'd have the ideal self-contained document.
- gildas 3y agoHere is an example of my ideal self-contained document format [1]. It's a self-extracting ZIP which can also be read as a PNG image. [1] https://gildas-lormeau.github.io/ https://gildas-lormeau.github.io/