Add HTML from another page

0

I needed to add the contents of another page in HTML , type, I open the link page and in the HTML of this page would have an event or some javascript that loaded the link , but without changing the URL .

    
asked by anonymous 21.07.2017 / 15:11

1 answer

2

OK, I solved using the iframe. For future reference:

 <iframe src="http://site2.com.br/arquivos/site1.html"></iframe> 

: D

    
21.07.2017 / 15:26