After completing this workshop, users should be able to:
Use nano to create an index.html file in their public_html directory
Use HTML tags to create a web page
HTML -- Defines HTML Document
HEAD -- Contains info about the document (i.e. title)
TITLE -- Defines the title of the page as seen in the Title Bar
BODY -- Contains all elements of the viewable page
H1-H6 -- Various headings levels. 1-6, from largest to smallest
A -- Used to create links to other pages, sites, or sections of the same page
IMG -- Embeds an image into the document
FONT -- Changes the appearance of text
P -- Generic paragraph used for creating returns in-between paragraphs
You will need a UNIX emulator to log into your account. We recommend PuTTy for PC and Fugu for Mac, but any client that supports SSH will work just as well.
Documentation for downloading and using PuTTy can be found at http://myweb.csuchico.edu/putty.php
Documentation for downloading and using Fugu can be found at http://myweb.csuchico.edu/fugu.php
For other free UNIX emulators, see http://www.tucows.com
Once you log in and see the command prompt ("$"), you will need to change into your web (public_html) directory. Type: cd public_html
(Note: Everything that you want to be accessible to the public via the web must be in this directory.)
To create a new document, type: nano index.html This will create an HTML file named "index.html" and open it in the text editor nano.
Your homepage must be named "index.html". The URL to this page will be http://myweb.csuchico.edu/~login (where "login" is your login name). If you were to have a page named "links.html", the URL to this page will be http://myweb.csuchico.edu/~login/links.html.
HTML is the scripting language that web browsers read. This language is, mainly, composed of HTML tags, which are characterized by the < and > brackets. The following are some essential and common HTML tags.

When you are finished, save and exit out of nano by holding down "Ctrl" on the keyboard and "X" at the same time. Next hit "Y" for Yes to save the modified buffer. Finally, hit return to save the file under the name index.html.
Note: The menu at the bottom of the screen is a list of options. You can select an option by holding down "Ctrl" on the keyboard, symbolized as the caret ("^ "), with the corresponding letter.

In order to display your page, you must set public permissions for it. Once you have saved and exited and are back at the command prompt, type: chmod 755 *.html
You only have to set the file permissions for each file once, regardless of how often you modify it.
To view your page go to: