Matt
Matt

Reputation:

Showing another HTML page inside my own page

I keep hearing that iframes have been depreciated and object's are the best way to achieve this now, however most articles that state this are 3 or so years old. With the current technologies and frameworks what is the best way to show another page (from a different domain) inside my own html page?

Upvotes: 0

Views: 902

Answers (2)

Wim ten Brink
Wim ten Brink

Reputation: 26682

Use common sense, most of all! If you include the contents of another website in your own site, you could be violating someone's copyright! Even if you just display the other site in an iframe. So make sure you have permission before including another site in yours.

Upvotes: 2

Noon Silk
Noon Silk

Reputation: 55082

An iframe is still an acceptable way of solving this problem. you may need a p3p policy though (for cookies).

Upvotes: 0

Related Questions