Hello All,
I want to include html page in other page
foe ex. home.html and footer.html
i want to include footer.html in home.html page.
and when run home.html and (ctrl+U) view source code both page code will be
want to show.
please help me.
div id="container">
var link = document.querySelector('link[rel="import"]');
var template = link.import.querySelector('template');
var clone = document.importNode(template.content, true);
document.querySelector('#container').appendChild(clone);

Manas MohapatraRank #182 · 13.2K reputationPosted Aug 11, 2015, 7:00 AM EDT
Your browser does not support iframes.
Ravindra Walde153 reputationPosted Aug 11, 2015, 9:36 PM EDT
Sandeep KumarRank #1,923 · 763 reputationPosted Aug 14, 2015, 5:15 AM EDT