We help IT Professionals succeed at work.

Iframe

218 Views
Last Modified: 2019-05-11
Hello,

Please, can you help me;
In fact we need to display the google site "www.google.com" in my web page but when we used <iframe> we obtained a white window ;
Do you have any idea to display the google page in my site

code :

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
  <title>Untitled 1</title>
<p>Click on link bellow to change iframe content:</p>
<a href="http://www.bing.com" target="search_iframe">Bing</a> -
<a href="http://en.wikipedia.org" target="search_iframe">Wikipedia</a> -
<a href="http://google.com" target="search_iframe">Google</a> (not allowed in inframe)
<iframe src="http://en.wikipedia.org" width="100%" height="100%" name="search_iframe"></iframe>
</body>
</html>

Best regards,
Comment
Watch Question

Shaun VermaakSenior Consultant
CERTIFIED EXPERT
Awarded 2017
Distinguished Expert 2019

Commented:
Google does not allow you to display it within an IFRAME, so you can't do this.

Author

Commented:
do you now another idea to display google in my page web ?
Senior Consultant
CERTIFIED EXPERT
Awarded 2017
Distinguished Expert 2019
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION