To create a web site you need three things:
1. A machine connected to the Internet with the ability to host web pages
2. A set of "web page" documents that contain HTML content
3. A program within which to create the web documents.
In order to have a web site you need a web server. This is a machine that is specially set up to be connected to the Internet and can give out the web pages that are asked of it. While this type of machine is not too difficult to set up, it is beyond what this course does. There are many for free or for pay sites out on the Internet that will happily host your pages, but in this case the computer science department has a machine that will hold your pages at least for the duration of this course and perhaps longer. This machine happens to be called storm and we will be learning how to interact with it later.
You will be creating many web pages using an underlying format called HTML which is short for "HyperText Markup Language". Go ahead and select the View menu right in your web browser and then select Page Source beneath it. A box should open that should have what at first to appear to be gibberish but if you look closely has the very content that you are reading now. Basically all of the gibberish is defining all the formatting that is going on in the document. Your instructor may explain more about this but for today you won't need to worry about the details much.
HTML is challenging but certainly not impossible to work directly with. In this project, we will use basic text file editor to directly created HTML content, which will allow us to learn the nuts and bolts of HTML. Note that there are many WYSIWYG (What You See Is What You Get) programs for Web site development, for example, DreamWeaver, FrontPage, and even MS Word. With any of these programs you just type and format as you would a normal document and the HTML will be created automatically for you.
2.1. Login using
OpenMail
To get to your account, use your web browser to go to storm.cis.fordham.edu/mail.html .Type in your username and password to login This will brings you to an OpenMail interface(I don't understand what this openmail thing is and I want an explantion).
2.2 Change your password
On your very first time into openmail you may encounter a preferences screen. If you are not in the preferences screen then you need to click on the button labeled "Pref" that appears at the top of the screen.
What we want to do first is change your password. Your instructor may briefly instruct you as to what makes a good password. But now you want to click on the "ChangePassword" button at the top of the screen. You will then be prompted for your old (current) password, and then asked to enter in your new password twice. Once you have done that click on the change password button.
Now back on the preferences screen there is nothing else on this screen that is of immediate concern, so just scroll to the bottom of the screen and click on save.
You can play around with the open mail interface later. For now we are going to create a simple web pagethrough openmail
2.3 What is a HTML Document?
HTML stands for Hyper Text Markup
Language An HTML file is a
text file containing small markup tags These markup tags tell the Web browser how
to display the page Each HTML
file must have an htm or html file extension, andcan be created
using a simple text editor
The following is a short example of what the html for a simple page might look like. When appearing in your browser, this page would look like this.
<html><head><title>My first Web Page</title></head> <body bgcolor = "white"> <h2> My first Web Page</h2><p>I am so happy to be at Fordham! Here are some things about me youmight like to know.
<ul><li> My favorite color is blue.<li> John Mulcahy Hall is home away from home.<li> I love the Big Apple.<li> My favorite web site is <a href="http://www.cnn.com">cnn.com</a></ul></body></html>
You should note that all formatting takes place via use of tags. HTML tags such as <b> and </b> or <html> and </html> generally come in pairs and are wrapped around the text that you wish to have formatted in a particular way. For example, <b>HELLO </b> would make the word HELLO appears in boldface in your browser.
There are many different tags that one can learn to use, however, with a very small set you can create reasonably complex web pages. We will discuss a few important tags here, but for further information check out this online html tutorial.
HTML tags that everyone needs to know
2.4 Create your own HTML file
Now with that brief introduction it is time to make your own web page. To begin, you first create a file in the storm server as follows:
2.5 Editing and Previewing
your own HTML file
So go ahead and click on the [Edit] button, an “Edit file” window will appears in which we can start to write our web page. You should type up what you would like your web page to look like using the html tags. A good way to get started is first to copy the above HTML file example, and make small changes each time.
You could get feeling about what your web page will look like by clicking on the “Preview” button at the bottom of the window. This way, you can try different tags with your HTML file, see how it looks and make more changes.
2.6 Saving and Viewing your HTML
file
If you are done with the changes or need to stop for today, you could save the file by clicking on the “Save” button, and then opening a second browser window and typing into storm.cis.fordham.edu/~your_username. It should be noted that you can view your web page and use the OpenMail interfact anywhere that you have internet access.
2.7 Uploading files to your web
page
Sometimes you will want to add other files to your web
page, like images, that you are not going to create on your own. To put these
on your web page you have to get the files into the public_html directory via
the OpenMail interface. To do this you should:
Now here is what you need to have completed by the start of class one week from today.
We will be continually expanding on this web page over the entire course. But feel free to spend as much time as you like on it now.
You should email me at xzhang@fordham.edu, including the URL (as described above) of your web page on the due date.