Download presentation
Presentation is loading. Please wait.
Published byEmmeline Geels Modified over 10 years ago
1
Creating Frames
2
Frames allow you to view more than one Web page at a time. You can split the browser window horizontally and vertically. You can also specify how Internet Web pages will display.
3
Understanding Frame Tags Dividing a single browser window into multiple windows for separate document viewing is called framing. There are two kinds of HTML documents being used on the Web: frameset documents and body documents.
4
Understanding Frame Tags Body documents are the Web pages we have created so far that are formatted using tags. Body documents tell the browser to display the information contained between the tags.
5
Understanding Frame Tags Frameset documents contain the information necessary for the browser to determine what kind of frame structure it should use when dividing the window into frames. Frameset documents contain URLs referencing a document that the browser should display within the frame. Frameset documents tell the browser, Display this file here, and that file there.
6
Understanding Frame Tags In a frameset document, the tag is replaced by the tags which tell the browser how to divide the windowhow many miniwindows to display and whether the windows will be displayed in rows or columns.
7
Understanding Frame Tags The tag tells the browser which filename to use as the source for that frame. The frameset document is sometimes referred to as the Master Page.
8
Splitting the Window Vertically When splitting the window, you need to specify what percentage of the window each document will have. Be careful that your percentages do not total more than 100% or the browser will display the Web page incorrectly. Then you need to tell the browser what file to put in each frame. for each window
9
Splitting the Window Horizontally To divide the window into rows, change the word COLS to ROWS in the tag There are two ways to specify the size of each window in a frameset document.
10
Splitting the Window Horizontally The percent sign (%) creates an absolute dimension. The frame will always be the specified percentage of the window. An elastic frame enlarges or gets smaller depending on how much room is left in the window.
11
Splitting the Window Horizontally The first window would be 30%, the second, 25%, and the third whatever is left over. Elastic frames help your Web page display correctly no matter what size screen your readers are using.
12
Frames Some browsers will not reload or refresh a frameset document. You will need to reopen the file.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.