Nguyen Vu
May 24, 2000
COMP 212 (Wed 6-10)
Leslie Potter
Assignment 8
Due Date: May 31, 2000
HTML Tutorial 5 Frames:
- Read the learning objectives at the beginning of the chapter.
- Draft an outline or map of the chapter main topic and subtopics.
Creating frames for a web presentation
Control the appearance and placement of frames
Control the behavior of hyperlinks on a page with frames
Use magic target names to specify the target for a hypertext link
Create a page that is viewable both by browsers that support frames and by those that do not
Work with Netscape Navigator extensions that change the appearance of frames
- Write answers to these questions.
- Explain the following terms:
Frames (p. 5.2) - are windows appearing within the browser's display area, each capable of displaying the contents of a different HTML file. <FRAME>
Frame Src (5.9) - is the tag that is use to specify the page that will be inserted into a frame. <FRAME SRC=URL>
<Frameset cols="60,*"> (5.11) - frameset is the template to start out a frame page where cols set the frame pages to be column and the first column will be 60 pixels wide and the second take up the whatever left.
scrolling, marginwidth, marginheight, noresize (5.14-5.16) - Scrolling property allows control whether a frame will or will not have a scroll bar. Marginwidth and marginheight property allows control over the amount of space (in pixels) around the contents of the page to the frame's borders. Noresize property prevent users from resizing the frames.
<FRAME SRC=URL NAME=Frame_Name SCROLLING=Yes/No MARGINHEIGHT=Pixels MARGINWIDTH=Pixels NORESIZE>
href, base, and target (5.18, 5.21) - To specify a target for a link, use <A HREF=URL TARGET=Frame_Name> where href is the link that will be open in the target frame name ----. Use the base tag in between the <HEAD> tag to create a default target for all links inside the page. <BASE TARGET=Name_of _target>.
Magic target names (p. 5.22) - are special names reserved by HTML that can be used in place of a frame name as a target for a hypertext link. They are:
_blank (loads document into new browser window)
_self (loads into same frame containing hyperlink)
_parent (in nested frames, loads into same frame containing hyperlink)
_top (loads in place of the current frame layout)
noframes (5.26) - this tag with its closing tag is use to indicate to a browser supporting frames to ignore the contents inside while the browser that does not support frame will proceed to read the contents and to display its.
- By default, the target of the hyperlink will be which frame?
By default, clicking a hyperlink within a frame will open the linked file inside the same frame. (p 5.18)
- For hyperlinks to documents that lie outside of the Web presentation, which magic target name should be used.
The _top magic target name should be used to open documents that lies outside of the current web presentation. (p 5.25)
- How can you allow the user to switch the page to cover the entire document window?
To switch so that the new document covers the entire document window, you use the magic target name _top.
- Why should you avoid the browser specific frame extensions?
You should avoid using frame extensions because not all browsers support these extensions. (p 5.30)
- After completing the Colorado experience page, if time permits, complete Case problem1, p. 5.34-5.35 - Doc-Centric Copiers.
- By the end of the week, add your name to the page, print the source, place your work on oscar, link to it from your home page and test it with both browsers.
- What other things have you learned about this topic?
- What were the most important things you learned about this topic?
- What is still unclear about this topic?
- How can you clarify what is still unclear about this topic?