Comments on: Seeking an Answer: Why can’t HTML alone do includes? https://frontendmasters.com/blog/seeking-an-answer-why-cant-html-alone-do-includes/ Helping Your Journey to Senior Developer Wed, 22 Oct 2025 03:16:03 +0000 hourly 1 https://wordpress.org/?v=6.9 By: Joe Pea https://frontendmasters.com/blog/seeking-an-answer-why-cant-html-alone-do-includes/#comment-44646 Wed, 22 Oct 2025 03:16:03 +0000 https://frontendmasters.com/blog/?p=5713#comment-44646 In reply to Ernest.

This is a big point. This feature would be enabling. Lowering the barrier of entry into the web. That’s a great goal.

]]>
By: Dylan https://frontendmasters.com/blog/seeking-an-answer-why-cant-html-alone-do-includes/#comment-36874 Tue, 12 Aug 2025 09:31:54 +0000 https://frontendmasters.com/blog/?p=5713#comment-36874 Nobody remembers the very old XHTML with SSI (Server side includes)? It should have become the standard!

]]>
By: Alsanan https://frontendmasters.com/blog/seeking-an-answer-why-cant-html-alone-do-includes/#comment-29304 Wed, 04 Jun 2025 17:06:22 +0000 https://frontendmasters.com/blog/?p=5713#comment-29304 It’s the main reason for me to consider html incomplete. It’s a basic piece to leverage html over js, and it’s more needed every day that js frameworks get bigger and jeopardizes the web standards they hate.

]]>
By: Chris Coyier https://frontendmasters.com/blog/seeking-an-answer-why-cant-html-alone-do-includes/#comment-28038 Sat, 17 May 2025 14:05:31 +0000 https://frontendmasters.com/blog/?p=5713#comment-28038 In reply to Vlad.

I think this is it. I have some upcoming conversations though that should shed more light.

]]>
By: Vlad https://frontendmasters.com/blog/seeking-an-answer-why-cant-html-alone-do-includes/#comment-28026 Sat, 17 May 2025 11:48:39 +0000 https://frontendmasters.com/blog/?p=5713#comment-28026 Because HTML was never built for logic-based content reuse, and implementing it would require solving deep problems in performance, security, complexity, and browser architecture—problems that are already better handled by existing tools like static site generators and frameworks.

]]>
By: sareiodata https://frontendmasters.com/blog/seeking-an-answer-why-cant-html-alone-do-includes/#comment-27106 Sun, 04 May 2025 17:03:22 +0000 https://frontendmasters.com/blog/?p=5713#comment-27106 In reply to nobody.

:O
Mind blown!

]]>
By: Chris Coyier https://frontendmasters.com/blog/seeking-an-answer-why-cant-html-alone-do-includes/#comment-27098 Sun, 04 May 2025 13:56:47 +0000 https://frontendmasters.com/blog/?p=5713#comment-27098 In reply to Martin.

I’m not understanding. Are you saying that HTML supports includes and has since 1997? And if I read the spec I would know that?

]]>
By: nobody https://frontendmasters.com/blog/seeking-an-answer-why-cant-html-alone-do-includes/#comment-27096 Sun, 04 May 2025 13:19:17 +0000 https://frontendmasters.com/blog/?p=5713#comment-27096 can do this. html5 supports svg.

]]>
By: Eion https://frontendmasters.com/blog/seeking-an-answer-why-cant-html-alone-do-includes/#comment-27088 Sun, 04 May 2025 12:05:11 +0000 https://frontendmasters.com/blog/?p=5713#comment-27088 In reply to Luke Dary.

I’ve done this for a project before. The xml doc was just xhtml of the content then xslt to client-side render the outside html tags and css and header and footer.

Worked really well, just a pain in the butt making sure everything was valid strict xml with no wriggle room of the looser xhtml spec

]]>
By: Justin Cummings https://frontendmasters.com/blog/seeking-an-answer-why-cant-html-alone-do-includes/#comment-27084 Sun, 04 May 2025 11:18:08 +0000 https://frontendmasters.com/blog/?p=5713#comment-27084 In reply to Ahmad Alhashemi.

I think this is also a factor. Time traveling back to HTML’s ancestor, Sgml, they had an elaborate system of doctype declarations that relied on several aspects to make native composition happen: dtd complexity and failure handling inconsistency between renderers look like they contributed most of the pain.

]]>