开发者

Question about IFrame

开发者 https://www.devze.com 2023-01-01 07:08 出处:网络
I had been going through Iframe related questions and got stuck with this. They break the one-document-per-URL

I had been going through Iframe related questions and got stuck with this.

They break the one-document-per-URL paradigm, which is essential for the proper functioning of the web (think bookmarks, deep-links, search engines, ...).

Moreover, if I ask开发者_开发问答 you to tell me the difference between Iframes and Frames, what is the easiest way to explain it?


Frame allows you to display multiple documents on page.

They all have distinct URLs which are hidden from you. So, you cannot bookmark them separately.


An iframe is a frame in an otherwise normal document.

Normal frames are placed in a document which consists entirely of frames (plus, hopefully, some fallback content from user agents that don't support them).

0

精彩评论

暂无评论...
验证码 换一张
取 消