A Bare-Bone Introduction to HTML
by K. Yue, @copyright 1997-2001, revised 8/12/2001

I. General Introduction

II. Web Hosting

III. HTML Development

Authoring HTML documents

Testing

IV. HTML Structures, Elements and Tags

<H1>
Homework Assignments
</H1>

<B>excellent</B>

<!-- Deprecated use of the align attribute -->
<H1 ALIGN="CENTER">Homework Assignments</H1>
<A HREF="hw1.txt">Homework #1</A>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>
<HEAD>
<TITLE>Title of your page.</TITLE>
</HEAD>
<BODY>
Body of your page.
</BODY>
</HTML>

Comments and Entities

Example:

'<': &#60; or &lt;
'>': &#62; or &gt;
'"': &#34; or &quot;
'&': &#38; or &amp;
'#': &#35;
' ': &#32; or &nbsp;

V. Navigation and Links

<A HREF="http://dcm.uhcl.edu/yue/csci4230/Fall2001/index.html">CSCI
4230 Internet Application Development</A>  

HREF = "URL": URL address of the hyperlink.
NAME = "string": Name of the anchor point for reference (with a # before the name).
REL = "string":  Relationship of the link to the current page.
REV = "string":  Reverse relationship of the link to the current page.
TITLE =  "string":  Title of the linked page for preview.
METHODS = "string": HTTP methods mainly for CGI programming.
TARGET = "window": Display linked page in targeted frame;some examples:
     "_blank" new, unnamed window.
     "_self"  current window.
     "_parent" parent window.
     "_top"  window containing the top document.

VI. Graphics

<img src="../../../images/UHCLbanner.gif"
     alt="University of Houston - Clear Lake"
     width="491" height="74">

ALIGN = "align":top, bottom, middle, left, right, etc.
ALT = "text": alternative text in lieu of the image.
HEIGHT ="n": actual height to be displayed in n units.
ISMAP: is an active map, coordinate of mouse click will be sent back to the server for CGI programming; used only with combination with <a>.
SRC = "URL": URL of the image.
UNITS ="n": Units for height and width in pixels.
WIDTH ="n": Actual width to be displayed in n units.