I don't know if you have used the frameset attribute in your project. I used the frameset attribute in the production of an online customer service system last year. Because the customer service system needs a fixed layout, with one piece on the top, one piece on the bottom, and so on, I used frameset and frame at that time. After I played around with these attributes, I understood the difference between iframe and frame. Because before this, I generally didn't use frames in my projects, and if I did, I would use iframes. Let’s talk about the specific differences below! The following points are summarized. 1. Frame cannot be used alone without frameSet, but iframe can; 2. Frame cannot be placed in body; The following can be displayed normally: XML/HTML CodeCopy content to clipboard
The following cannot be displayed normally: XML/HTML CodeCopy content to clipboard
On the contrary, if the iframe is placed under the frameSet attribute, it must be placed in the body XML/HTML CodeCopy content to clipboard
3. iframe is an HTML tag and can be used anywhere in HTML, but frame cannot. XML/HTML CodeCopy content to clipboard
The frame must be nested in the frameSet and cannot be used in tags such as table. 4. The height of the frame can only be controlled by frameSet; the iframe can be controlled by itself, not by frameSet XML/HTML CodeCopy content to clipboard
5. If more than two iframes are used on the same page, they can be displayed normally in IE, but only the first one can be displayed in Firefox. Using more than two frames can work normally in both IE and Firefox. |
<<: Summary and examples of vue3 component communication methods
>>: Tips to prevent others from saving as my web page and copying my site
Preface Sometimes when hover pseudo-class adds a ...
public function json_product_list($where, $order)...
1. Download First of all, I would like to recomme...
Recently, there have been many database-related o...
Create a project directory mkdir php Create the f...
Table of contents 1. Class 1.1 constructor() 1.2 ...
Table of contents 1. Dep 2. Understand obverser 3...
Mysql supports 3 types of lock structures Table-l...
1. Set the list symbol list-style-type: attribute...
Table of contents 1. Install node 2. Install Comm...
Preface Regarding HugePages and Oracle database o...
Why use Server-Side Rendering (SSR) Better SEO, s...
Recently, I encountered a problem of whether the d...
Table of contents 1. Master-slave synchronization...
<br />Original address: http://andymao.com/a...