Download Test Bank for The Web Wizard`s Guide to HTML

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

URL redirection wikipedia , lookup

Transcript
Test Bank for The Web Wizard’s Guide to HTML
Chapter One
Short Answer
1.
What is the World Wide Web (WWW)?
Answer: A large collection of public documents distributed over a network of millions of computers.
2.
What is a web server?
Answer: A computer that stores documents and makes them available (serves them up) via a network.
3.
What do you need to view a web page?
Answer: An Internet-ready computer, an Internet access account, and a web browser
4.
Define the term “hyperlink”.
Answer: A clickable element (i.e. text or an image) on a web page that takes you to a new page or a different
location on the current page.
5.
What is the Internet?
Answer: A large global network of thousands of smaller computer networks and millions of individual computers.
6.
What does HTTP stand for?
Answer: HyperText Transfer Protocol
7.
In the following URL, identify the web server, directory path and file name:
http://www.radiotalk.org/wwwboard/index.html
Answer: The web server is www.radiotalk.org, the directory path is wwwboard and the file name is index.html.
8.
Explain what it means to download a file.
Answer: A file is moved from a remote computer to a local computer.
9.
Why does bandwidth matter?
Answer: The slower the bandwidth, the longer it will take to download a file.
10.
What does HTML stand for?
Answer: HyperText Markup Language
11.
What characters identify HTML tags from ordinary text?
Answer: < and > (located above the comma and period on the keyboard)
12.
What character differentiates a closing HTML tag from an opening one?
Answer: / or slash (located below the question mark on the keyboard)
HTML
page
1
13.
Why should we use lowercase lettering when creating HTML tags?
Answer: Both XML and XHTML require lowercase so it’s good to get prepared for these higher level markup
languages now.
14.
Why should you avoid using MS Word to create web pages?
Answer: Unlike using simple text editors like NotePad or SimpleText, you have to go through four extra steps in
order to make sure Word does not mess up your HTML file (see page 10).
15.
What is a DTD statement?
Answer: A Document Type Declaration tells validation services which version of HTML (according to W3C) you
are using.
True-False
1.
A web site is one web page written by one person.
Answer: False
2.
DNS stands for Domain Name Server.
Answer: True
3.
Text files are recognized as web pages when their file names end with .html or .htm.
Answer: True
4.
The title element should be placed within the body element.
Answer: False
5.
A browser-specific extension is always good to use.
Answer: False
Multiple Choice
1.
The person who maintains a web site is called a
a)
b)
c)
d)
web server
web site
web master
web browser
Answer: c) web master
2.
What does URL stand for?
a)
b)
c)
HTML
Uniform Resource Locator
Uniform Resource Language
United Resource Language
page
2
d)
United Relative Locator
Answer: a) Uniform Resource Locator
3.
The web browser’s cache
a)
b)
c)
d)
contains extra features to install.
saves a copy of web pages for faster viewing the next time it’s called.
should never be used.
is the cost of the browser
Answer: b) saves a copy of web pages for faster viewing the next time it’s called.
4.
What tag set opens and closes a web page?
a)
b)
c)
d)
<web>, </web>
<page>, </page>
<webpage>, </webpage>
<html>, </html>
Answer: d) <html>, </html>
5.
What is the W3C?
a)
b)
c)
d)
Has the authority to set industry standards
World Wide Web Consortium
Establishes new standards for HTML
All of the above
Answer: d) All of the above
Chapter 2
Short Answer
1.
Explain the difference between the title element and the heading element.
Answer: The title element controls the browser window’s title bar while the heading element creates text that can be
used to signal parts of the web page such as chapter titles, section headings and subsections.
2.
What are comment tags and how are they written?
Answer: Comment tags contain notes that the person writing the HTML wants to include about the code. They are
only visible when looking at the source or HTML code. A comment tag begins with <!-- and ends with -->.
3.
In HTML tags, what are attributes?
Answer: Attributes help you fine tune the HTML tag by adding alignment, size and so forth. If the HTML tag can
be considered a verb, the attribute would be the adverb.
4.
How does the paragraph element signal on the web page the start of a new paragraph?
Answer: A blank line.
5.
HTML
How is the <br> tag different from the <p> tag?
page
3
Answer: No blank line and no closing <br> tag.
6.
What does the <hr> tag do?
Answer: It inserts a horizontal line or rule across the page.
7.
What is the difference between a “safe” font and a “somewhat risky” font?
Answer: Somewhat risky fonts are not available on all web browsers and computers.
8.
What are the safe serif fonts?
Answer: Times New Roman (Windows) and Times (Mac)
9.
What does it mean if a tag is deprecated?
Answer: The tag is being phased out by W3C and the major web browsers.
10.
What’s the difference between presentational elements and informational elements?
Answer: Informational elements are more abstract while presentational elements are more display based.
11.
If you want to create a bulleted list, which tags do you use to start and end the list?
Answer: <ul> and </ul>
12.
Why would you use the dictionary list element rather than the other list elements?
Answer: When you have list items that require more detailed descriptions.
13.
How do you create a nonbreaking white space?
Answer: &nbsp;
14.
What will happen if you insert three line break elements and then add more text?
Answer: There will be three blank lines before the text appears.
15.
use?
If you want your text to have the exact spacing and line breaks you type in, which HTML tags should you
Answer: <pre> and </pre>
True-False
1.
You can use a HTML attribute by itself.
Answer: False
2.
<h1> is for creating the largest heading size.
Answer: True
3.
HTML
Like the <ol> and <ul> tags, the <dl> tag must be used with <li> tags to create the list.
page
4
Answer: False
4.
Special characters are used to get things like foreign language characters and math symbols to appear on a
web page.
Answer: True
5.
The block quote element leaves the text exactly as it is typed.
Answer: False
Multiple Choice
1.
In the tag <h1 align=”center”>, which is the attribute name and which is the attribute value?
a)
b)
c)
d)
The attribute name is h1, the attribute value is center.
The attribute name is align, the attribute value is center.
The attribute name is center, the attribute value is align.
The attribute name is align, the attribute value is h1.
Answer: b) The attribute name is align, the attribute value is center.
2.
Why should you always use a closing paragraph tag?
a)
b)
c)
d)
The paragraph won’t appear if you don’t.
Only parts of the paragraph will appear.
Your web page will be one giant paragraph.
XML and XHTML require closing tags.
Answer: d) XML and XHTML require closing tags.
3.
What does CSS stand for?
a)
b)
c)
d)
Colorful Style Sheets
Creative Style Sheets
Cascading Style Sheets
Computer Style Sheets
Answer: c) Cascading Style Sheets
4.
David wants to make a numbered list on his web page. Which HTML tags would he use?
a)
b)
c)
d)
<ul> and </ul>
<#> and </#>
<nl> and </nl>
<ol> and </ol>
Answer: d) <ol> and </ol>
5.
What will be the result on the web page if your HTML includes the following code:
<p></p><p></p><p></p>
a)
b)
HTML
One blank line
Three blank lines
page
5
c)
d)
Six blank lines
Nothing
Answer: a) One blank line
Chapter 3
Short Answer
1.
What is hexademical notation?
Answer: A coding system in base 16 that is used by web browsers to describe colors.
2.
What tag and attribute do you use to set the background color on a web page?
Answer: body and bgcolor
3.
Why should you always set your background color?
Answer: While the default background for Internet Explorer is white, it is gray for Netscape.
4.
What does RGB stand for?
Answer: Red, green, blue.
5.
When a background image is tiled, what happens?
Answer: It is repeated over and over to fill up the window space.
6.
What happens when you use both a background color and image?
Answer: The background color appears first and then the image appears when it is loaded.
7.
What’s an inline image?
Answer: An image that is treated as a single, alphanumeric character, just like a character you would type on a
keyboard.
8.
Why is it important to always use the alt attribute with the img tag?
Answer: Not all browsers display graphics. This is especially important for the visually impaired users.
9.
If I use the align=”left” attribute with my image element, what will happen to the text I place after the
image?
Answer: It will flow around the image.
10.
Why should you always include the width and height attributes inside the img tag?
Answer: The web browser will know what size the images are going to be, reserve space for them and place the text
on the reserved space. Thus users can read the text while the images are loading.
11.
What is aspect ratio and why should it be preserved when scaling images?
Answer: Aspect ratio is the relationship of the height to the width. If it is not kept the same as the original, the
HTML
page
6
image will be distorted.
12.
If you want the web browser to go up one subdirectory from the one you are currently using, what do you
put before the file name?
Answer: ../ or <img src=”../cat.gif”>
13.
Why should we worry about bandwidth limitations?
Answer: More than 95% of all home computer users connect to the Internet via telephone modems.
14.
What is the 1 x 1 pixel trick your book discusses?
Answer: You preload images at the bottom of an early page so that they will already be loaded when users move on
to other pages.
15.
Why should you be careful about using the 1 x 1 pixel trick?
Answer: It slows down the loading of the earlier pages and it only helps if you guess right on which page the user is
going to next.
True-False
1.
You can add a background to your web page by adding the bg attribute to your body tag.
Answer: False
2.
You can use any image you find on the Web without asking permission.
Answer: False
3.
If you want text to stop flowing around an image, you can use <br clear=”center”>.
Answer: True
4.
If you don’t want to worry about relative paths, just keep all of your HTML and image files in a single
directory.
Answer: True
5.
A progressive JPEG is about the same as an interlaced GIF.
Answer: True
Multiple Choice
1.
How many web-safe colors are there?
a)
b)
c)
d)
216
256
1,000,000
16,777,216
Answer: a) 216
HTML
page
7
2.
Which image file formats are okay for using on a web page?
a)
b)
c)
d)
e)
GIF
JPEG
BMP
All of the above
Only a) and b)
Answer: e) Only a) and b)
3.
Which tag is correct for scaling an image?
a)
b)
c)
d)
<img src=”cat.gif” scale=”50x50” alt=”My cat”>
<img src=”cat.gif” scale=”50”,”50” alt=”My cat”>
<img src=”cat.gif” width=50 height=50 alt=”My cat”>
<img src=”cat.gif” alt=”My cat”>
Answer: c) <img src=”cat.gif” width=50 height=50 alt=”My cat”>
4.
What is an interlaced GIF?
a)
b)
c)
d)
An image of interwoven lace.
A special background only image.
A clickable image.
An image that produces its displays in four passes.
Answer: d) An image that produces its displays in four passes.
5.
Which of the following attributes is optional when using the image element?
a)
b)
c)
d)
align
alt
height
width
Answer: a) align
Chapter 4
Short Answer
1.
What does an absolute URL link to verses a relative Web server?
Answer: An absolute URL links to a page on a different Web server whereas a relative URL links to a page on the
same Web server.
2.
What does a named anchor link to?
Answer: A different location on the same Web page.
3.
HTML
In this hyperlink, which part is the link label:
<a href="http://www.radiotalk.org/books.html">Talk Radio Books</a>?
page
8
Answer: Talk Radio Books
4.
In the hyperlink above, which part is the link destination?
Answer: = http://www.radiotalk.org/books.html
5.
Why shouldn't you use the word "here" as a link label?
Answer: Some search engines use link labels to index Web pages.
6.
How do you get rid of the blue border that shows up around images when they are made links?
Answer: Add the attribute "border=0" to the img tag.
7.
Why are relative links more portable than absolute links?
Answer: Web pages with relative links can be moved to a new Web server and still be operational. Absolute links
would need to be modified after the move.
8.
How can you create a link that will open up a new window?
Answer: Use the target attribute.
9.
When would you use named anchors?
Answer: On very long Web pages.
10.
Why should you not link to someone else's named anchor?
Answer: The other Web page author could change the anchor without you knowing.
11.
What is an automated link checker?
Answer: A utility that helps Web author to make sure that their hypertext links are all valid.
12.
Can hypertext links be checked without being on the Internet?
Answer: Only relative links within your own web pages can.
13.
What is an application service provider (ASP)?
Answer: A commercial service that offers Web-based computing capabilities to its subscribers.
14.
Why is it important to check your links?
Answer: Visitors to your web pages will become frustrated if your links don't work on a regular basis. This is
especially true with navigation links within your own pages.
15.
What is a virtual domain hosting service?
Answer: It is a service that lets you obtain space on a Web server under your own personal domain name.
HTML
page
9
True-False
1.
A link label is always an URL.
Answer: False
2.
It's very important to remember to close the anchor tag (</a>).
Answer: True
3.
You can usually omit the file name "index.html" when creating an absolute link.
Answer: True
4.
Forcing linked page to open in a new window is always a good idea.
Answer: False
5.
When you get a "404 - Page Not Found" error, the page may have moved or you may have typed the URL
in wrong.
Answer: True
Multiple Choice
1.
What type of HTML link is this:
<a href="http://www.radiotalk.org/books.html">Talk Radio Books</a>
a)
b)
c)
d)
Absolute URL
Relative URL
Named Anchor
Relative Anchor
Answer: a) Absolute URL
2.
What the attribute "href" stand for in the anchor tag?
a)
b)
c)
d)
hyper reference
hypertext reality
hypertext reference
Nothing - it's a nonsense word.
Answer: c) hypertext reference
3.
What does the error message "404 - File Not Found" mean?
a)
b)
c)
d)
The server name is valid.
The Web page could not be found.
Both A and B.
Neither A or B.
Answer: c) Both A and B.
4.
HTML
Which of the following is a link to a named anchor?
page
10
a)
b)
c)
d)
<a href="books.html">books</a>
<a href="#books">books</a>
<a href="http://www.books.com">books</a>
<a name="books">books</a>
Answer: b) <a href="#books">books</a>
5.
Which code is the proper way to link to a named anchor on another page within the same Web site?
a)
b)
c)
d)
<a name="stern">Stern</a>
<name="stern">Stern</a>
<a href="books.html" name="stern">Stern</a>
<a href="books.html#stern">Stern</a>
Answer: d) <a href="books.html#stern">Stern</a>
Chapter 5
Short Answer
1.
What are the two most commonly used file formats for Web graphics?
Answer: GIF and JPEG
2.
What type of images is the GIF file format best for?
Answer: Line art, cartoons and simple images.
3.
Why doesn't the bitmap (BMP) file format belong on the Web?
Answer: Not all Web browsers can handle them and the files are much bigger than other image file formats.
4.
What happens when a color is dithered?
Answer: Pixels of other colors are mixed to create the illusion of a color that's not actually part of the available
color palette.
5.
What is an adaptive palette?
Answer: A reduced color palette based on the most commonly used colors.
6.
What is ghosting?
Answer: Noise in a JPEG version of a graphic that results in a blurry-looking image.
7.
Why is it important to keep graphics files as small as possible?
Answer: So the Web pages will load quickly.
8.
If an image format is lossy, what does that mean?
Answer: The compression technique used by the format trades off image quality for greater savings in memory.
9.
HTML
What is the difference between an interlaced GIF and a transparent GIF?
page
11
Answer: The interlaced GIF produces its displays in four passes or slowly seems to come into focus, whereas the
transparent GIF is an image that allows the Web page's background color to show through the parts of it that have
been designated transparent (usually around the edges).
10.
Describe an image map.
Answer: An image on a Web page that contains certain clickable portions that are sometimes called "hot zones".
11.
What is the difference between a server-side image map and a client-side image map?
Answer: Server-side image maps required a special program on the Web server while client-side image maps are
handled by the Web browser.
12.
What attribute must be added to the img tag in order to use an image map?
Answer: ismap
13.
What is an image mapper?
Answer: A software utility that generates a map element quickly and easily for the Web page author.
14.
Explain what a buffer is in streaming media.
Answer: A temporary holding area that stores information from the streaming server until there is enough to play
the streaming file without too many starts and stops.
15.
What is the PNG image file format?
Answer: A format created when it seemed the GIF format might not be freely available anymore. The files are
lossless, can be interlaced and can be made transparent. They also tend to be smaller than GIF files.
True-False
1.
The JPEG file format displays photographs by use of dithering.
Answer: False
2.
Image compression is a process by which the file size is reduced even if the actual image size doesn't
change.
Answer: True
3.
A progressive JPEG is similar to an interlaced GIF.
Answer: True
4.
Hidden hotzones that force the visitor to search for the clickable portions make the Web page more fun and
easier to use.
Answer: False
5.
Streaming media is a technology that makes it possible to play large multimedia files in real time while the
files continue to download.
Answer: True
HTML
page
12
Multiple Choice
1.
Which image file format is better for presenting photographs on the Web?
a)
b)
c)
d)
JPEG
GIF
ABC
BMP
Answer: a) JPEG
2.
Which image file format is a lossy format?
a)
b)
c)
d)
JPEG
GIF
PNG
ABC
Answer: a) JPEG
3.
What is a thumbnail preview?
a)
b)
c)
d)
Holding up your thumbnail in front of your nose to judge the appropriate size of images
A special HTML tag for seeing small versions of Web pages
A clickable smaller version of a larger graphic that links to the original image
None of the above
Answer: c) A clickable smaller version of a larger graphic that links to the original image
4.
What information about the hotzones do you need to create an image map?
a)
b)
c)
d)
x-axis values
y-axis values
z-axis values
Both A and B
Answer: d) Both A and B
5.
Which image file format supports animation?
a)
b)
c)
d)
PNG
GIF
JPEG
BMP
Answer: b) GIF
Chapter 6
Short Answer
1.
HTML
What is a table in HTML?
page
13
Answer: An element with an internal structure based on rows and columns
2.
Why is it so important to remember to close all of your table tags?
Answer: Some Web browsers will not show the table at all if the closing tags are missing.
3.
What are the three most common sets of HTML tags used when creating a table?
Answer: <table></table>, <tr></tr> and <td></td>
4.
What two ways can you define the width of a table?
Answer: By percentage or by pixel.
5.
What happens if you add the attribute "align=center" to a td tag?
Answer: Everything within that cell or table data element will be centered.
6.
What does the cellpadding attribute do when added to the table tag?
Answer: Adds a margin inside each table cell according to the attribute value
7.
Explain how you can use a table to make sure text on a Web page won't be placed on top of a background
border.
Answer: By creating a table with two columns: one is an empty column slightly larger than the border and the other
column contains the text.
8.
Why should you be careful about putting lots of text in multiple columns on your Web pages?
Answer: Not all browsers support tables, especially those used by the visually impaired.
9.
When experimenting with complicated table layouts, what can you do to make the structure easier to see
while testing?
Answer: Set the border attribute to 1.
10.
Explain what the rowspan and colspan attributes do.
Answer: The rowspan attribute allows a cell to span or cover more than one row. The colspan does the same for
columns.
11.
What does the attribute cellspacing do?
Answer: Sets the width in pixels of the boundary separating adjacent cells.
12.
What are nested tables?
Answer: Tables within tables
13.
What are these tags for: <th></th>?
Answer: Table headers
14.
HTML
When the nowrap attribute is added to a table data element or a table row element, what happens?
page
14
Answer: The text within the cell or all the cells in the row are kept on a single line.
15.
What does W3C recommend using tables for?
Answer: Tabular data only.
True-False
1.
You can't change the background color of a table.
Answer: False
2.
Text and images can be used within tables.
Answer: True
3.
The rowspan and colspan attributes are interchangeable.
Answer: False
4.
A large table with lots of rows are better than several smaller tables.
Answer: False
5.
The summary attribute of the table element provides a brief description of the table for nonvisual browsers.
Answer: True
Multiple Choice
1.
Which set of tags define a cell within a table?
a)
b)
c)
d)
<table></table>
<tr></tr>
<td></td>
<cell></cell>
Answer: c) <td></td>
2.
If you want to have a blank cell, the correct code would be
a)
b)
c)
d)
<td></td>
<td>&nbsp;</td>
<td blank></td>
<td>0</td>
Answer: b) <td>&nbsp;</td>
3.
The colspan attribute can be used with which set of tags?
a)
b)
HTML
<td></td>
<cell></cell>
page
15
c)
d)
<tr></tr>
<table></table>
Answer: a) <td></td>
4.
If you want to make a table have a background color, which attribute do you use?
a)
b)
c)
d)
tbackground
tablebackground
background
bgcolor
Answer: d) bgcolor
5.
Which attribute do you use to make text within a cell always start at the top of the cell?
a)
b)
c)
d)
align=top
align=start
valign=top
valign=start
Answer: c) valign=top
Chapter 7
Short Answer
1.
In HTML, what do frames do?
Answer: They partition the browser window into predefined regions so that different HTML files can be displayed
inside each region.
2.
What HTML tag pairs tell the browser you are going to be using frames?
Answer: <frameset>, </frameset>
3.
What does the frame element do?
Answer: It defines each frame within the frameset.
4.
Explain the difference between cols and rows in framesets.
Answer: The cols attribute is used to create vertical frames and the rows attribute is used to create horizontal
frames.
5.
Why is it important to name each frame?
Answer: In order to be able to direct what Web pages go in what frames.
6.
In the HTML code, <frameset rows="100,*">, what does the asterisk mean?
Answer: The second frame is made up of whatever space is left.
7.
HTML
What do you need to do to make sure your browser is showing the most recent version of all of your
page
16
frames?
Answer: Hold down the Shift key when you hit Reload or Refresh.
8.
Why should you be careful about omitting the scroll bar on a frame?
Answer: All the contents of the frame may not be visible on all monitors. Thorough testing is necessary before this
should be done.
9.
How do you get rid of the borders when using frames?
Answer: Within the frameset element, set the frameborder and border attributes to 0.
10.
What is deep linking?
Answer: Linking that pulls content out of its original and intended context and sometimes makes the content seem
like to belongs to a different web site.
11.
How can you keep your pages from being stuck inside someone else's frames?
Answer: By inserting the JavaScript directive shown on page 133.
12.
What is the purpose of the <noframe>,</noframe> tag-pair?
Answer: Provides information for browsers that don't support frames.
13.
How do you break a page out of its frame?
Answer: Click the right mouse button (Mac users hold down the mouse button for a few seconds). In the pop-up
menu that appears, select "New Window with this Frame" or "Open Frame in New Window."
14.
If you want a link within a frame to open within the entire browser window, what do you define as the
target?
Answer: _top
15.
What does the noresize attribute do?
Answer: It prevents visitors from resizing the frame.
True-False
1.
When you use the frameset element on a Web page, you don't need a body element.
Answer: True
2.
It's not necessary to add the closing frameset element (</frameset>).
Answer: False
3.
Like tables, frames can be nested.
Answer: True
4.
HTML
Deep linking should be avoided.
page
17
Answer: True
5.
In frames, the border attribute can be defined as a percentage.
Answer: False
Multiple Choice
1.
Which of these tags are all tags used for creating frames?
a)
b)
c)
d)
<frameset>, <frames col=>
<body>, <frameset>
<body frameset>, <frame>
<frameset>, <frame>
Answer: d) <frameset>, <frame>
2.
Choose the correct HTML to create two horizontal frames with the top one being 150 pixels high.
a)
b)
c)
d)
<frameset cols="150,*">
<frameset rows="*,100">
<frameset rows="150,*">
<frameset cols="*,150">
Answer: c) <frameset rows="150,*">
3.
Which attribute of a hypertext link is used to indicate where the linked information should go within the
frameset?
a)
b)
c)
d)
target
name
frame
where
Answer: a) target
4.
Frames can be defined as
a)
b)
c)
d)
pixels
percentages
Both
Neither
Answer: c) Both
5.
Which link within frames would open within the entire window?
a)
b)
c)
d)
<a href="books.html" target="entire">
<a href="books.html" target="_top">
<a href="books.html" target="all">
<a href="books.html" target="top">
Answer: b) <a href="books.html" target="_top">
HTML
page
18
Chapter 8
Short Answer
1.
From Get Ready: Seven Steps, what does the Page Check entail?
Answer: View each page for a final time on both Internet Explorer and Netscape Navigator. Check for spelling
errors. Make sure the pages are attractive, legible and credible.
2.
Which links should be absolute and which links should be relative?
Answer: Links to pages other than your own should be absolute links. Links to your own pages should be relative
links.
3.
What attributes should all of your img tags have?
Answer: All img tags should have the width, height and alt attributes.
4.
What do you do during the Point of Contact and Acknowledgements Check?
Answer: Identify yourself on at least one of your pages. Give your readers a way to reach you. Acknowledge
sources and supply links to related web sites.
5.
What is the Copyright Statement Check?
Answer: Any original artwork or text may require an explicit copyright statement. Make sure it is easy to see and
worded correctly.
6.
Before you upload your web pages to a server, what information do you need to have?
Answer: Your user ID and password, the host address for the web server, the directory path to your web directory
on the web server. Later, you will also need the URL for your home page.
7.
When Web sites offer free space, what is the "catch"?
Answer: Your "free" web page will probably contain a banner ad or pop-up ad.
8.
The author describes uploading via a web browser as a "no frills" mode. What does that mean?
Answer: This method doesn't have the features and conveniences provided by other methods.
9.
Most of the time, what directory in your web account should your pages be placed in?
Answer: public_html
10.
Files being uploaded to a web server will overwrite old files. What does this mean?
Answer: If you upload a file with the same name as a file already in that directory on the web server, it will replace
the old file with the new one.
11.
What should you check if the URL for your web page doesn't work?
Answer: Double-check your URL for errors, check that the files were uploaded to the correct directory, check that
HTML
page
19
the file name wasn't altered, check that the file was actually uploaded.
12.
What does the term "drag-and-drop" mean in regards to FTP clients?
Answer: It means you can simply drag a file from your computer's desktop on top of the FTP client to upload the
file.
13.
If you have the option of choosing the text, binary or automated mode on your FTP client, which should
you choose?
Answer: As long as you use common file types (such as .html or .jpg), you can choose the automated option.
14.
Why would your Web files' filenames possibly have changed after being uploaded to the Web server?
Answer: Sometimes the software alters the file names. Check for truncated file names and changes in case (i.e.
lowercase instead uppercase and etc.).
15.
What should you do if your image file aren't displaying?
Answer: Make sure the image file was uploaded, make sure it's in the correct directory, make sure the file name is
correct and check for typographical errors.
True-False
1.
Links to web pages other than your own should be relative links.
Answer: False
2.
It's not important to remember to close your FTP connection.
Answer: False
3.
Netscape Communicator's Composer is an example of a web construction kit.
Answer: True.
4.
If you overwrite an old file on a web server with a new one, you can easily recover a copy of the old file.
Answer: False
5.
It's important to double-check your Web pages and links after you upload them to the server.
Answer: True
Multiple Choice
1.
Which of the Get Ready: Seven Steps deals with how the people coming to your web site will work their
way through the site?
a)
b)
c)
d)
HTML
Page Check
Link Check
Navigation Check
Copyright Statement Check
page
20
Answer: c) Navigation Check
2.
Which address is the correct way to upload to a web server using a browser?
a)
b)
c)
d)
ftp://your_userid@some_host_name/
ftp://www.some_host_name/
http://your_userid@some_host_name/
http://your_userid.some_host_name/
Answer: a) ftp://your_userid@some_host_name/
3.
Which of the following may be used to upload web pages to a server?
a)
b)
c)
d)
Web browser
FTP client
Web construction kit
All of the above
Answer: d) All of the above
4.
Which method is probably the best combination of uploading features?
a)
b)
c)
d)
Web browser
FTP client
Web construction kit
All of the above
Answer: b) FTP client
5.
What information do you need before you can upload your Web pages to the server?
a)
b)
c)
d)
Your User ID and password
Host address for the web server
Directory path to your web directory on the web server
All of the above
Answer: d) All of the above
HTML
page
21