Basic Computer Notions Creating a Web site

Creating HTML files

HTML files can be created with any text editor, like Notepad under Windows. Save the file with the extension .html. To prevent Notepad from adding .txt to the filename, select All Files under Save as type.

HTML files can also be created with a word processor, but they must be saved as plain-text files with an extension of .html. Use File > Save As and choose a file type of, e.g., ASCII DOS Text.

If the text editor or word processor forces an extension of .txt after the .html, remember to remove it by renaming the file. (Note that MS Windows hides common file extensions by default, so you may have to adjust the appropriate option in order to be able to see the file extension.)

Putting HTML files onto a server

The following instructions are specific to the Camel course, with the Web server being audilab.bmed.mcgill.ca .

Use FTP to connect to the Web server, and give your username and password. Create a public_html subdirectory under your login directory. Change directory into the new public_html directory, and then copy your HTML file(s) to that directory. Your home page should be named index.html.

Remember that FTP can transfer files either as ASCII (plain text) files or as ‘binary’ files.

The procedure for changing transfer mode depends on the particular FTP software that you're using.

Putting image files onto the Web server

The image of a camel is available for linking at http://audilab.bmed.mcgill.ca/~funnell/InforMed/Camel/camelf-half.gif. A larger version, camelf.gif, is also available in the same directory. You can use your Web browser to download them, and then FTP them to the Web server.

Note that one must not include copyrighted material on Web pages without permission from the copyright holder.

In general, images and text that you find on other Web sites should be considered to be copyrighted, even if not explicitly labelled as such. Only use material from sites (e.g., icon collections) which give explicit permission for such use.

Testing your Web pages

Use a Web browser on any machine to connect to http://audilab.bmed.mcgill.ca/~username.

While you're working on a Web page, you can use a Web browser to look at it on your local computer without having copied the page to the Web server.

Remember that some things may work locally on your computer but not on the server. For example, filenames are case sensitive on the Web server but not under MS Windows.

What information to put on a Web site

You should limit the amount of personal information (especially addresses and telephone numbers) that you put on your Web pages.

Remember that anyone in the world (including the crazies) can read your Web page.

It is probably best to include only e-mail addresses (even then keeping in mind the possibility that they may be ‘harvested’ by e-mail spammers). You can then give out addresses and telephone numbers selectively when people contact you by e-mail.

There are ways to attempt to disguise e-mail addresses:


R. Funnell
Last modified: Tue, 2006 Mar 14 14:46:28