Creating Web Pages

Creating your own Web pages

Documents for viewing in a Web browser are written in “Hyper-Text Markup Language”, commonly known as HTML. They are usually stored in files that end in “.html”. You can create these files with an ordinary text editor, provided you know about the various special HTML commands that are documented in many books on the Web, as well as in the following web pages:

HTML Guide by Alastair Stevens.

Beginner’s Guide to HTML from NCSA

Introduction to HTML by Ian Graham.

Alternatively, you can use the “composer” facility of netscape, which doesn’t require that you know HTML commands.
Once you’ve written an HTML document, you’ll no doubt want to view it. If the document is stored in a file on utstat, you can directly access it from a web browser that is running on utstat. In netscape, you choose “Open Page” from the “File” menu, and type in the full file name. For example, if your username is “fred”, you would type /u/fred/prettypage.html to get to the document in the file prettypage.html in your home directory.

If you want your Web pages readable by everyone in the world, you can put them in a directory called “public_html” in your home directory. Everyone will then be able to get to them using a URL such as

http://www.utstat.utoronto.ca/~fred/prettypage.html

(The squiggly character in front of your username (here fred) is a “tilde”, usually found in the upper-right or upper-left of the keyboard, on the same key as the accent/backquote).
It is conventional to give your your main Web page the name “index.html”. This is the default if people leave out the file name, that is, they can get to your index.html with a URL such as

http://www.utstat.utoronto.ca/~fred/

You can also write programs in the Java programming language that will run inside a web page, and can do lots of nifty things that you can’t do in HTML.

Print Friendly