How to include external HTML file into another HTML? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to include external HTML file into another HTML?

25th Sep 2019, 9:12 PM
Anthony Johnson
Anthony Johnson - avatar
2 Answers
+ 1
That is very usefull and very common. But it’s always done in the server side. <?php include(”root.php”); ?> This is one of the reason why I like to use laravel and django. They have a proper templating engines.
26th Sep 2019, 5:35 AM
Toni Isotalo
Toni Isotalo - avatar
0
Well say I have two separate HTML files. One is the root and the other is external HTML file on my computer and I want to merge/combine the two.
26th Sep 2019, 3:21 AM
Anthony Johnson
Anthony Johnson - avatar