<!DOCTYPE html> | |
<head> | |
<style> | |
iframe[name="frame1"] { | |
position:absolute; | |
top: 20px; | |
left: 20px; | |
width: 100px; | |
height: 100px; | |
} | |
iframe[name="frame2"] { | |
position:absolute; | |
top: 20px; | |
left: 20px; | |
width: 100px; | |
height: 100px; | |
} | |
</style> | |
</head> | |
<body> | |
This page has two iframes: both are cross-site. | |
<iframe name="frame1" src="/cross-site/bar.com/title1.html"></iframe> | |
<iframe name="frame2" src="/cross-site/baz.com/title1.html"></iframe> | |
</body> | |
</html> |