Homework 3
Begin by making a copy of your hw01.html and call it
hw03.html. Change the window title accordingly. When
completed it must validate without any errors or warnings
(validator.w3.org).
The web page should have the following elements:
-
Modify the paragraph that you wrote about yourself
and make 5 or more different words or phrases become
hyperlinks that take the visitor to an
appropriate web page for that word or phrase. For instance, if you
mentioned your home state, home country, favorite sport,
hobby, or Graceland University, these can be hyperlinks.
-
Secondly, I want you to find at least one of the different
words or phrases that occurs multiple times in your paragraph
and make each of them a hyperlink to the same website. The words
need not be identical if they refer to the same thing.
For instance, GU, Graceland, Graceland University, and G-Land
could all show up and all would be hyperlinks to the same
place (most likely the main Graceland webpage).
-
In the section below, create a heading that reads
Favorite Links and beneath that make
a paragraph of single-spaced links
(one per line) to favorite places you like to go
(such as Google, Facebook, NFL, MySpace, etc).
On each of these links I want them to open up
in a SEPARATE window (or separate tab). To do this
you must use the target= attribute which is
mentioned in the Tip on page 34.
Create at least 10 of these favorites.
-
In the next section, create another heading that reads
Previous Homework and beneath that make a
paragraph with two lines for two links, homework 1
and homework 2.
You must use a RELATIVE link for these homework references.
-
In the next section, create a heading that reads
Anchor Links and beneath that make a paragraph
of single spaced links (one per line) that take you to
anchor points on this or other pages as identified below.
In order to do the the first two, you will need to insert
anchor points at the appropriate places above in this
html file.
-
Favorite Links should take you up to the
Favorite Links heading on this page. When clicked, the
heading should show up at the top of the window.
Note: you will need to add blank space at the end
of this web page in order for this to work correctly
(as discussed in class).
-
Previous Links should take you up to the
Previous Homework heading on this page. When clicked, the
heading should show up at the top of the window.
Again, you will need to extra blank space at the end
of this web page in order for this to work.
-
Math and Science in hw02 should take you up to the
Math and Science heading on your hw02.html page. When clicked, the
heading should show up at the top of the window.
Note: you will need to add anchor identifiers and
blank space at the end
of your hw02 page in order for this to work.
-
Fun With Symbols should take you to
the last of the sub-headings in your hw02.html page
(probably More Fun With Symbols). That is, it
should be scrolled to the point where the
last heading is shown at the top of the
page. Therefore, you will need to add anchor identifiers
at the proper place in the hw02.html file and
blank space at the end of it for this to work.