In this exercise, you are to modify the HTML temlate file according to the file comments and the instructions below.
To complete this exercise, do the following:
- Download the exercise21.html downloadfile and place it in the CS597 Exercises folder.
- Update the meta description attribute value with “CS597 Exercise 2.1”.
- Update the meta keywords attribute value with “Lists”.
- Update the meta author attribute value with your name.
- Update the title tag with Exercise 21 — Lists.
- Edit article one to create an ordered list which describes the steps that occur when you enter a URL into your browser and go to that web site. Be sure to include the translation from URL to IP address in your list.
- Edit article two to create an unordered list which contains names of the HTML tags introduced in chapters 3 and 4.
- Edit article three to create a definition list that has as its terms the following tags: sup, sub, cite, dfn, abbr. For each of the terms, include the definition.
- Edit article four to create a nested list with the structure shown in image . That is, an outer definition list with three terms (all of which are “The three laws of robotics”) with the first definition being an order list of the three laws, the second definition being a definition list of the three laws, and the third definition being an unordered list of the three laws.
- In the
tag, add the id attribute “top”.
- In the
tag for the ordered list section in step 5, add the id attribute “ordered-list”.
- In the
tag for the unordered list section in step 6, add the id attribute “unordered-list”.
- In the
tag for the definition list section in step 7, add the id attribute “definition-list”.
- In the
tag for the nested list in section step 8, add the id attribute “nested-list”.
- Modify the paragraph in article 5 to be an internal link to the “top” id you just created.
- In article 0, add the following links to the list section subheaders:
- make step 5 a link to the “ordered-list” id
- make step 6 a link to the “unorder-list” id
- make step 7 a link to the “definition-list” id
- make step 8 a link to the “nested-list” id
- Make the Go to the top of the page. text a link to the id “top”.
- Make the Go to the page on links a link to the file exercise22.html.
- Save exercise21.html.
- Download the exercise22.html downloadfile and place in the CS597 Exercises folder.
- Update the meta description attribute value with “CS597 Exercise 2.2”.
- Update the meta keywords attribute value with “Links, Absolute, Relative, Internal”.
- Update the meta author attribute value with your name.
- Update the title tag with Exercise 22 — Links.
- Add the id “top” to the
tag.
- Add the id “absolute” to the
tag in article 2.
- Add the id “relative” to the
tag in article 3.
- Add a link to the “absolute” id to the Absolute Links text in article 1.
- Add a link to the “relative” id to the Relative Links text in article 1.
- In article 2, add a link to the Apple home page on the text Apple home page that opens in a new window.
- In article 2, add a link to the Microsoft home page on the text Microsoft home page that opens in the same window.
- In article 2, add a link to the top of the page to the text Go to the top of this page.
- In article 3, add a link to the exercise21.html file onto list item 1.
- In article 3, add a link to the ordered list (use the “ordered-list” id) in the exercise21.html file onto the list item 2.
- In article 3, add a link to the ordered list (use the “unordered-list” id) in the exercise21.html file onto the list item 3.
- In article 3, add a link to the ordered list (use the “definition-list” id) in the exercise21.html file onto the list item 4.
- In article 3, add a link to the ordered list (use the “nested-list” id) in the exercise21.html file onto the list item 5.
- In article 3, add a link to the top of the page on the text Go to the top of this page.
- Save the exercise22.html file.
- Bundle exercise21.html and exercise22.html in a Zip file archive called . Do not include a containing folder in the Zip file, the exercise21.html and exercise22.html files must be at the top level of your Zip file. Submit your Zip file