Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

iframe not work with google

Posted on 2014-09-11
2
Medium Priority
?
222 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 84

Accepted Solution

by:
Dave Baldwin earned 2000 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

722 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