Html framework and html framework Layout

Source: Internet
Author: User

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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.