Question 1

 

 

Lab 3 structure

If two pages are in the same folder, to link to a web page named page2.html, use


c:\page2.html

images/page2.html

pages/page2.html

page2.html

c:/page2.html

Question 2
Lab 3 structure after organization

The web page is in lab3/pages, the images are in a lab3/images, to display one of the images named bike.gif,
use <img src="_____">


bike.gif

/bike.gif

../images/bike.gif

pages/bike.gif

images/bike.gif

Question 3
Match the following (just type in the number)


the body tag attribute used to change the default color of a link that has been previously clicked

the body tag attribute used to change the default color of the entire web pages background

the body tag attribute used to change the default color of a link that has not been clicked on

the body tag attribute used to change the default color of text

the body tag attribute used to change the default color of a link as it is being clicked

the body tag attribute used to display a background image

 

1.

text

2.

bgcolor

3.

link

4.

vlink

5.

alink

6.

background

 

Question 4

 

 

Match the following (just type in the number)


the anchor tag attribute to control if a link opens in the same web browser window,
or a different web browser window

the anchor tag attribute to create a named bookmark

the anchor tag attribute to create a link

example of creating an intrapage link to a bookmark

example of an internet link

example of creating a bookmark

example of a local link

 

1.

href

2.

name

3.

<a href="page2.html">to page 2</a>

4.

<a href="http://www.templejc.edu">to T C</a>

5.

<a name="topp"></a>

6.

<a href="#topp">to Top</a>

7.

target

 

Question 5

 

 

Previously, we used
body bgcolor=
now we add
background=
Why use both?

To control the background color in case the background image does not download. True or false?


True

False

Question 6
Why didn't we have to change the a href= statements from lab 2?


Because the background image is different for both pages

Because the files have now been segregated into different folders,
meaning images and pages are in different folders; so, we would need to specify a path

Because the pages are still in the same folder, so the path didn't change

Question 7
If we had an
img src=
in lab 2, why would we have to change the
img src=
statements in lab 3?


Because the pages are still in the same folder, so the path didn't change

Because the files have now been segregated into different folders,
meaning images and pages are in different folders; so, we would need to specify a path

Because the background image is different for both pages

Question 8
Match the following (just type in the number)


an example of an absolute address, which is not allowed in web pages

an example of a relative address, which is required in web pages

The specific location of a file, without considering present location

Directions to find another file location, from current location

 

1.

absolute address

2.

relative address

3.

c:\images\bike.gif

4.

../images/bike.gif

Question 9
You can also link to an ftp server. How do you change the URL?


<a href="http:// ... target="ftp"

<a link="ftp:// ...

<a href="ftp:// ...

<a ftp="www. ...

Question 10
By the way, what is ftp? ftp stands for forward to page, and is used to upload files from your computer to a web server


True

False

Question 11
What is added to the URL if you want your link to send email?


<a href="mail to: &nbsp...

<a href="mailto: &nbsp...

<a mailto:="&nbsp...

<a href="email: &nbsp...

 

Question 12 What are the problems with using a link to an email?
(Choose the one best answer)


you open yourself up to increased spam

people with web based email won't be able to use the link

you open yourself up to increased spam and
people with web based email won't be able to use the link

Users complain about increases in spam

Question 13
What does target="_blank" do?


Opens the link in a new browser window

Opens the link in the same browser window

Splits the browser into two windows, and opens the link in the second window

Opens a blank email window