Use frameset to frame the window and build a simple background page. This blog is as a simple background management page of the actual combat drill.
1 First, you need a page, using <frameset> proportionally divided into three areas suitable for: Head, menu, body.
<frameset> cannot be written in <body>.
Give each <frame> a name so that the target property can point directly to the specified location when the link is back.
The code is as follows (the file name is custom, I write frameset.html):
2 We need to specify a different URL in three frames, we need to write several HTML files: head.html; menu.html; menu1.html; menu2.html; menu3.html; menu4.html; Main.htmlHead.html:
Four options, each selected link to a different menu, target points to the form where the menu is located.
<center>
Menu.html:Nine options, each selected link to a different content, target points to the form in which the principal is located.
Because the method used is exactly the same as the header link menu, the URL is empty and not written.
<center>
Menu1.html:<center>
Menu2.html:<center>
Menu3.html:<center>
Menu4.html:<center>
Main.html:<center>
After you have written all the files, save them under the same directory. Open the frameset.html file to see the following effect:
After clicking on the second item on the head:
Well, the basic function of a background is realized. If you write a bug, please be patient with debugging.