0

HTML5 Imports - Lessons

(HTML imports, Web Components) Hi - I'm looking to import a couple pieces of HTML5 into my other HTML5 document. I want it with little hassle, easy to implement and perhaps to rely on JavaScript. I feel this is the ideal solution to the game of code-copy-paste (like we all do), where one file can be used for many others. As of current, I'm experimenting with iframes, but I'd like to move away from those. If someone were to have a solution, or be able to post lessons to the Lesson Factory, I and many others alike would be very grateful. I do not understand the ShadowDom one bit - pls send help. :3 Thanks.

3rd Feb 2018, 8:52 PM
ghostwalker13
ghostwalker13 - avatar
1 Answer
+ 1
Hope this helps found out how to link external html like css,and js. https://www.w3schools.com/howto/howto_html_include.asp
4th Feb 2018, 1:23 AM
Manual
Manual - avatar