My HTML Notes/Guide

This is not set up to teach HTML in any way, it's just a reference to a few
tags and the little stuff that is hard to memorize. Where there are examples of code, omit the spaces
in between <>'s. I got these notes from
various Internet sites and the book:

Teach Yourself WebPublishing with HTML in a Week, by Laura Lemay
*Characters    *Colors    *Images    *Lists    *Tables    *Common Tags



Common Tags

 Return to menu

Colors

Background
To set the background color of the page, in the body tag, set 
BGCOLOR = #hexadecimal number
To tile the background with an image, in the body tag, set 
BACKGROUND = "filename or URL that points to image file"
Text and link colors
Text & link colors can be set in the body tag just like background,
setting the attribute to a hexadecimal number (I've also seen color names used I believe).
Example: < BODY BGCOLOR=#00FFFF TEXT=#8B4513 >
Return to menu

Images

Wrapped text To wrap text around an image, such as this text wraps this image, 
set the align attribute in the img tag to LEFT or RIGHT. The image will be 
aligned to that specified margin, and any following text will be displayed on 
the "open" side of the image. If you want to stop filling in the space before 
the end of the image is reached, use aline break with the attribute CLEAR set 
to LEFT, RIGHT, or ALL. 

Return to menu



Characters

HTML supports many special characters/symbols in addition the default 
printable ones, such as ® (& followed by reg;) and © (& followed by copy;)
To view more examples of characters and their codes, visit the 
special character table.
Return to menu


Tables

 For cells that span multiple rows or columns, set attribute ROWSPAN and/or 
COLSPAN (in the TH or TD tags) to the number of columns or rows you want the 
cells to span.  e.g. < TH COLSPAN=2 > 
Return to menu

Lists

For unordered lists, there are 3 possible types of bullets used to 
mark each item (specified in ul tag as: type="bullet-type")

For ordered lists, these are the some of the options 
(See the source for this page to see an example):
  1. 1, lists items with numbers (1, 2, 3, ...) -- default
  2. A, lists items with uppercase letters (A, B, C, ...)
  3. a, lists items with lowercase letters (a, b, c, ...)
  4. I, lists items with uppercase Roman numerals (I, II, III, ...)
  5. i, lists items with lowercase Roman numerals (i, ii, iii, ...)
By the way, to format output to look like an outline, remember that lists can be nested.

Home
Subjects (CS)
Yahoo!GeoCities HTML Editor
Return to menu 1