HTML basics-website background display page, html basic background page
1. frame set label: (Role: divide the page into regions)
<Frameset rows = "" cols = "">
<Frame src = ""/>
<Frame name = ""/>
</Frameset>
Attribute:
Cols: vertical cutting Division, which can be cut into any one (the value of the parameter is added to = 100%, and one of them can be represented)
Rows: Performs horizontal cutting and can be split into any one (the value of the parameter is added to = 100%, one of which can be represented)
After dividing the area, we need to fill in the content of the specific area. In this case, we need to use the <frame> </frame> label.
Attribute:
Src: Specifies the file (PATH) displayed in the region)
Name: it is usually used in combination with the target attribute of the hyperlink to define the final display position.
2. Implement the website background display page:
First, create an HTML file for the page displayed on the website background,
1 <!DOCTYPE html> 2
Then, create a top.html file under the same folder,
1 <!DOCTYPE html> 2
Create a new left.html file under the same folder,
1 <! DOCTYPE html> 2
Create a new right.html file under the same folder,
1 <! DOCTYPE html> 2
Finally, the HTML file of the page displayed in the website background is run in the browser, and the effect is as follows:
Click member management to view member information,