我正在尝试做的是在我的网站中嵌入一个网站。当你在他们的页面上搜索一些东西时,他们的嵌入站点会通过他们的页面重定向,尽管它仍然会在我的网页上。任何帮助都将不胜感激。我和这个网站合作过,但他们自己不知道怎么做。
如果这让人困惑,我很抱歉。如果有帮助,这里有一个例子
<html>//my site
<header>//my site
</header>//my site
<body>//my site
//where embed website is with their page redirects and search engine
</body>//my site
</html>//my site
当您在他们的网站上搜索或转到他们网站上的页面链接时。在某种程度上应该是这样的。
<html>//my site
<header>//my site
</header>//my site
<body>//my site
//new page on the embed site after redirect
</body>//my site
</html>//my site
我能去的任何想法或地方都能帮我解决这个问题。
发布于 2014-12-07 20:45:15
您可以使用标签将网站嵌入到另一个网站中,如下所示:
<embed src="http://www.example.com" style="width:500px; height: 300px;">
您可以根据需要更改高度、宽度和URL。
由于HTML5中引入了<embed>
标记,因此它是最新的嵌入网站的方法。
发布于 2011-10-25 21:43:49
将来自其他网站的内容放入iframe
<iframe src="/othersiteurl" width="100%" height="300">
<p>Your browser does not support iframes.</p>
</iframe>
发布于 2011-10-25 21:42:30
你可能想看看HTML frames,它可以做你想要做的事情。然而,它们被认为是过时的。
https://stackoverflow.com/questions/7890160
复制相似问题