HTML Basics
We will use
Wade Martinson's HTML tutorials for the introduction to the basics of HTML
Languages and simple web page authoring. You learn how to create simple
web pages with text editor.
One quick way to learn HTML, is to
view the HTML source file that currently displays on your browser.
- On Netscape Navigator, select
View/Page Source menu on the toolbar.
- On Internet Explorer, select
View/Source menu on the toolbar.
To publish your web page on the CS apache
web servers, you
- create a "public_html" subdirectory
on your CS Unix account by login in to machines such as cs.uccs.edu, blanca,
crestone, wetterhorn, redcloud, sanluis, shavano.
- Change the access right of the
your home directory so that web server can access your web page. Type the
following command "chmod 755 ../<login>" Here <login>
is your CS Unix machine login.
- ftp or copy your web page, say
ex1.htm, to this subdirectory.
- you can then reference this web
page using url
http://cs.uccs.edu/~<your login>/ex1.htm
- Here <your login> is your
login name on cs.uccs.edu.
- Note that you do not have to
enter "public_html" as part of the uri, the web server automatically attaches
it, during the file name mapping process that map the uri to the physical
path .
There are three different browser on
our CS Unix machines: Mozilla0.9.2.1, Netscape 4.78, Netscape 6.2. All three come
with HTML editor called composer.The HTML editor comes with Netscape communicator,
to create simple web pages with link, graphics, audio, video, and to publish them
on the web server at cs.uccs.edu. You can dowload the Netscape 6.2 from home.netscape.com.
- Click the terminal icon on the
task bar. It will pop up the shell window.
- Type "netscape" for
Netscape 4.78 browser. Type "ns6" for Netscape 6.2 browser. Click
the Mozilla icon on the task bar for the Mozilla browser.
- Select tasks | composer to bring
up the composer window.
To publish the web page created using
Page Composer of Netscape4.78 browser.
- Select the Publish command on
the Composition toolbar.
- Enter the page title and HTML
file name to be used on the web server.
- Enter the ftp location for the
web page on the web server, e.g.,
ftp://cs.uccs.edu/users/server/students/<login>/public_html/hw/
Here <login> is your login on cs.uccs.edu.
- Note that here you need to enter
the full path name of the directory /usr2/students/<login>/public_html/hw/
- Enter the user name (your login
name on cs) and password in the dialog window.
- You can ask the Page Composer
to remember you password.
- Select the image/data files that
are referenced by this web page.
Later you can select not to copy the related image/date files again.
Mozilla and Netscape 6.2 composers
do not have the publish command. You can use ftp command to transfer the file
to the web server. All our CS Unix machines share the same NFS file system.
Therefore you do not have transfer files if you create web page on your public_html
directory. Actually, any of the web server can serve your web page. For example,
http://blanca.uccs.edu/~cs301/ will deliver the same web page as http://cs.uccs.edu/~cs301/.
MS Front Page 2000 is installed in
PCs in ENS 138/140/149 for editing web pages. It is a WYSWYG HTML editor.
There is web page discussing the different between XHTML and HTML. http://cs.uccs.edu/~cs301/xhtmldiff.htm