5 ms·
If this shows itself to be highly useful as a concept, then I would perhaps avoid reinventing the wheel on the file format side of things, and just standardize
by blixt 3mo ago
If this shows itself to be highly useful as a concept, then I would perhaps avoid reinventing the wheel on the file format side of things, and just standardize what we already have:
- Come up with a file extension (.hmml)
- Decide on an entrypoint filename and format (index.html)
- Use an existing standard for combining resources into one file (tar + zstd)
Now you have something that is usable only using pre-existing tools.
- yeargun 3mo agoYeah I agree in fact this is both a packing strategy or a POV of thinking. Next browser versions could support it. <img src="html-underdog.hmml" /> or when tomorrow's genai models mix declarative images with rasters, then they would like something like this or OS -> html-underdog.html double clicks -> browser opens it.
- assimpleaspossi 3mo agoNote: the <img> tag does not use and does not need a closing slash and never has in any HTML specification.
- yeargun 3mo agoSame HTML specification does not support .hmml Until they support .hmml imma close my image tags. But thanks for highlighting (its a joke)
- assimpleaspossi 3mo agoClosing an <img> tag with a slash has no meaning. It does nothing. And browsers ignore it. So it's pointless cause <img> is self-closing by itself.
- malicka 3mo agoUnless you’re the type who wants their HTML to be valid XHTML! :^)