Html framework and html framework Layout
1. Framework Concept
Framework: divides a browser window into several small windows.
2. Framework set framework page
Framework set <frameset>: Mainly used to divide windows.
Frame page <frame>: used to specify the default webpage address displayed in the window.
A simple example: the frame divides the form into two columns: 200 pixels in the left column and pixels in the right column.
Effect
Frameset attributes
1. cols: divide the left and right frameworks.
Cols = "180, *, 180" // It is divided into left-right structure. The percentage can also be used.
2. rows: dividing up and down frameworks
Rows: "180, *" // top 180 pixels, bottom all
3. frameborder: whether to display the frame border line. Values: 1 and 0.
4. border: border line width.
5. bordercolor: border line color.
Attributes of the frame page
1. src: the default webpage address displayed in this small window.
2. noresize: the size of the small window cannot be adjusted. Noresize: = "noresize"
3. scrolling: whether to display the scroll bar. Value: yes no auto
4. name: the name of the current small window. The target attribute marked by <a> is used to change the name. For example:
Explanation: <a> mark the Link file news, which is displayed in the frame of abc. effect:
<Noframes> meaning
Description: The prompt message displayed when your browser does not support the framework.
Syntax: <noframes> sorry, the frame cannot be displayed when your browser version is low </noframes>
Frame nesting
Embedded framework
Description: It is equivalent to digging a hole in an existing webpage to see the content in it.
Syntax format: <iframe> </iframe>
Difference from a common framework: <iframe> is a sub-tag of <body>.
Common attribute: file address introduced by src
Width frame width
Height frame height
Whether frameborder displays the border line and name of the frame.