Solved

iframe not work with google

Posted on 2014-09-11
2
213 Views
Last Modified: 2014-09-11
Hello I have this html with an iframe:

<!DOCTYPE html>
<html>
<body>

<iframe src="http://www.google.com" width="200" height="200"></iframe>



</body>
</html>

Open in new window


   But is not displayed the iframe, however if I call www.disney.com on the iframe works, like this:

<!DOCTYPE html>
<html>
<body>

<iframe src="http://www.disney.com" width="200" height="200"></iframe>



</body>
</html>

Open in new window


Why not work for google and for disney yes? Also www.yahoo.com not work why happen that and how can be solved?
Thank you
0
Comment
Question by:coerrace
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 40317750
Some web pages including some of my own will prevent you from displaying them in a frame or iframe.  There is nothing you can do to change that.  These sites do not want you to put their content in your iframe so they block your ability to do that.
0
 

Author Closing Comment

by:coerrace
ID: 40317772
OK
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question