Home > Article > Web Front-end > Detailed introduction to frameset and iframe in html
1: Frameset and iframe
e1a21cc21b0fde1a625ec69e63208b27 is a frame tag, indicating that the web page document is composed of frames, and sets the layout of the frames that make up the frameset in the document, which is used to divide the frames. Each Frames are marked by a6b59115af808fdb3d02f302deb8ef36660eda582d41f4f6ecd9a0810d30fbff.
a6b59115af808fdb3d02f302deb8ef36 is used to set the properties of each frame that makes up the frame set. a6b59115af808fdb3d02f302deb8ef36660eda582d41f4f6ecd9a0810d30fbff must be used within e1a21cc21b0fde1a625ec69e63208b2713f49cd706eac03e1ba0b155318a55fd.
Note: The frame order of a6b59115af808fdb3d02f302deb8ef36660eda582d41f4f6ecd9a0810d30fbff tags is from left to right or top to bottom.
Iframe is the abbreviation of Inline Frame, which is called inline frame. It is like a brother to frame. Frame is a frame mark, and Iframe is called a floating frame mark. The biggest feature of it different from the Frame mark is that the HTML file referenced by this mark is not displayed independently from other HTML files, but can be directly embedded in an HTML file, together with this The contents of HTML files are integrated with each other and become a whole; because it can display the same content multiple times on a page without having to write the content repeatedly, people call this effect "picture-in-picture".
<body> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="8" bgcolor="#353c44"> </td> <td width="147" valign="top"><iframe height="100%" width="100%" border="0" frameborder="0" src="admin/page/main/left.jsp" name="leftFrame" id="leftFrame" title="leftFrame"></iframe></td> <td width="10" bgcolor="#add2da"> </td> <td valign="top"><iframe height="100%" width="100%" border="0" frameborder="0" src="admin/page/main/right.jsp" name="rightFrame" id="rightFrame" title="rightFrame"></iframe></td> <td width="8" bgcolor="#353c44"> </td> </tr> </table> </body> </html>
Two: The meaning of target="LeftFrame"
1b2ec02192c5c8aaa8deaa14054b258fOpen in LeftFrame4a11e5928b3688cf38c9163b657eb5ac
d1882e36c05de49891fa3a337c2fc62f065276f04003e4622c4fe6b64f465b88
leftFrame is a name, which means http://www.baidu.com The page is displayed in the page named leftFrame. This is one of the commonly used techniques for iframes.
Note: The value of target can be an iframe or a frame.
3: The 6c04bd5ca3fcae76e30b72ad730ca86d36cc49f0c466276486e50c850b7e4956 tag and the f900b4fc197b16ab214eecf015bb6bd2eb5f059992a0ae0ef16884cb75644e40 tag cannot be used at the same time! However, if you add a 37f861bd36cef5b6406eba87d20a5bab tag that contains a piece of text, the text must be nested within the 6c04bd5ca3fcae76e30b72ad730ca86d36cc49f0c466276486e50c850b7e4956 tag)
100db36a723c770d327fc0aef2ce13b1
<frameset cols="25%,50%,25%"> <frame src="/example/html/frame_a.html"> <frame src="/example/html/frame_b.html"> <frame src="/example/html/frame_c.html"> <noframes> <body>您的浏览器无法处理框架!</body> </noframes> </frameset>
The following usage is incorrect:
<frameset cols="25%,50%,25%"> <frame src="/example/html/frame_a.html"> <frame src="/example/html/frame_b.html"> <frame src="/example/html/frame_c.html"> </frameset> <body> 你好! </body>
The above is the detailed content of Detailed introduction to frameset and iframe in html. For more information, please follow other related articles on the PHP Chinese website!