Examples


Setup of a frame document:

filename a.htm yz.htm
source code <html> <head> <LINK REL="stylesheet" HREF="/css/cssStyle0.css" TYPE="text/css"> <TITLE>A</title> </head> <frameset rows="50%,50%"> <frame src="x.htm"> <frame src="yz.htm" name="bottom"> </frameset> </html> <html> <head> <LINK REL="stylesheet" HREF="/css/cssStyle0.css" TYPE="text/css"> <TITLE>YZ</title> </head> <frameset cols="50%,50%"> <frame src="y.htm"> <frame src="z.htm" name="zwindow"> </frameset> </html>
structure
x.htm
yz.htm
y.htm z.htm
(combined)
x.htm
y.htm z.htm



HTML files referenced within the frame document:

filenamex.htm y.htm
source code <HTML> <HEAD><LINK REL="stylesheet" HREF="/css/cssStyle0.css" TYPE="text/css"> <TITLE>x.htm</TITLE></HEAD> <BODY> <A HREF="b.htm" TARGET="bottom">B</A> <A HREF="d.htm" TARGET="zwindow">D</A> <A HREF="e.htm" TARGET="_self">E</A> <A HREF="f.htm" TARGET="_top">F</A> </BODY> </HTML> <HTML> <HEAD><LINK REL="stylesheet" HREF="/css/cssStyle0.css" TYPE="text/css"> <TITLE>y.htm</TITLE></HEAD> <BODY> <A HREF="b.htm" TARGET="bottom">B</A> <A HREF="h.htm" TARGET="_self">H</A> <A HREF="c.htm" TARGET="zwindow">C</A> <A HREF="f.htm" TARGET="_top">F</A> </BODY> </HTML>
  1. The user will get the following if they click on the anchor "B" in the file x.htm or "B" in the file y.htm:
    x.htm
    b.htm

  2. The user will get the following if they click on the anchor "D" in the file x.htm:
    x.htm
    y.htmd.htm

  3. The user will get the following if they click on the anchor "H" in the file y.htm:
    x.htm
    h.htmz.htm

  4. The user will get the following if they click on the anchor "E" in the file x.htm:
    e.htm
    y.htmz.htm

  5. The user will get the following if they click on the anchor "C" in the file y.htm:
    x.htm
    y.htmc.htm

  6. The user will get the following if they click on the anchor "F" in the file x.htm or "F" in the file y.htm:
    f.htm