如何直接在另一个内显示一个整个网站..?

问题描述:

I am kind of new to website development. I am curious to know whether it is possible to display someone's website inside my website like displaying w3schools.com inside a stackoverflow.com in a smaller block as a part of the website.

我是网站开发的新手。 我很想知道是否有可能在我的网站内显示某个人的网站,比如在一个较小的区域内将stackofflow.com中的w3schools.com显示为网站的一部分。 p> div>

You can use iframe.

An inline frame is used to embed another document within the current HTML document.

<iframe src="http://www.w3schools.com"></iframe>

An IFrame would be the simplest way to do this.

<iframe src="http://www.w3schools.com">
</iframe>

http://www.w3.org/TR/html-markup/iframe.html

you can try this

<iframe src="http://www.w3schools.com">
</iframe>

its should be work

<iframe src ="http://www.w3schools.com" width="500px" height="300px">