Import HTML #10470
Labels
addition/proposal
New features or enhancements
needs implementer interest
Moving the issue forward requires implementers to express interest
What problem are you trying to solve?
A simple way to import HTML into another HTML file
What solutions exist today?
Using server side languages like PHP
How would you solve it?
Creating a new HTML tag called
<import>
Here is some example code...
index.html
footer.html
How index.html it will render in the browser
Anything else?
When browsers parse a HTML file and come across an
import
tag, it will need to stop loading the rest of the page until it fetches the HTML file that is stated in thesrc
attribute. If it cannot find the file, it will give a 404 error in the browser console and continue on loading the rest of the HTML.All the work will be done client side
The text was updated successfully, but these errors were encountered: