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
Solved

iframe not work with google

Posted on 2014-09-11
2
212 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
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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

808 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