This chapter is from the book
Workshop
The workshop contains quiz questions and activities to help you solidify your understanding of the material covered. Try to answer all questions before looking at the "Answers" section that follows.
Quiz
- Your best friend from elementary school finds you on the Internet and says he wants to trade home page links. How do you put a link to his page at http://www.cheapsuits.com/~billybob/ on your page?
- Your home page will be at http://www.mysite.com/home.html when you put it on the Internet. Write the HTML code to go on that page so that when someone clicks the words all about me, they see the page located at http://www.mysite.com/mylife.html.
- You plan to publish a CD-ROM disk containing HTML pages. How do you create a link from a page in the \guide directory folder to the \guide\maine\katahdin.html page?
- How about a link from \guide\maine\katahdin.html to the\guide\arizona\superstitions.html page?
Answers
- Put the following on your page:
- <a href="mylife.html">all about me</a>
- <a href="maine/katahdin.html">mount katahdin</a>
- <a href="../arizona/superstitions.html">
<a href="http://www.cheapsuits.com/~billybob/"> my buddy billy bob's page of inexpensive businesswear</a>
The following would work equally well, though it would be harder to test on your hard drive:
<a href="http://www.mysite.com/mylife.html">all about me</a>
the superstition range</a>