I've moved this to the HTML forum for the time being because it seems to be about basic HTML.
To have a frame or iframe, it must be in the source code of the page. You can put it there using javascript, but it is much easier and usually much better to have it there already.
Regular frames are a little trickier because they require a special sort of top page called a frameset. Iframes can go anywhere on an ordinary page. Either a frame or an iframe may be given a name attribute in your HTML source code.
Once a frame or iframe has a name, ex (using iframe):
HTML Code:
<iframe src="whatever.htm" name="myIframe" width="300" height="250"></iframe>
it can be targeted by a link:
HTML Code:
<a href="another.htm" target="myIframe">Link Text</a>
See also - For framesets and regular frames:
http://www.w3schools.com/tags/tag_frameset.asp
Bookmarks