html - How to embed with iframe python.org? -


i have:

<iframe src="https://www.python.org/" width="900" height="900">  </iframe> 

but blank screen on both firefox , chrome. can embed map google maps using similar markup, , works on both browsers. beginner, suppose missing obvious. it?

thanks.

you can use http header field x-frame-options,

<meta http-equiv="x-frame-options" content="sameorigin"> 

there 3 possible values x-frame-options:

deny - page cannot displayed in frame, regardless of site attempting so.

sameorigin - page can displayed in frame on same origin page itself.

allow-from uri - page can displayed in frame on specified origin.

so looks url has set 'x-frame-options' 'sameorigin'.

refused display 'https://www.python.org/' in frame because set 'x-frame-options' 'sameorigin'.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -