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.
- Create a new blank file named index.html and write the standard HTML framework in it.
- 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
- Link 1 (external page)
- 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.
- After this paragraph add another description list that contains the following information:
- Link 4 (page anchor)
- Named: Link 2 Anchor
- URL: #anchor1
- Link 4 (page anchor)
- Using a paragraph tag, explain the difference between a relative path and an absolute path for hyperlinks. Give some examples!
- 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
Get step-by-step solutions from verified subject matter experts
