Daud
Daud

Reputation: 7887

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 part of the web page ?

Upvotes: 0

Views: 518

Answers (2)

Justin Niessner
Justin Niessner

Reputation: 245429

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>

Upvotes: 1

Joyce Babu
Joyce Babu

Reputation: 20664

Child frame would be any frame within a Frameset element. Or it may also refer to Inline Frames (Iframes)

Upvotes: 0

Related Questions