4 ms·
Unlikely to change over what timeframe? Image formats on the web have moved from .gif to .jpeg/.png to .webp to .avif. Video and audio formats have always been
by account42 3y ago
Unlikely to change over what timeframe? Image formats on the web have moved from .gif to .jpeg/.png to .webp to .avif. Video and audio formats have always been a mess. For a time it seemed things would move to .xhtml.
That the page is sent to your browser as HTML is not a defining attribute and could very well depend on HTTP content negotiation.
- plagiarist 3y agoGiven the endurance of legacy code, my opinion is that any PHP page is more likely to remain a .php than the HTML remain an .html.
- Symbiote 3y agoThat might be true now, but was not the case when PHP was fresh, new and exciting.
- MobiusHorizons 3y agoI think the point being made is that the contents of the file will be html whether it’s a static file on disk or dynamically generated using php. This may be more obvious when thinking about dynamically generated svg or pdf. Php nodes or python would be implantation details. HTML is the content type, and that is not likely to change.
- plagiarist 3y agoI agree with the extension from that perspective.
- hot_gril 3y agoThis is an aspirational abstraction. HTML will probably outlast most websites, and those .gifs are probably /foo.gif on every site too. Even if that somehow changes, it won't break the existing URLs. Less confusing to just call it what it is for the time being.
- gpvos 3y agoThat is a very formal way of looking at it. Moreover, this is rather simple hypertext, not an image. HTML, or a remarkably similar and compatible descendant of it, is likely to remain in use for centuries.