Why can't HTML alone do includes?

Viewed 135
The discussion centers around the inability of HTML to natively support includes, a feature that allows for the inclusion of HTML documents within other HTML documents. HTML Imports were proposed as part of the Web Components initiative but were discontinued due to lack of support from major browser vendors like Mozilla, mainly due to implementation complexity and security concerns. While server-side includes (SSI) and client-side methods like iframes have been used as workarounds, they each come with limitations. The conversation points to a historical context of how these issues have been approached and the relevance of transclusion, as seen in platforms like MediaWiki. Overall, many point out that while HTML is primarily a presentation language, there are still calls for a simple client-side solution to address the need for includes, highlighting both the challenges and opportunities present in modern web development.
0 Answers