Why my iframe didnt work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
10th Nov 2020, 9:31 AM
🇮🇳𝐻𝓎𝓅𝑒𝓇𝒸𝑜𝒹𝑒𝓇🇮🇳
🇮🇳𝐻𝓎𝓅𝑒𝓇𝒸𝑜𝒹𝑒𝓇🇮🇳 - avatar
7 Answers
+ 8
Because that particular website does not allow you to access their website from iframes.
10th Nov 2020, 9:47 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 7
neither iframe nor embed would work if owner of website configured server with "X-Frame-Options" as "deny".
10th Nov 2020, 10:05 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 3
Ohhh😮
10th Nov 2020, 9:52 AM
🇮🇳𝐻𝓎𝓅𝑒𝓇𝒸𝑜𝒹𝑒𝓇🇮🇳
🇮🇳𝐻𝓎𝓅𝑒𝓇𝒸𝑜𝒹𝑒𝓇🇮🇳 - avatar
+ 3
🇮🇳SŪPÉR ÇØDĒR🇮🇳 & Raj Chhatrala If you are using a website to get displayed on this html. Then use <embed> It will work for the websites. iframe doesnt work for websites embeding.
10th Nov 2020, 10:02 AM
Muhammad Atif Waheed
Muhammad Atif Waheed - avatar
+ 3
Thank you you both
10th Nov 2020, 10:06 AM
🇮🇳𝐻𝓎𝓅𝑒𝓇𝒸𝑜𝒹𝑒𝓇🇮🇳
🇮🇳𝐻𝓎𝓅𝑒𝓇𝒸𝑜𝒹𝑒𝓇🇮🇳 - avatar
+ 1
Yes this is also a fact.
10th Nov 2020, 10:06 AM
Muhammad Atif Waheed
Muhammad Atif Waheed - avatar
+ 1
Raj Chhatrala I've a question that is it possible that we can make our website to get embedded by only those who will be selected? I'm beginner in html css js
10th Nov 2020, 10:07 AM
Muhammad Atif Waheed
Muhammad Atif Waheed - avatar