Timeline for Why no client-side HTML include tag?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 16, 2022 at 10:15 | comment | added | Joshua Robison | even the javascript solutions require a server. We need a solution that does not require a server. Why does this not exist yet? It just makes extra work for developers. Just give us html snipit injection without need for server. Everybody wants it. | |
| Oct 24, 2015 at 11:37 | comment | added | Stewart | It could alternatively have been designed as a feature of SGML/XML more generally.... | |
| Oct 24, 2015 at 11:37 | comment | added | Stewart | The problem with adding it now would be backward compatibility. Of course, this doesn't explain why it wasn't included in the original design of HTML. | |
| Oct 24, 2015 at 11:36 | comment | added | Stewart | Your reply is the only one that seems to have hit the nail on the head. Are you thinking of something like #include in C? This is exactly the kind of thing "client-side include" means to me - a facility for including arbitrary HTML snippets (rather than entire HTML documents) within an HTML document as integral document content. Though it could be designed as an integral feature of HTML rather than as a pre-parsing stage - the asker's suggested <include src="..."> syntax would fit right in with this. | |
| Sep 21, 2011 at 15:45 | history | edited | Jonas | CC BY-SA 3.0 | added 170 characters in body |
| Jan 13, 2011 at 5:32 | history | answered | Shanimal | CC BY-SA 2.5 |