Frameset (dividing frame window) Common attribute finishing

Source: Internet
Author: User
Tags border color reserved

The

Frame is a Web page divided into several box windows (different Windows correspond to different pages in the form of several pages), while obtaining multiple addresses of SRC. Page all frame tags need to be placed in a total HTML file, this file only records how the frame is segmented, will not display any data, so do not have to put <BODY> tag, browsing this frame must read this file face is not other box window files.

<FRAMESET> is used to divide the frame window, each window frame is marked by a <FRAME> mark,<frame> must be used in <FRAMESET> scope.

Name= "..." Defines the name of the frame
scr= "..." Define the source of the content displayed in the frame
frameborder= ... "Define the bounds between frames (0 or 1)
Margwidth=" ... "Set the bounds of the frame and the spacing between the contents of the frames
margheight=" ... " Sets the bounds of the frame and the spacing between the contents of the frames
noresize= ... "to make the frame size immutable
scrolling=" ... "Set the way the scroll bar is represented (auto, yes, no)


rows=" ... " Set the number of rows
cols= "..." Set the number of columns
onload= "..." The internal event trigger
Onunload= "..." when the document is loaded. When unloading the document internal event triggers

src= "a.html"
Set the name of the page file to display in this box window, each frame must correspond to a page file. The

name= "Top"
Sets the name of the box window so that you can specify the frame as a link, but you must name it arbitrarily. The

frameborder=0
Sets the border of the frame, with values of only 0 and 1, 0 for No borders, and 1 for borders. The

framespacing= "6"
represents the space between the frame and the frame that is reserved. The

bordercolor= "#008000"
Sets the border color of the frame. The

scrolling= "Auto"
Sets whether the scroll is to be displayed, YES indicates that the scroll is to be displayed, no indicates that the scroll is not displayed at all, and Auto depends on the situation.
br> noresize
Setting does not allow the user to change the size of the box, without setting this parameter, the user can arbitrarily pull the frame to change its size. The

Marginhight=5
Represents the space that is reserved for the edge of the frame height section. The

Marginwidth=5
Represents the space reserved for the edge of the frame width section.

noresize= "No" does not allow you to drag

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.