3 ms·
Show HN: HTML-Include: Include HTML in HTML
- franze 1y agoA follow up to https://news.ycombinator.com/item?id=43878728 https://news.ycombinator.com/item?id=43878728 > Why can't HTML alone do includes? A quick Chrome Extension Polyfill for all those who are curious.
- theandrewbailey 1y agoAny reason that the tag isn't a void element, i.e. that it must be <include src="path/to/fragment.html"></include> instead of <include src="path/to/fragment.html"/> ?
- indigodaddy 1y agoSo visitors need a chrome extension?
- perilunar 1y agoChrome extension seems like the wrong way to do this. Should be a web component or just a simple JS file.