Question: CSCI1145: Exercise 2 Back to CSCI1145 For this second exercise, you will use your understanding of hyperlinks to connect several documents and sites. Follow the

CSCI1145: Exercise 2

Back to CSCI1145

For this second exercise, you will use your understanding of hyperlinks to connect several documents and sites. Follow the directions below to complete this assignment.

  1. Create a new blank file named index.html and write the standard HTML framework in it.
  2. Using a definition list (description list i.e.
    ), create the following list of links in the body region:
    • Link 1 (external page)
      • Named: Google
      • URL: http://google.com
      • id: google_link
    • Link 2, opens in new window/tab (internal page)
      • Named: citWebDev
      • URL: http://citwebdev.cscc.edu
      • id: anchor1
    • Link 3
      • Named: My Homepage (internal page)
      • URL: Your citWebDev user homepage (the index.html file found at the root of your public_html folder used for Project 0)
      • Important: Use a relative link, not absolute
  3. Using a paragraph tag, enter a bunch of jibberish to increase the page length to the point where the scroll bar must be used. This is so we can test the fourth link! If the page is not long enough, then clicking the Link 4 link has no visible effect.
  4. After this paragraph add another description list that contains the following information:
    • Link 4 (page anchor)
      • Named: Link 2 Anchor
      • URL: #anchor1
  1. Using a paragraph tag, explain the difference between a relative path and an absolute path for hyperlinks. Give some examples!
  2. At the very top of your code, put your name, class and date in some HTML comments.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!