Creating Your Own Home Page: Getting Started
Table of Contents
Web Terms and Acronyms
Exploring Netscape
Basic Steps to Making a Web Page on MTSU's Server
Planning a Web Page
Designing a Web Page: Design Tips
Creating Your Web Page
UNIX and Pico
HTML Documents and Tags
A Look at Index.html
Changing and Updating Your Web Page
Using Local Editors to Create HTML Files
Moving Files and Changing Permissions
Copying Images from Web Pages
Searching the Web
Return to HTML Workshop Home Page
Web Terms and Acronyms
Bookmark: A feature of Netscape which enables you to mark Web pages of particular interest to you for future reference and easy access.
Browser: A program such as Mosaic or Netscape that helps users work with the World Wide Web by displaying documents and making links between computing sites.
File Transfer Protocol (FTP): A communication standard which allows you to send and retrieve files over the Internet.
Home page: The initial entry point into a Web document. The home page may also serve as a main menu and contain references to related documents.
HTML: Hypertext Markup Language is the method an author uses to markup a document so that it can be displayed on the Web.
http: HyperText Transfer Protocol is used to transfer hypermedia, such as text and audio or text an images.
Hypertext: A method for linking documents together non-sequentially.
Lynx: A text-based Web browser.
Netscape: A graphical Web browser that can display Web documents in hypermedia format; that is, it can be used to view text, images, and video and to listen to audio.
Spider: A program that travels the Web to gather, compile, and index information. A spider indexes the text in Web pages, so it can locate specific Web pages based on their content. The Webcrawler is an example of a spider.
URL: The Uniform Resource Locator is a way of specifying where
something is on the Internet. It takes this general form:
<method://<host computer>/<pathname>> This first part
specifies the access method used to retrieve the document such as FTP,
Gopher, Telnet, or http. The host computer identifies a machine and the
pathname specifies a directory and filename.
World Wide Web: A vast series of electronic documents called Web
Pages or Web Documents that are linked together over the Internet. Also
referred to as The Web and W3.
Exploring Netscape
When you start Netscape, the Netscape application window appears. The
screen elements allow you to enter, view, and search for information.
The following text details each of the Netscape elements and
their function.
- A Web page, or Web document, is a specially formatted file designed
for use on the World Wide Web. It lets you display information to anyone
using the Web. A Web page typically includes text, graphics, and links,
which when selected connect you to other Web pages. A Web page might
also include sound and video clips if your computer has the appropriate
hardware and software.
- The toolbar contains icons that act as shortcuts to activate frequently used menu commands.
| Toolbar Name | Description |
| | Back | Displays previous page |
| Forward | Displays the next page in a series of pages already viewed |
| Home | Displays your home page |
| Reload | Forces Netscape to completely reload a page |
| Images | Loads images for the current page, if images are not loaded automatically |
| Open | Allows the address of a Web page to be entered manually |
| Print | Allows the printing of the current Web page |
| Find | Locates text in a page based on the key word(s) specified |
| Stop | Halts the page loading process |
Note:
Netscape offers another way to move among selected Web pages in addition
to the Back and Forward buttons. You can click on the Go on the menu
bar. It will display a list of the pages you have visited, with the most
recent page at the top of the list. You select a previous page in the
list to return to it.
- The directory button bar contains directory buttons that provide
links connecting you to useful sites on the Web and the Internet.
| Button Name | Description |
| What's New! | Displays a list of new Web pages |
| What's Cool! | Displays a list of outstanding pages on the Web |
| Handbook | Provides a guide to using Netscape |
| Net Search | Allows searching of the Web based on key word(s) |
| Newsgroups | Displays a page of newsgroups |
- The location text box displays the address of the current page
appearing in the document window. A Web address, or Uniform Resource
Locator (URL), is a unique string of text that identifies the location of
a Web page on the World Wide Web.
- The status indicator animates as a new page is loading. When the
status indicator stops moving, the page loading is complete.
- The document window displays the current Web page. Your home page is
the initial Web page Netscape loads when you first launch the program.
- The vertical and horizontal scroll bars let you move quickly through
a page. The scroll box in each scroll bar indicates your relative
position in the page.
- The progress bar displays important information about the current
operation, such as the percentage of a Web page layout and graphical
display that is loaded during the loading process. The lower right box
in the progress bar visually indicated the status of the page loading
process by filling with a red bar.
- The security indicator shows if the Web page you are viewing is
secured. A secure Web page is supposed to allow the safe transmission of
sensitive information. If the door key icon is displayed in blue, the
information is supposed to be secure. If the door key icon is broken and
appears in gray, the Web document is not secured.
Basic Steps to Making a Web Page on MTSU's Server
- Plan your Web page using useful and unique information,
links to other relevant Web pages, and good design techniques.
- Create your initial Web page using a local HTML editor.
Hint: You can get a quick start on your first Web page by
running the homepage program on frank. Just type homepage at
the frank prompt after you log on.
- Upload initial or additional Web pages (files) from personal
computer to
your account on Frank in public_html subdirectory using FTP program.
- Login to Frank account and change to public_html
subdirectory and change file permissions of uploaded Web page
(file) so that others can read the file.
- Using Netscape, view the Web page (file) by inputting the
URL.
- Make quick changes to Web page (file) by using the
Pico editor.
- View changes by reloading page in Netscape.
Planning a Web Page
Creating a Web page is just like creating any other kind of document. You
need to approach it in a step-by-step manner. In the workshop we will
use the following outline to create a home
page:
Designing a Web Page: Design Tips
I. Everything Really Works!
- HTML tags are correctly input
- links to remote sites are current and checked for validity
frequently
- CGI and Java script do what they are supposed to do
II. You Can Read It!
- background isn't busy or loud
- colors of text and background complement rather than clash
III. It's Text Browser Friendly!
- all images include an alt tag
- doesn't have excessive use of horizontal rules
- all information included in the image map is also included in a
text location
- it works on all browsers, not just Netscape or Internet Explorer
IV. You Don't Have to Wait Long for It to Load!
- graphics are kept within a small window width
- frames aren't used excessively
- no large graphic (JPEG or GIF) files to load
- doesn't have too many images or image maps
- most pages are not longer than a 1 1/2 screens full of text
- warnings are made before a large file is loaded
- images and CGI script are on-site
V. It's Unique
- it appeals to the desired audience
- isn't just another list of lists
- is informative and current to maintain my audience's interest
- includes my e-mail address
VI. It Won't Drive You Crazy!
- it has NO spelling errors
- limited use of BLINK, better yet no use of BLINK
- every other word isn't a hypertext link
- links support the concept structure
- link text is not excessively long
- organization makes sense and is easy to follow
- meaningful headings above sections
- each page is no longer than two or three screens
- doesn't have that "click here" mentality
- images have appropriate color or transparent backgrounds
VII. Netiquette is Observed
- is disabled aware
- contains no insulting, obscene, or inappropriate material
- "flames" no one
- follows copyright laws
- does not contain links to inappropriate sites
- author responds to comments and feedback
Creating Your Home Page
To get started on your home page, you will run a program called
homepage that will automatically do several tasks for you
including:
- Creates a subdirectory in your account named public_html;
- Creates an HTML file (that is your home page) called: index.html and
under the subdirectory public_html;
- Changes the permissions on the related files and directories as
follows:
cd
chmod a+x public_html
chmod a+x public_html/index.html
cd
cd ..
chmod a+x your_user_id
To run the program homepage, you must start a Frank session and log in using your username and password. At the frank prompt you will enter the following:
The screen will appear as below and you will follow the instructions on screen.
HOME PAGE GENERATOR v1.0 ---- By Debang Guo
This program will generate a World Wide Web home
page for you. If you already have your home page
created, just answer N and exit this program.
Date: Oct 30, 1995 (01:41:51 PM)
Do you wish to continue ? (Y/N) y
Checking the directory... OK
Making a directory: /users/oit/jdoe/public_html... OK
Your home page is ready. The URL is:
http://www.mtsu.edu/~jdoe
Do you want to test your home page using Lynx? (Y/N) n
You can view your new home page by typing your URL in the Location Text
Box and pressing enter.
In addition to viewing your new page, you can test it by clicking on the
links which are signified by underlined text. Each of these links should
take you to a Web site. After clicking on a link, you can return to your
Web page by clicking on the Back button.
UNIX and Pico
To effectively create and update a Web page, you will need at least a
passing acquaintance with a few UNIX commands and a working knowledge of
an editor. In this workshop, the editor Pico will be used and discussed.
The following table offers an overview of commonly used commands and
their functions.
| UNIX Command | Description |
| ll | Gives a directory listing of files and subdirectories
in the current or specified directory |
| cd (subdirectory name) | Changes current subdirectory to
specified directory |
| pwd | Displays your present(current) working directory |
| mkdir (subdirectory name) | Creates a new subdirectory |
| rmdir (subdirectory name) | Removes or deletes a subdirectory |
| cp (source path and filename) (target path and
filename) | Copies an existing file to a new file or new location |
| mv (source path and filename) (target path and
filename) | Moves an existing file to a new file or new location |
| rm (source path and filename) | Removes or deletes
specified file |
| chmod (group u, g, o, or a)
(+ or - attributes r, w, or x) (subdirectory or filename) | Changes
a group's (u=user, g=group, o=other, or a=all) permissions (r=read,
w=write, and x=execute) on specified subdirectory or filename |
More on File Permissions
All of the files that you create or upload to your account on Frank have
default permissions that allow only you to read them so that your memos,
letters, and personal files are protected from other people. However,
you want all of your Web page files to have file permissions that will
allow anyone and everyone to read them.
The chmod command will allow you to change file permissions (read,
write, or execute) for the user, group, others, or for all.
To see a file's permissions, user the ll command:
frank $ ll This will list a directory of files in
public_html.
total 2
-rwxr--r-- 1 jdoe oit 427 Oct 30 13:44 index.html
The permissions are listed in the first column. The permission list is
structured as follows.
- | rwx | r-- | r-- |
| The first dash tells you that index.html is a file rather than a
directory. If index.html were a directory, a d would appear here.
| The next three letters show the permissions that the user
has on the file. The user can read the file, write to the file and
execute the file. | The second three characters show the
permissions that the group has on the file. The group can only
read the file. | The file set of characters shows the permissions
that others (the world) have on the file. Others can only read
the file. |
To change a permission on a file, at the frank prompt:
- type chmod
- space
- type the group that you wish to change the permission for (u for
user, g for group, o for other, or a for all groups)
- type a plus sign (+) if you are giving a permission or a minus
sign (-) if you are taking away a permission
- type the permission that you are giving or taking away (r for
read, w for write, or x for execute)
- type the name of the file or the directory you are setting the
permissions on or use * (asterisk) for all files and subdirectories in
public_html
- press enter
- check the new file permissions by typing ll at the frank prompt
For example, you wanted to allow everyone in your group to make changes
to the file index.html, you would use the following command:
frank$ chmod g+w index.html
To take the write permission away from others in your group, you would
enter:
frank$ chmod g-r index.html
Usually, you will want to give read permission to the group and others.
If you were giving permission to everyone on the index file, you would
enter:
frank$ chmod a+r index.html
Often, you will have uploaded several files and will want to change the
permission on all of them. You can use the following wildcard with the
chmod command to change the permission of all the files in the public_html
directory. Hint: Be sure that your current directory is
public_html before you use this command. You can use the PWD to
confirm this.
frank$ chmod a+r *
Pico
You will also need working knowledge of an editor. In this workshop, the
editor Pico will be used and discussed. Pico is an easy-to-use full screen
editor that is invoked by typing pico (filename). Basic Pico commands
and their descriptions are:
Pico
Command | Description |
| ^G | Help |
| ^A | Move to the beginning of the current line |
| ^E | Move to the end of the current line |
| ^V | Move forward one page |
| ^Y | Move backward one page |
| ^W | Search for a test string |
| ^L | Refresh the screen |
| ^6 | Mark the beginning position to select text |
| ^K | Cut selected text (if no text selected, the current
line will be cut) |
| ^U | Paste the last cut |
| ^R | Insert an external file at the current cursor
position |
| ^O | Save current buffer to a file |
| ^T | Check spelling |
| ^X | Exit pico, saving buffer |
HTML Documents and Tags
HTML documents are divided into two basic sections, the head and the
body. The head contains information about the documentation, such as its
title, author, and creation and revision dates. The only head element
readily visible to a browser is the title, which appears on the title bar.
Body elements are responsible for formatting and activating the
information on your page.
The only things that change the appearance of text in a browser are HTML
tags, so waste no time getting fancy with spaces, tabs, and carriage
returns. An HTML tag is simply a pair of codes enclosed in angle
brackets; for example <H1> turns on the Heading Level 1
style. After you entered your text, you end the tag with a forward
slash, as in: </H1>. Tags can be in lowercase or uppercase,
and must stand alone--you cannot put multiple tags in one set of
brackets.
HTML has two types of character tags that act to format text--physical
and logical. Physical tags act directly on text--changing its appearance
to bold, italics, and so on. Logical tags change a document's physical
appearance; logical tags are more equipped to track the types of
information therein.
| Tags | Description |
| | <HTML> </HTML> | First tag in an HTML document. It serves to tell the browser that it's found a real HTML file. |
| <HEAD> </HEAD> | This is the first set of tags in a HTML document. It tells the browser that the information should be handled as header information. |
| <BODY> </BODY> | This is where it all begins.
The body tag indicates the beginning of your HTML endeavor. The end tag
comes at the bottom of the document before the end HTML tag. |
| <FONT> </FONT> | This tag will allow you
to set font sizes. Use as FONT SIZE="number" with number ranging from
1-7. You may also prefix the size by a plus or minus sign (e.g.
SIZE="+2" or SIZE="-2"). |
| <H1> </H1> | Largest heading size in the page--the next largest heading size is achieved by changing the number (e.g., <H2> </H2>...<H6> </H6>) |
| <P></P> | This tag is often seen used without
its closing tag. The <P> tag starts a new paragraph by inserting a
blank
line |
| <BR> | Another unpaired tag and line break.
<BR> forces a new line. |
| <HR> | This unpaired tag inserts a ruler line. |
| <B> </B> | This tag boldfaces text |
| <I> </I> | This tag italicizes text |
| <U> </U> | This tag underlines text |
| <BLOCKQUOTE> </BLOCKQUOTE> | This tag indents a segment of text. |
| <PRE> </PRE> | This tag displays ASCII text as formatted. |
| <CENTER> </CENTER> | One of the Netscape extensions to HTML syntax that centers whatever elements lie within. |
| <OL> </OL> | Creates an ordered (or numbered) list with the browser automatically inserting the numbers for each individual item designated with a corresponding LI command. |
| <UL> </UL> | Creates an unordered list with the browser automatically inserting bullets for each individual item designated with a corresponding LI command. |
| <DL> </DL> | Creates a definition list in which a term is indicated with a command and a definition uses a DD command. |
| <IMG> </IMG> | The IMG tag lets you load inline images. (Remember the more images a document has, the longer it takes to load.) To load a graphic and control its placement, some ancillary commands are required:
ALT: indicates text to be displayed if a browser offers
no graphics support.
SRC: specifies where the image is loaded.
ALIGN: specifies how you want the image aligned
relative to the surrounding text.
ISMAP: tells the browser that it's dealing with a
clickable image map. |
| <A> </A> | The "A" stands for anchor, which means "your hyperlink is here." Like the IMG tag, the anchor tag takes a series of arguments:
NAME: creates a bookmark in a document.
NAME: "#BOOKMARK" jumps to a bookmark.
HREF: specifies a link to another document on your
server, a different Web site, or Internet resources like
FTP and newsgroups. |
A Look at Index.html
To view the HTML that generates the page you see in Netscape, type in the following commands.
frank $ cd public_html This will make public_html your current
directory.
frank $ ll This will list a directory of the files in
public_html.
total 2
-rwxr--r-- 1 jdoe oit 427 Oct 30 13:44 index.html
Note that the file index.html generates your WWW page. We will use the text editor Pico to view and change the contents of the file.
frank $ pico index.html
Changing and Updating Your Web Page
You will need to make a few changes and additions to the index.html file
which will change the appearance of your Web page.
The finished document may be viewed on the Getting Started Project Page.
Creating a Colored Background
You can change the background of your page to a solid color by using the
BODY BGCOLOR command along with the appropriate hexa-code (BODY
BGCOLOR="#rrggbb">. Note rrggbb is from 000000 to FFFFFF, hexa-code, where
rr=red, gg=green, and bb=blue. #000000 is hexadecimal version of RGB (Red
Green Blue). Several color charts are available on the Developer's Links Page.
For the workshop project, you will need to change the background color to
white. Enter the following command after the head tag.
<body bgcolor="#FFFFFF">
Adding an Image
To add the "Welcome" to your page, you will need to enter the
following link to the index.html file. You can obtain a welcome image
from the Project Images Page. We will
replace the Jane Doe's Home Page heading with the welcome image.
<img alt="Welcome" src="welcome.jpg">
Adding an Introduction and an Anchor to a New HTML Page
To add the text for your introduction, type the following boldface text
and paragraph tag. Replace the name Jane Doe with your name.
Greetings! My name is Jane Doe and this is my Web page. It contains some
of my favorite spots on the Web. Please e-mail me at this address if you
know about other cool sites or hot spots!
To establish a link to a new HTML document, add the following anchor tags
in the proper location. Note that the perinfo.html file does not yet
exist.
<a href="perinfo.html"> Jane Doe </a>
Bolding Text
To bold the text of your name, use the following HTML tags:
<b>Jane Doe</b>
Adding Additional Links
To add a couple of new site links to your list of sites, enter the
following text, line entry tags, and anchor tags:
<a href="http://www.mtsu.edu/~htmlclas/">
Creating Your Own Home Page </a>
<a href="http://webcrawler.com/">
Webcrawler Web Search </a>
Using the List Tag to Indent
The list tags, UL=unordered list, OL=ordered list, and DL=definition list,
help to set text apart from other text by indenting. When followed by LI
tags, lines may be preceded with numbers on ordered lists and bullets on
unordered lists. If you don't precede lines with the LI tags, list tags
may be used for indention.
For the workshop project, we are going to add two more <ul> tags
and two closing </ul> tags after the ones that are already in the
index.html file. This will further indent our list. Also, we will delete
the <li> tags before each link in the list.
Adding Images as List Bullets
Rather than the simple dot bullet created by the <li> tag, we will
add an image that coordinates with our Welcome image (see the Project Images Page). The following image tag
will be used before each link in our list.
<img src="button.jpg" alt=" ">
Setting the Font Size
To increase the font size of our list of links, we will use the following
font tag before the list with the closing font tag </font> entered
at the end of the list.
<font size="+1">
Adding Line Breaks and Paragraph Breaks
You will need to add line breaks <br> after each item of our
list of links. The paragraph breaks <p> need to be added at
the end of the
welcome image and each paragaph.
Changing Text and Adding an Anchor with a Mailto:
To complete your document with a closing statement,
modify and enter the following boldface text. Remember to replace the
youraccount with your account name.
<i> Thanks for visiting my page. Please send questions and
comments to youraccount@frank.mtsu.edu.</i>
To create an automatic mail link, enter the following anchor tags
replacing youraccount with your account name.
<a href="mailto:youraccount@mtsu.edu">
htmlclas@frank.mtsu.edu </A>
Using Local Editors to Create HTML Files
Any word processor or editor that can save files as ASCII or text only
can be used to create HTML documents. You simply type in the text and
add the HTML tags.
Better HTML editors exist however. Easy-to-use GUI editors are
available commercially or as freeware or shareware. For the workshop's
project, we will use AOLpress. The software can be downloaded from www.aolpress.com. An
excellent hypertext
tutorial can be accessed on the Web as well.
We will start a new page by selecing New Page
from the File Menu. The file will contain the following text (you
fill in the blanks with your own information.)
Enter the following text in the specified locations.
When I am not out surfing the Web, I spend my free time -----------. I
live in ----------------, TN which is about --- miles from Nashville.
I enjoy reading --------------. My favorite author is
------- ------------. Of his/her novels, -------------- was my favorite.
I try to catch ------------ on tv whenever I get a chance. Whenever
I am -----------, I like to listen to -------------- music.
After typing the text with the blanks completed, you will make
changes to the document text and background using AOLpress commands.
Theses changes will be made.
- Change the background color.
- Add a title such as "Jane's Interests".
- Add a heading in Heading 1 such as "Jane's Interests".
- Add an image to be used as a divider line at the top and bottom
of the paragraph. For the project use coordinating lines found on the Project Images Page.
- Add two anchors to the document.
- The first anchor will link the text "Nashville" to the Nashville Net
WWW page at url: www.nashville.net.
- The next anchor will link this document back to the home page you
created yesterday. After the last horizontal rule add a link to your
index.html that reads "Return to my home page".
- Saving the file into my documents subdirectory as perinfo.html.
Moving Files and Changing Permissions
Your new HTML document is now ready to be moved from its location on your
hard disk to your account. To move the file, we will use the Windows FTP
Client - WS_FTP.
- Double click on the WS_FTP icon in the Internet Applications
window.
- Click on the Connect button in the lower left-hand corner of the
window.
- Enter your user id (account name) and password in the appropriate
locations.
- Click OK.
- You will see a list of subdirectories and files appear in the right
windows. Select your public_html directory by double clicking on it.
- Locate the perinfo.html file in the file window on the left and
highlight it.
- Click the right pointing arrow in the center of the window to
transfer the file to your account.
- Highlight the perinfo.html file in the right file window and click on
the Rename button.
- Enter the name perinfo.html and press Enter.
You have now transferred the perinfo.txt file to your account and
renamed it as perinfo.html. Before you can access it, you will need to
change the permissions on the file.
Copying Images from Web Pages
Images can be copied from any Web page. Typically, if you wish to have
an image appear on your Web page, it is better to copy it to your Frank
account than to point to its remote location. (Because if someone
changes the remote site page or it is temporarily unavailable, you will
not be able to view the image.) To copy an image from a Web page while
in Netscape:
- Open the page that has the image. For the workshop, select the
Creating Your Own Home Page link from your home page and then click
on the Sample Files Page.
- Select category you want from the list.
- Pick the image that you would like to include on your page.
Click and hold on the right mouse button (if you have an IBM-compatible)
or the mouse button (if you have a Macintosh).
- Select Save this Image as... from the pop-up menu. Type in a name
for your image or accept the default name. Click on Save.
- The image file is now stored on your hard disk. It will be in the
subdirectory that you started Netscape from.
- You will need to move the file to your account and change the
permissions on it before you will be able to view it with a browser.
Searching the Web
The World Wide Web contains pages on many different types of information.
In the workshop, you will use a Web search engine to find pages that
relate to your interests. Once you find those pages, you will insert
anchors to them in your perinfo.html file.
To begin your search:
- Return to your home page
- Click on the Webcrawler Web Search link in your page.
- Type in text that describes your interest (1st - favorite author, 2nd
- television show, and 3rd-type of music). Be as specific as possible.
Click the search button.
- Examine the links found in your search until you find one you want to
link to.
- Copy the URL by highlighting the text in the Location Text box and
entering CTRL-C.
To put in the link in your perinfo.html file:
[Return to HTML Workshop Home Page]