
Student Portfolio >> Index >> Website Scripting >> HTML Questions
Answers to the Chapter Questions in "HTML for the WORLD WIDE WEB 5th Edition (Student Edition) by Elizabeth Castro
Chapter 1:
Multiple Choice: Q1: Both C and B are correct. B) is the standard for HTML, C) for XHTML Q2: B) Turquoise Q3: B) <a href=”aliceatwork.html”> Q4: D) Plugin Q5: B) Converts them to a single space
Fill-in-the-blank: 1. http://www.mydomain.com is a(n) absolute URL . 2. <a href=”aliceatwork.html”> is an(n) relative URL. 3. A paragraph is an example of a(n) empty type element. 4. An italicized word in a paragraph is an example of a(n ) non-empty element. 5. The hexadecimal color #ffcc66 could be abbreviated to #fc6 . 6. In the URL ftp://www.mydomain.com , the scheme used is ftp (file transfer protocol .
Definitions: 1. What is an element? à A label-like structure that identifies different parts of a web page.
2. What is an attribute? à A characteristic of an element.
3. What is a value? à A value defines an attribute. Eg. <img src=”mypic.jpg width=”300” /> Whereas width is the attribute and 300 the value of the attribute. (the pictures width is declared to 300)
CHAPTER 2
Multiple Choice: Q1: A) recipes Q2: A) In the browser, choose File > Open > Open File Q3: A) View the source code in the browser Q4: A) Sketch out a site plan Q5: B) There are syntax checker built in
Definitions: 1. What is a default page? à The front page of a website. The site that will be displayed when the URL of a website is entered without a specific file.
2. What is a source code? à Sets of instructions that specify the operation/layout of a program (or in this case Website)
CHAPTER 3
Multiple Choice: Q1: D) windows-1252 Q2: B) Rockers of the 80's: Live Life: Real Life Album Q3: B) div Q4: A) span Q5: C) Only one
Fill-in-the-blank: 1. The section of an (X) HTML document that contains document information unseen in the browser window is the Comments. 2. Headers are hierarchical block elements that divide a page into topics and subtopics. 3. A tool tip would appear for an element if it had a title attribute .
CHAPTER 4 Multiple Choice: Q1: B) abbr Q2: C) blockquote Q3: A) pre Q4: D) ins and del Q5: A) When writing computer code
Fill-in-the-blank:
CHAPTER 5
Multiple Choice: Q1: C) RGB Q2: D) Set the matte to match the page's background color Q3: B) JPEG Q4: A) The image appears at gradually increasing resolution Q5: B) Apply a slight Gaussian Blur Q6: D) Create a series of images that play one after another in the same graphic element.
Fill-in-the-blank: There are 216 colors that are considered to be Web Safe. Mixing two colors to produce a missing color is called dithering. The fastest way to select an entire layer is to choose the save for web command. Most monitors display images at about 86 pixels per inch.
CHAPTER 6
Multiple Choice: Q1: A) alt=”” Q2: A) alt Q3: A) When the mouse is over the image Q4: D) The image will be on the left with text flowing around to the right
Fill-in-the-blank: 1. A clear attribute can be added to a br tag. 2. To add white space to both the left and right side of an image, use the hspace attribute. 3. To add white space to both the top and the bottom of an image, use the vspace attribute. 4. To create a solid appearance in a horizontal rule, use the noshade attribute. 5. For a horizontal rule, the width attribute can be expressed in either pixel or percentage .
CHAPTER 7 Multiple Choice: Q1: A) base Q2: A) id and name Q3: B) rect, circle, poly Q4: C) The center of the circle and the radius Q5: D) In the img element that corresponds to the image map
Fill-in-the-blank: 1. The type of image map that is interpreted by the user's browser is a client side image map.
2. To link to a particular place on a page use a(n) anchor .
3. To make a link appear in a given window or frame, use a(n) default target .
4. The href attribute stands for hypertext reference .
Definitions:
1. What is the distinction between an image map and a graphic link? An image map is one picture with several hot spots that lead to another site. Where as a graphic link is one image that leads to another page.
2. What are the essential parts of a link? A destination, a label and a target.
CHAPTER 8
Multiple Choice: Q1: A Q2: A
Fill-in-the-blank:
selector declaration colon, semicolon ancestor a:link, a:visited, a:focus, a:hover, a:active
Definitions: a descendant selector is a selector based on an element's ancestor a child selector is a selector based on an element's parent pseudo-elements are selectors that refer to actual content that cant be manually marked as an independent element format based on an adjacent sibling: the selector chooses only those element which directly follow a siblings element
CHAPTER 9 Multiple Choice: 1. A 2. B D B D
Fill-in-the-blank:
.css external internal local inheritance and specificity rule
CHAPTER 10 Multiple Choice: A B D A B Fill-in-the-blank:
word-spacing text-align text-transform:capitalize text-decoration:line through repeat-x
Definitions:
CHAPTER 11 Multiple Choice: C C A D C D
Fill-in-the-blank:
z-index position:fixed position:relative background-repeat:no-repeat foreground default top & bottom px, percentage,ems transparent vertical-align:baseline
Definitions: The overflow property allows for control of the area outside of an elements box. When elements are overlapping, the x-index property allows definition of the element that should be on top. The clear property allows control for elements that can float next to each other and which can't.
CHAPTER 12 Multiple Choice:
D A C C Fill-in-the-blank:
widows orphans Definitions: page-break-before:when page-break-after:when
where: when = always so that page breaks occur before/after the selected elements., avoid so that page breaks only occur before/after selected elements when absolutely necessary, and auto to let the browser decide.
2. @page: right {style-rule} is a property that controls how web pages are printed. In this case the page is defined to the right and will therefore be printed this way.
CHAPTER 13 Multiple Choice: Q1: B
Q2: D
Q3: A
Q4: C
Fill-in-the-blank:
inside . outside . <dt> , <dd> . upper-alpha .
Definitions:
Chapter 14
Multiple Choice: Q1. A tr
Q2 . B td
Q3. D The (X)HTML border attribute is inherited by all the table cells, while the CSS border property is not.
Q4. D 600px
Q5. C align
Q6. B Use comments to guide you
Q7. B The table may not render in the browser if a complete table is not there.
Q8. A Use either valign or vertical-align
Fill-in-the-blank:
percentage . pixels . border-spacing . rowspan . colspan .
Definitions:
Chapter 15:
Multiple Choice: Q1. C 4
Q2. D Use an asterisk (*)
Q3. B As a link target.
Q4. B Nest a two column frameset in the top row of the first frameset.
Q5. C Use an i frame
Q6. D Embed text or (X)HTML content in a page using the object element.
Fill-in-the-blank:
transparent longdesc = ”info.url” target “target = “_top” noresize frameborder = “0”
Definitions:
Chapter 16:
Multiple Choice: Q1. D. Cobol
Q2. B. In the cgi-bin directory
Q3. A. So it will execute
Q4. A. <form method=”post” enctype=”text/plain” action= mailto:[email protected] >
Q5. D. <select name=”name”>
Q6. B. optgroup
Fill-in-the-blank:
PERL . ASCII enctype=”multipart/form-data” . <form method=”post” action=”upload.cgi”> post , get . name , value .
Definitions: name-value pairs are the pieces of information associated for each element on a form. the form tag, the form elements, and the submit button are the 3 most important parts in a form.
the Browse button allows a user to open a dialogue box to select the file that will need to be uploaded.
The difference between a password box and a text box is that bullets or asterisks hide whatever is typed in the former.
Chapter 17
Multiple Choice:
Q1. C a plugin Q2. B the height and width Q3. C the object is a tiny Java application Q4. D JavaScript Q5. A . It only downloads and plays if the user clicks the link
Fill-in-the-blank:
Definitions: 1. Interactivity and combination of Graphics, animation, audio, video and virtual reality
Chapter 20:
Multiple Choice: Q1. D 40 Q2. A 128 Q3. D . Save the document with the correct encoding
Fill-in-the-blank:
Definitions:
Chapter 21: Multiple Choice:
Q1. B Q2. C Q3. D Q4.C Q5. D Q6. C
Fill-in-the-blank:
Chapter 22: Multiple Choice: Q1. C Q2. C Q3. D
Fill-in-the-blank: 1. <nobr> 2. <wbr> 3. <center> 4. leftmargin=”*” and topmargin=”*” 5. marginwidth and marginheight 6. tile
Chapter 24: Multiple Choice: Q1. B Q2. C Q3. C Q4. B Q5. D Q6. A
Fill-in-the-blank:
Chapter 25:
Multiple Choice: Q1. B Q2. A Q3. C Q4. B Q5. D Q6. A
Fill-in-the-blank:
Definitions:
Chapter 26:
Multiple Choice: Q1. B Q2. C Q3. B Q4. B
Definitions: 1. Search Emgome Optimization is reflected by companies that charge a lot of money and promise to make ones site popular by submitting it to search engines with tricky ways. 2. A crawler page contains links to all of the most important sections of a website which is submitted to the search engine. It will ensure that the proper pages will be notices. |
Copyright 2005 Kerstin Kegel