MFL 195 - Integrating Technology
into Foreign Language Education

Preparing a Basic Web Page

What an HTML Document Is

HTML (or Hyper-Text Markup Language) documents are plain text files that can be created in any simple text editor such as Notepad. HTML editors are also available, but it is useful to know at least the basics of html before trying out various editors.

An HTML document is created with TAGS. A tag consists of a left angle bracket (<), a tag name, and then a right angle bracket (>). Some tags may contain further refinements within them, such as indicating the border width of a table. Most tags are closed with a slash (</tagname>). In most cases, HTML tags are not case sensitive; that is, <HTML> is the same thing as <html>.

The Start of a Document

Let's create a basic webpage. At the Windows95 Desktop, open Notepad by clicking on START, PROGRAMS, ACCESSORIES, NOTEPAD. We'll begin with the required tags for all minimal html documents. Type in the following code:

Now for the Good Stuff - The Body

Type in the following code, and then we'll explain what's happening:

Let's pause here to check our code. First, save your file again (click on FILE - SAVE (the only time you use "Save AS" is the first time, when you have to name your file. Once it's been named, just click on SAVE). Each time you make changes to your file, you will need to save it before viewing those changes in Netscape.

OK, let's check it out in Netscape. Minimize Notepad, and bring Netscape back up. Oops - it looks the same as before! Why doesn't the new stuff show up? It's because you need to refresh Netscape. On the button tool bar at the top, click on RELOAD and voilą -- there's the new stuff on your page. Once you get used to it, the FILE-SAVE-MINIMIZE-MAXIMIZE-RELOAD routine becomes just that--routine!

Entering Text

Okay, let's put some content into this page. We're going to put some info about ourselves first. Type this code:

Entering hotlinks

One of the defining characteristics of a web document is the ability to create links to other documents. This is what creates the branching, non-linear effect of the WEB and is one of its most endearing charms. We're now going to add to your web page that list of "TOP TEN" sites you searched so hard for. Type the following code: When you give a list of sites, it is a good idea to give a brief, one-line description of the site so that the reader has some notion of whether he wants to spend time exploring it or not. Let's go back and add a brief annotation to each of the ten sites we listed. We're going to revise the code we just wrote by adding the annotation:

Numbered and Bulleted Lists

We've just created a list, but let's jazz it up a bit. We've got ten great sites, so lets number them. Go back to your code on the top ten sites, and make the following changes:

Now let's assume that you would rather have a bulleted list than a numbered list. Go back to your code and make the following changes:

Let's Call It a Day - Finishing Up

We've done enough for one day, so let's tidy up and finish the document. Type in the following code:

Patricia L. Pecoy
MFL 195
This page was last updated on July 13, 1997.