Reputation: 190
I'm kind of new to iframes, since I just started. And I've just tried a simple iframe tag, just to see what would happen. Let's just say I want to link it to Stack Overflow. The following is the snippet I took that leads to what happened.
Does anyone know how to solve this problem? Thanks in advance :D
Upvotes: 5
Views: 19775
Reputation: 108839
If you look at the Network tab of your browser's devtools, you'll see more detail about what happens when you try to embed something in an iframe.
Many sites disallow themselves from being embedded by sending the X-Frame-Options header to browsers.
Upvotes: 0