How do I embed an HTML page inside another without iframe?

1

I have a common page inside a body in a div I want for a li or a p of another html, so I have a main page if I need to make changes and I have external contents. Without having to change all pages when I insert a new link in the menu, for example. I read about the and the import in the link tag but I could not by. Can someone help me?

    
asked by anonymous 24.11.2016 / 20:19

1 answer

1

Speak Guilherme,

You can use the jQuery load () function

$( "#ul" ).load( "pagina-com-o-ul-modificado #ul-menu" );

link

And as JBueno said, there are several frameworks that have support for this, it will depend on the language you are going to use.

    
24.11.2016 / 20:26