what's a child frame in the context of a web page?
What's a child frame in the context of a web page ? Is it the web page opened through a hyperlink on a page, or is it some par开发者_如何学编程t of the web page ?
That depends on what kind of frame you're talking about.
If you're talking about the frames that were used as page layout tools, then any of the frames inside of a frameset would be consider child frames.
<frameset>
<frame src="frame1content.html" /><!-- First child frame -->
<frame src="frame2content.html" /><!-- Second child frame -->
<frame src="frame3content.html" /><!-- Third child frame -->
</frameset>
If you're talking about iframes, then the child frame is the iframe. Typically this method is used to open a page from another site and embed it on your own.
<body>
<div>My page content!</div>
<iframe src="http://stackoverflow.com" /><!-- Child frame -->
</body>
Child frame would be any frame within a Frameset element. Or it may also refer to Inline Frames (Iframes)
精彩评论