如何使以iframe为目标的链接正常工作?

时间:2019-01-31 23:58:22

标签: html iframe

我一直试图将链接指向iframe,但是由于某种原因,它不能像一周前那样对所有网站都有效。有人可以告诉我为什么吗?

这是我的代码:

    <a href="https://twitter.com/GguyMustachio" target="media">Twitter</a>
    <iframe src="https://www.youtube.com" name="media"></iframe>

我一直希望我的Twitter帐户像上周一样尝试在iframe上开设,但现在它只是说:禁止:服务器理解了该请求,但拒绝执行该请求。 有人可以解决这个问题吗?

0 个答案:

没有答案