Iframe in HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Iframe in HTML

I can't use iframe with some of website like Google and Facebook How to solve it. ?

8th Apr 2019, 8:24 PM
Abdullah Ahmed
Abdullah Ahmed - avatar
1 Answer
+ 4
Google and Facebook are using a X-Frame-Options in the HTTP response header to avoid the content being loaded in a iFrame. The X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a or . Sites can use this to avoid clickjacking attacks, by ensuring that their content is not embedded into other sites. Source: https://developer.mozilla.org/en/The_X-FRAME-OPTIONS_response_header
8th Apr 2019, 9:15 PM
Mawlood Fareq
Mawlood Fareq - avatar