CSE/IMT 100: Assignment 3
Autumn 2000
Constructing Your First Web Page
You will have time to begin working on the first part of
this assignment in 2nd lab of week 1. Please complete steps 1-6 by Monday,
October 2. The remainder of the assignment, using Microsoft Word as an HTML
editor, will be the topic of 1st lab of week 2 and due by Thursday, October 5
at 5 pm. Email the URL of your completed page (or pages) to your TA no later
than 5 p.m. on Thursday, October 5.
- Have you ever used Notepad
before? It is a simple text editor that comes with Windows. To open it,
click on the Start button, then go to Programs, Accessories, and click on
the Notepad entry. You will be presented with a blank window and a
flashing cursor in the top left corner.
- Type in the following code,
exactly as shown:
<HTML>
<HEAD>
<TITLE>My
First Web page</TITLE>
</HEAD>
<BODY>
<H1>Welcome
to [your name here] Web site!</H1>
<HR
ALIGN="center" WIDTH="80%">
<P>
This
is an HTML document that I hand-coded myself. I wrote the code in Notepad and
transferred the document up to my Web directory using FTP.
</P>
<H2>Fun
with Text</H2>
<P>
In
this section I am using HTML to format text:<BR>
<I>this
is italics</I><BR>
<B>this
is bold</B><BR>
<FONT
COLOR="red">this is red</FONT>
</P>
<H2>Links</H2>
<P>
Here
is a hypertext link from the phrase
<A
HREF = "http://www.cs.washington.edu/100/">CSE 100</A>
to
the course Web page for Fluency with Information Technology.
</P>
<H2>A
Quote</H2>
<P>
This
section of text is displayed in a fixed-width font:
</P>
<PRE>
Hardware:
The parts of a computer system
that
can be kicked.
--
Jeff Pesis
</PRE>
<H2>A
Basic List</H2>
<P>
This
is a unordered list of my favorite colors:
</P>
<UL>
<LI>
green
<LI>
blue
<LI>
red
</UL>
<P>
Thanks
for visiting! You can write me at:
<ADDRESS>Name
(UWNetID@u.washington.edu)</ADDRESS>
</P>
</BODY>
<HTML>
- Now save the file as a text
document with the name index.htm (or index.html).
- Open up your preferred
browser and open this page to see your code displayed as a Web page.
- If you are happy with the
results, it’s time to move the document to your Web directory. However,
before you can transfer your file, you must enable Web Publishing. Open up
your Web browser and click up:
http://www.washington.edu/computing/web/publishing/students.html
- Read and complete steps 1
through 4 (you have already done step 2 in Notepad).
- Microsoft Word, while not specifically
an HTML editor, can facilitate the process of creating Web pages. The goal
of this second component of the assignment is to learn how to re-create
with a tool, such as MS Word, what you hand-coded in Notepad during the
previous lab.
- Open up Word if you haven’t
already done so and working from the display of your first Web page, try
to duplicate the various elements. Don’t worry too much about being exact
with elements like the section headers.
- When you are done, select
"File" from the menu bar and "Save as HTML". Once the
document has been saved, select "View" from the menu bar and
"HTML Source". Does it look the same as the code you wrote?
What’s different? Note a few of the differences.
- In lab your TA will go over a
few special hyperlinks: specifically, the "mailto" link and the
internal page hyperlink. Add one of each to your page.
- Now you are going to take
this document and add your digital photo (class photos). To grab your
photo:
- Right click on the image
- Select
"copy"
- Bring your Web
document up on the screen
- Select
"Edit" from the menu bar and "Paste"
- Note: when you save your
document in Word, the image name will automatically be saved and
referenced. However, when you FTP your Web document over to your Dante
account, be sure to transfer your image as well, or it won’t be displayed.
- Once you are happy with your
new Web page, save it and prepare it for transferring to your Dante
account. If you’d like you can make this file your new home page (by naming
it index.htm), or you can link to it from your existing home page.
Don’t forget to also transfer any images you’ve included. Email the URL to
your TA.