when ever we load something with an iframe , everything loads in its seperate dom root.
so thats great one iframes css,js dont get affected by existing stuff on the page .
I was wondering is there a way to create a div but have that div stay in it's own dom document root without using an iframe ?
so fore example i can place htm css js in that div but because it would run like an iframe and run in its own dom document root.
can this be done ? or is just using iframes is the only way.
<iframe rel="prerender" src="https://www.mypage.com/custom.html" >
</iframe>