IFrame和Frame有什么区别? [英] What's the difference between IFrame and Frame?

查看:114
本文介绍了IFrame和Frame有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



有些电子商务网站会将完整的浏览器页面投入到我的订单中,认证,而不是使用框架(不一定是iFrame,这是一个不太安全的对象)。



来自 http://en.wikipedia.org/wiki/3-D_Secure

对于 为什么 iframe与其他普通框架相比,安全框架不够安全,并且会导致问题,有人可以给我介绍一下吗?基本的区别是什么?



我看到它的方式, iframe 是要走的路。 frameset 允许您将屏幕分成不同的页面(水平和垂直)并在每个部分显示不同的文档。



<阅读 IFrames安全摘要


Looking at options for embedding the 3D Secure page inside my own order form, I came across the following:

"Some commerce sites will devote the full browser page to the authentication rather than using a frame (not necessarily an iFrame, which is a less secure object anyway)."

from http://en.wikipedia.org/wiki/3-D_Secure

Can someone give me the lowdown as to why iframes are less secure, and cause problems, as opposed to normal frames? And what are the basic differences?

The way I see it, iframe is the way to go.

解决方案

The difference is an iframe is able to "float" within content in a page, that is you can create an html page and position an iframe within it. This allows you to have a page and place another document directly in it. A frameset allows you to split the screen into different pages (horizontally and vertically) and display different documents in each part.

Read IFrames security summary.

这篇关于IFrame和Frame有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆