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
1. Install xshell6 2. Create a server connection ...
Subquery in MySql database: Subquery: nesting ano...
I just learned mybatis today and did some simple ...
There are many read-write separation architecture...
1. Basic Specifications (1) InnoDB storage engine...
I encountered a requirement to customize shortcut...
Result:Implementation Code html <link href=...
I didn't use MySQL very often before, and I w...
Effect There are currently 2 projects (project1, ...
When creating a time field DEFAULT CURRENT_TIMEST...
Table of contents MYSQL METADATA LOCK (MDL LOCK) ...
I recently wrote a combination of CSS3 and js, an...
A jQuery plugin every day - step progress axis st...
When you learn MySQL, you will find that it comes...
Table of contents Preface Core code File shows pa...