Use frame, frameset, iframe.

xiaoxiao2021-03-06  14

What is frame, frameset, iframe?

frameSet: An HTML document that describes frame layout (called a frameset document) has a different makeup than an HTML document without frames A standard document has one HEAD section and one BODY A frameset document has a HEAD, and a FRAMESET in place of.. The body.

Elements That Might Normally Be Placed In The Body Element Must NOT APPEAR BEFORE The First Frameset Element Or The Frameset Will BE IGNORED.

The definition from frameset from W3C ]>

Frame: The Frame Element Defines A Frame - A Rectangular Subspace With Frame Must Be Contained With Frameset That Defines The Dimensions of The Frame

]> iframe: iframe: IFRAME IS That An Inline Frame CAN Act As a target for other links. The Content of the iframe element is buy is available as an alternative for brows . Ers that are not configured to show or do not support inline frames The content may consist of inline or block-level elements, though any block-level elements must be allowed inside the containing element of IFRAME (what is are block-level elements - - http://www.htmlhelp.com/reference/html40/block.html)

If your page contain something like a Address Book you can place it into a iframe, thus, it Is Not Necessay To Retrieve All T he information from database when client request such page, you can design a link in the page to post the corresponding contact info into the iframe dynamically rather then init it when opening the page, this will make your page perform quite fast

You can use such syntax:

What is the different between frame and iframe? Frame is a sub element of frameset, in W3C document, it describe that "Each FRAME must be contained within a FRAMESET", however, iframe did not, you can include it in a common sense Document.

Another Way To Embed A Document: User Tag Object Instead.

============================================================================================================================================================================================================= ========================================== ============================================================================================================================================================================================== ============================================================================================================================================================================================================= ============================================ How to access the js defined within the Page of frame?

http://www.quirksmode.org/js/frameintro.html

============================================================================================================================================================================================================= ===================================================================================================================================================================== ============================================================================================================================================================================================================= ===================================== ------------- ------------------------------ - main.html --------------- --------------