<html> Topic 12

Answers to quiz

 

1.After the doctype declaration, meta tags and head tags:

image of 2-column frame

<frameset cols="*,3*"> or <frameset cols="25%, 75%"> or <frametset cols="25%,*>
<frame src="fileA.htm" name="nameA">
<frame src="fileB.htm" name="nameB">
<noframes>
<body>
[type information and link to alternative here]</body>
</noframes>
</frameset>

2. This would require nesting frames. First you set up the frameset with two rows. Then, for the second row you nest a frame to create the two columns. Each frameset must be closed. After the doctype declaration, meta tags and head tags:

image of 3-cell frame

<frameset rows="20%,*"> or <frameset rows="20%, 80%">, etc.
<frame src="fileA.htm" name="nameA"> <!-- for top banner row -->
<frameset cols="25%, *"> <!-- nested frameset -->
<frame src="fileB.htm" name="nameB">
<!-- left column -->
<frame src="fileC.htm" name="nameC"> <!-- right column -->
</frameset> <!-- end nested frameset for columns -->
<noframes>
<body>
[type information and link to alternative here]</body>
</noframes>
</frameset>

3. In the frameset for question 2, the top frame might be a banner that does not change and the left column might be the contents, which also will not change. All the links from the table of contents are supposed to open in the right-hand column. If all the links on the page are going to open in the same frame, then in the <head>section</head> of your page you can type <base target=[name of frame]>. In this case it might be <base target="nameC">

 

 

Print Version

You are HereQuiz Answers for Topic 12

 

Readings
Resources
<head>
<p>
<b>
<li>
<a href>
<img src>
Access
<table>
<frame>
<style>
<form>
<script>
<object>
validate

Instructor: dwang@think-ink.net

Copyright by dwang, 1999, 2000. All rights reserved.