Example Page 6

 

Up to this stage our personal homepage looks very nice, but it doesn't do anything apart from being aesthetically pleasing to us. This is the stage where we add links and make the page interactive. Open the HTML file you saved in Example Page 5 in your text editor (If you followed the instructions in Example Page 5 the file name should be index.html). Add the text "ENTER" at the bottom of the page, and create the link on it to point to menu.html. Since the current page is our welcome screen, we are going to open the menu page once the user has clicked on the "ENTER" text of our welcome web page. But we don't have a menu page yet, so let's create one.

Make the menu page to have the same look and feel as your welcome page and add the menu options "ABOUT MYSELF" - (about.html), "LINKS" - (mylinks.html), "SIGN MY GUESTBOOK" - (guestbk.html) and "E-MAIL ME" - (mailto:[email protected]). The link's URL is in brackets next to each menu option. Feel free to add any other menu options you would like. Also, keep in mind that even though we are going to create all the links to these menu options, most of them don't have an actual page created for them, so they will not work until the pages are created. But don't worry, at the end of the tutorial all the pages should be in place to make your personal homepage work just fine.

And since we did links in the tutorial, we are also going to create a page with all your favorate links to other cool web pages on the internet.

This is what your code should look like for index.html after adding the enter link:

<HTML>
<HEAD>
<TITLE>The Green Tentacle Homepage</TITLE>
</HEAD>
<BODY BACKGROUND="bricks.jpg">
<H3 ALIGN="CENTER"><FONT COLOR="#008000">Welcome to the Green Tentacle Homepage</FONT></H3>
<P ALIGN="CENTER"><IMG SRC="title.jpg" WIDTH="250" HEIGHT="82" ALT="The Tentacle Homepage"></P>
<P ALIGN="CENTER">
<FONT FACE="Times New Roman">
<FONT COLOR="#00BF00">A high sc</FONT><FONT COLOR="#00BE00">hool student thin</FONT>
<FONT COLOR="#00BD00">ks, &quot;When I'm ou</FONT><FONT COLOR="#00BC00">t of school and d</FONT>
<FONT COLOR="#00BB00">on't have to do w</FONT><FONT COLOR="#00BA00">hat I am told, th</FONT>
<FONT COLOR="#00B900">en everything wi</FONT><FONT COLOR="#00B800">ll be great!&quot; He </FONT>
<FONT COLOR="#00B700">leaves school and</FONT><FONT COLOR="#00B600"> suddenly recogn</FONT>
<FONT COLOR="#00B500">izes that he won'</FONT><FONT COLOR="#00B400">t be happy until </FONT>
<FONT COLOR="#00B300">he leaves home. H</FONT><FONT COLOR="#00B200">e leaves home an</FONT>
<FONT COLOR="#00B100">d starts universi</FONT><FONT COLOR="#00B000">ty and soon decid</FONT>
<FONT COLOR="#00AF00">es, &quot;When I have </FONT><FONT COLOR="#00AE00">got my degree, t</FONT>
<FONT COLOR="#00AD00">hen I'll be reall</FONT><FONT COLOR="#00AC00">y happy!&quot; Eventua</FONT>
<FONT COLOR="#00AB00">lly he gets his </FONT><FONT COLOR="#00AA00">degree at which t</FONT>
<FONT COLOR="#00A900">ime he realizes t</FONT><FONT COLOR="#00A800">hat he can't be h</FONT>
<FONT COLOR="#00A700">appy until he ha</FONT><FONT COLOR="#00A600">s a job. He gets </FONT>
<FONT COLOR="#00A500">his job and has t</FONT><FONT COLOR="#00A400">o start at the bo</FONT>
<FONT COLOR="#00A300">ttom of the heap</FONT><FONT COLOR="#00A200">. You guessed it!</FONT>
<FONT COLOR="#00A100"> He can't be happ</FONT><FONT COLOR="#00A000">y yet. As the yea</FONT>
<FONT COLOR="#009F00">rs roll by, he p</FONT><FONT COLOR="#009E00">ostpones his happ</FONT>
<FONT COLOR="#009D00">iness and peace o</FONT><FONT COLOR="#009C00">f mind until he </FONT>
<FONT COLOR="#009B00">gets engaged, get</FONT><FONT COLOR="#009A00">s married, starts</FONT>
<FONT COLOR="#009900"> buying a home, g</FONT><FONT COLOR="#009800">ets a better job</FONT>
<FONT COLOR="#009700">, starts a family</FONT><FONT COLOR="#009600">, gets the kids i</FONT>
<FONT COLOR="#009500">n school, owns hi</FONT><FONT COLOR="#009400">s home, gets the</FONT>
<FONT COLOR="#009300"> kids out of scho</FONT><FONT COLOR="#009200">ol, retires... an</FONT>
<FONT COLOR="#009100">d he drops dead </FONT><FONT COLOR="#009000">before he allows </FONT>
<FONT COLOR="#008F00">himself to be bli</FONT><FONT COLOR="#008E00">ssfully happy. Al</FONT>
<FONT COLOR="#008D00">l his present mo</FONT><FONT COLOR="#008C00">ments were spent </FONT>
<FONT COLOR="#008B00">planning for a wo</FONT><FONT COLOR="#008A00">nderful future wh</FONT>
<FONT COLOR="#008900">ich never arrive</FONT><FONT COLOR="#008800">d. Moral of the s</FONT>
<FONT COLOR="#008700">tory? Live each d</FONT><FONT COLOR="#008600">ay to the fulles</FONT>
<FONT COLOR="#008500">t. Don't postpone</FONT><FONT COLOR="#008400"> your happiness t</FONT>
<FONT COLOR="#008300">o tomorrow... the</FONT><FONT COLOR="#008200">re may not be an</FONT>
<FONT COLOR="#008100">other tomorrow to</FONT><FONT COLOR="#008000"> enjoy.</FONT>
</FONT></P>
<P ALIGN="center">
<IMG SRC="fire.gif" WIDTH="30" HEIGHT="52"><BR>
<IMG SRC="torch.gif" WIDTH="50" HEIGHT="82"></P>
<P ALIGN="center">
<FONT FACE="Times New Roman" SIZE="5" COLOR="#008000">
<A HREF="menu.html"><B>ENTER</B></A></FONT</P>
</BODY>
</HTML>
screen.gif (1270 bytes) Click here to see what the output of the above code would look like. To come back to this page when you've finished looking at the result, close the new window it opened in.

And this is what your code should look like for menu.html, remember this is a new page, so start a new document and save the file in the same directory with the rest of your personal homepage files:

<HTML>
<HEAD>
<TITLE>The Green Tentacle Homepage</TITLE>
</HEAD>
<BODY BACKGROUND="bricks.jpg">
<P ALIGN="CENTER"><IMG SRC="title.jpg" WIDTH="250" HEIGHT="82" ALT="The Tentacle Homepage"></P>
<P ALIGN="CENTER"><A HREF="about.html"><FONT FACE="Arial" SIZE="2" COLOR="#008000"><B>About Myself</B></FONT></A></P>
<P ALIGN="CENTER"><A HREF="mylinks.html"><FONT FACE="Arial" SIZE="2" COLOR="#008000"><B>Links</B></FONT></A></P>
<P ALIGN="CENTER"><A HREF="guestbk.html"><FONT FACE="Arial" SIZE="2" COLOR="#008000"><B>Sign My Guestbook</B></FONT></A></P>
<P ALIGN="CENTER"><A HREF="mailto:[email protected]"><FONT FACE="Arial" SIZE="2" COLOR="#008000"><B>e-mail Me</B></FONT></A></P>
<P ALIGN="center">
<IMG SRC="fire.gif" WIDTH="30" HEIGHT="52"><BR>
<IMG SRC="torch.gif" WIDTH="50" HEIGHT="82"></P>
</BODY>
</HTML>
screen.gif (1270 bytes) Click here to see what the output of the above code would look like. To come back to this page when you've finished looking at the result, close the new window it opened in.

And now for our links page. Once again create it to fit the look and feel of your personal home page. Start a new document and give every link a short description and save the document as mylinks.html. This is what my links page looks like:

<HTML>
<HEAD>
<TITLE>The Green Tentacle Homepage</TITLE>
</HEAD>
<BODY BACKGROUND="bricks.jpg" LINK="#008000">
<P ALIGN="center">
<FONT COLOR="#008000" SIZE="5" FACE="Times New Roman">My Favorite Links</FONT><BR>
<IMG SRC="links.gif" width="461" height="38">
</P>
<P ALIGN="center">
<FONT COLOR="#80FF80" SIZE="3" FACE="Times New Roman">Need a cool animated image for your web page, then follow the link below, it will take you to one of the biggest animated GIF archives on the web.</FONT><BR><BR>
<FONT COLOR="#008000" SIZE="4" FACE="Times New Roman">
<A HREF="http://www.geocities.com/CollegePark/2883/">Animated Gif Archive</A></FONT><BR><BR><BR>
<FONT COLOR="#80FF80" SIZE="3" FACE="Times New Roman">Well if you&#146;re a big game fan like I am, you'll know the frustration of getting stuck in a quest, so just point your browser to the next link and get solutions to almost any game you can think of.</FONT><BR><BR>
<FONT COLOR="#008000" SIZE="4" FACE="Times New Roman">
<A HREF="http://www.gamesdomain.com">Game Solutions</A></FONT><BR><BR><BR>
<FONT COLOR="#80FF80" SIZE="3" FACE="Times New Roman">Ask yourself: &quot;If I did not have a name, how could I identify myself? If I had no name, who would I be?&quot; Your name is extremely important. Your name is your life! It is how you identify yourself. It is how others identify you. Ever wanted to know what your name means, well wonder no more, here is a really great site to search for your name and get a total analysis of who, what and why you are.</FONT><BR><BR>
<FONT COLOR="#008000" SIZE="4" FACE="Times New Roman">
<A HREF="http://www.kabalarians.com/">Name Analogy</A></FONT><BR>
<P ALIGN="center">
<IMG SRC="fire.gif" WIDTH="30" HEIGHT="52"><BR>
<IMG SRC="torch.gif" WIDTH="50" HEIGHT="82"></P>
</BODY>
</HTML>
screen.gif (1270 bytes) Click here to see what the output of the above code would look like. To come back to this page when you've finished looking at the result, close the new window it opened in.

 

[Return to Tutorial]

Introduction | Basic Tags | More HTML Tags | List Tags | Adding Graphics | Creating Links | Adding Forms | Adding Tables
Creating Frames | Multimedia | Uploading Files | Downloads | Questions & Answers | Useful Links | e-mail Me
 
Example Page 1 | Example Page 2 | Example Page 3 | Example Page 4 | Example Page 5 | Example Page 6
Example Page 7 | Example Page 8 | Example Page 9 | Example Page 10
 
Color Chart | HTML Tester
bar.gif (1848 bytes)
Copyright1999 - 2000 Green Tentacle. All rights reserved. This tutorial is protected by SA and international copyright laws.
Hosted by www.Geocities.ws

1