CREATING A BASIC WEB PAGE
Adapted, with permission, from materials created by Rachel Smith, Sonoma State University


This is the handout for our in-class activities for Week Six of ENG 724. Step-by-step instructions are here for making a basic page that includes links to other pages, an email link to your email address, and bulleted lists, among other things.

VOCABULARY

RESOURCES/MATERIALS

Equipment/Applications

COPYRIGHT RESTRICTIONS

Be aware of information about copyrights! In general, copyrighted material may be used if:

Remember that simply modifying a work does not protect you from infringing on copyright!

PROCEDURE

Creating a Web Page

One way to write a web page is to create a document in HyperText Markup Language (HTML). You'll write a regular text file, add special formatting tags (that's the HTML), and save your new file. Then a browser can read your document and interpret it. Your page will be displayed using the default settings and preferences for that copy of the browser.

It's true that HTML tags will specify the placement and formatting of items on the page to the browser. However, you have limited control over how your document will look, for a number of reasons. First, different browsers interpret HTML in slightly different ways. There are some browsers, like Netscape, which are very "robust" -- they can accept a large range of HTML tags. Other browsers are less flexible and only accept and interpret a subset of the tags available to you. Another factor that influences how your pages will look is the set of rules that a browser must follow for placing text and images on a page.

The Tags in HTML

Almost every set of tags in HTML has an "open" and a "close" tag. There are a few exceptions, but for the most part, tags are opened before the item to be formatted, and closed after it. Tags are enclosed in pointed brackets, < and >. To open a tag, simply type the name of the tag in the brackets, <HTML>. To close a tag, use a slash inside the bracket before the name of the tag, </HTML>.

Creating Your First Document

We'll progress step-by-step to create a document from scratch. First we'll write the document as text, and then we'll use HTML tags to apply the proper formatting.

1. Write some text for your page.

ESL 101:  Introduction to ESL

Instructor: Your Name Here
Email: userid@yahoo.com
San Francisco State University

This course will cover the basic skills every student should have 
when communicating with others in English.

Class Resources:
About the Instructor
Assignments
Grades
Lecture Notes
Related Links
Student Projects

2. View your page in Netscape Communicator.

3. Make the course name into a header.

4. Make some text in your paragraph bold.

<B>Instructor: Your Name Here</B>

5. Correct the line spacing of the file.

6. Create a bullet list in your document.

7. Add a Horizontal Rule to separate parts of your page.

8. Center the title on the page.

<CENTER><H1>ESL 101:  Introduction to ESL</H1></CENTER>

9. Add anchor tags that will allow you to link to other documents.

10. Add an email link so viewers can send you email.



11. Add the final tags required for a proper HTML document.

12. Add a graphic to your document.

13. The Final File

<HTML>
<HEAD>
<TITLE>Your Name Here:  San Francisco State University</TITLE>
</HEAD>
<BODY>
<CENTER><IMG SRC="724_logo.gif"><H1>ESL 101:  Introduction to ESL</H1></CENTER>
<B>Instructor: Your Name Here</B><BR>
Email: <A HREF="mailto:userid@yahoo.com">userid@yahoo.com</A>
San Francisco State University<BR>
<P>
This course will cover the basic skills every student should have 
when communicating with others in English.
<P>
<HR>
Class Resources:<BR>
<UL>
<LI><A HREF="bio.html">About the Instructor</A>
<LI>Assignments
<LI>Grades
<LI>Lecture Notes
<LI>Related Links
<LI>Student Projects
</UL>
</BODY>
</HTML>

MORE TIPS FOR YOUR PAGES

Background Colors

To put background colors on your pages, use the HTML tag:

<BODY bgcolor="#hex-code-goes-here">

For example, the way to make a white background is this:

<BODY bgcolor="#FFFFFF">

because the hex code for white is #FFFFFF.

To find hex color codes, check the back cover of the Castro (recommended) book, or follow these URLS:

 

Where to Go For More Help

For even more help on writing HTML and designing Web pages, visit Frizzy's "Web Design Resources" page of links to lots and lots of HTML, WWW and graphics resources:

1