Page 1
basic elements, structural,
text formatting, links & graphics,
dividers, backgrounds & color,
special characters
Page 2
lists, forms,
tables, frames,
JAVA, miscellaneous
| BASIC ELEMENTS |
| |
Document Type |
<HTML></HTML> |
(beginning and end of file) |
| |
Title |
<TITLE></TITLE> |
(must be in header) |
| |
Header |
<HEAD></HEAD> |
(descriptive info, such as title) |
| |
Body |
<BODY></BODY> |
(bulk of the page) |
| STRUCTURAL |
| |
Heading |
<H?></H?> |
(the spec. defines 6 levels) |
| |
Align Heading |
<H? ALIGN=LEFT|CENTER|RIGHT></H?> |
|
| |
Division |
<DIV></DIV> |
|
| |
Align Division |
<DIV ALIGN=LEFT|RIGHT|CENTER></DIV>
|
|
| |
Block Quote |
<BLOCKQUOTE></BLOCKQUOTE> |
(usually displayed as indented) |
| |
Emphasis |
<EM></EM> |
(usually displayed as italic) |
| |
Strong Emphasis |
<STRONG></STRONG> |
(usually displayed as bold) |
| |
Citation |
<CITE></CITE> |
(usually italics) |
| |
Code |
<CODE></CODE> |
(for source code listings) |
| |
Sample Output |
<SAMP></SAMP> |
|
| |
Keyboard Input |
<KBD></KBD> |
|
| |
Variable |
<VAR></VAR> |
|
| |
Definition |
<DFN></DFN> |
(not widely implemented) |
| |
Author's Address |
<ADDRESS></ADDRESS> |
|
| |
Large Font Size |
<BIG></BIG> |
|
| |
Small Font Size |
<SMALL></SMALL> |
|
| TEXT FORMATTING |
| |
Bold |
<B></B> |
|
| |
Italic |
<I></I> |
|
| N3.0b |
Underline |
<U></U> |
(not widely implemented yet) |
| |
Strikeout |
<STRIKE></STRIKE> |
(not widely implemented yet) |
| N3.0b |
Strikeout |
<S></S> |
(not widely implemented yet) |
| |
Subscript |
<SUB></SUB> |
|
| |
Superscript |
<SUP></SUP> |
|
| |
Typewriter |
<TT></TT> |
(displays in a monospaced font) |
| |
Preformatted |
<PRE></PRE> |
(display text spacing as-is) |
| |
Width |
<PRE WIDTH=?></PRE> |
(in characters) |
| |
Center |
<CENTER></CENTER> |
(for both text and images) |
| N1.0 |
Blinking |
<BLINK></BLINK> |
. |
| |
Font Size |
<FONT SIZE=?></FONT> |
(ranges from 1-7) |
| |
Change Font Size |
<FONT SIZE="+|-?"></FONT>
|
|
| N1.0 |
Base Font Size |
<BASEFONT SIZE=?> |
(from 1-7; default is 3) |
| |
Font Color |
<FONT COLOR="#$$$$$$"></FONT>
|
|
| N3.0b |
Select Font |
<FONT FACE="***"></FONT>
|
|
| N3.0b |
Multi-Column Text |
<MULTICOL COLS=?></MULTICOL> |
|
| N3.0b |
Column Gutter |
<MULTICOL GUTTER=?></MULTICOL> |
(default is 10 pixels) |
| N3.0b |
Column Width |
<MULTICOL WIDTH=?></MULTICOL> |
|
| N3.0b |
Spacer |
<SPACER> |
|
| N3.0b |
Spacer Type |
<SPACER TYPE=horizontal| vertical|block>
|
|
| N3.0b |
Spacer Size |
<SPACER SIZE=?> |
|
| N3.0b |
Spacer Dimensions |
<SPACER WIDTH=? HEIGHT=?> |
|
| N3.0b |
Spacer Alignment |
<SPACER ALIGN=left|right|center> |
|
| LINKS AND GRAPHICS |
| |
Link Something |
<A HREF="URL"></A>
|
|
| |
Link to Target |
<A HREF="URL#***"></A> |
(if in another document) |
| <A HREF="#***"></A> |
(if in current document) |
| N2.0 |
Target Window |
<A HREF="URL" TARGET="***|
|_blank|_self|_parent|_top"></A> |
|
| |
Define Target in Document |
<A NAME="***"></A> |
|
| |
Relationship |
<A REL="***"></A> |
(not widely implemented) |
| |
Reverse Relationship |
<A REV="***"></A> |
(not widely implemented) |
| |
Display Image |
<IMG SRC="URL"> |
|
| |
Alignment |
<IMG SRC="URL" ALIGN=TOP|BOTTOM|MIDDLE|LEFT|RIGHT>
|
|
| N1.0 |
Alignment |
<IMG SRC="URL" ALIGN=TEXTTOP|
ABSMIDDLE|BASELINE|ABSBOTTOM> |
|
| |
Alternate |
<IMG SRC="URL" ALT="***">
|
(if image not displayed) |
| |
Imagemap |
<IMG SRC="URL" ISMAP> |
(requires a script) |
| |
Client-Side Imagemap |
<IMG SRC="URL" USEMAP="URL">
|
|
| |
Map Description |
<MAP NAME="***"></MAP> |
|
| |
Map Sections |
<AREA SHAPE="RECT" COORDS=",,,"
HREF="URL"|NOHREF> |
|
| |
Dimensions |
<IMG SRC="URL" WIDTH=? HEIGHT=?>
|
(in pixels) |
| |
Border |
<IMG SRC="URL" BORDER=?> |
(in pixels) |
| |
Runaround Space |
<IMG SRC="URL" HSPACE=? VSPACE=?>
|
(in pixels) |
| N1.0 |
Low-Res Proxy |
<IMG SRC="URL" LOWSRC="URL">
|
|
| N1.1 |
Client Pull |
<META HTTP-EQUIV="Refresh" CONTENT="?;
URL=URL"> |
|
| N2.0 |
Embed Object |
<EMBED SRC="URL"> |
(insert object into page) |
| N2.0 |
Object Size |
<EMBED SRC="URL" WIDTH=? HEIGHT=?>
|
|
| DIVIDERS |
| |
Paragraph |
<P></P> |
(closing tag often unnecessary) |
| |
Align Text |
<P ALIGN=LEFT|CENTER|RIGHT></P> |
|
| |
Line Break |
<BR> |
(a single carriage return) |
| |
Clear Textwrap |
<BR CLEAR=LEFT|RIGHT|ALL> |
|
| |
Horizontal Rule |
<HR> |
|
| |
Alignment |
<HR ALIGN=LEFT|RIGHT|CENTER> |
|
| |
Thickness |
<HR SIZE=?> |
(in pixels) |
| |
Width |
<HR WIDTH=?> |
(in pixels) |
| N1.0 |
Width Percent |
<HR WIDTH="%"> |
(as a percentage of page width) |
| |
Solid Line |
<HR NOSHADE> |
(without the 3D cutout look) |
| N1.0 |
No Break |
<NOBR></NOBR> |
(prevents line breaks) |
| N1.0 |
Word Break |
<WBR> |
(where to break a line if needed) |
| BACKGROUNDS AND COLOR |
| |
Tiled Bkground |
<BODY BACKGROUND="URL">
|
|
| |
Bkground Color |
<BODY BGCOLOR="#$$$$$$"> |
(order is red/green/blue) |
| |
Text Color |
<BODY TEXT="#$$$$$$"> |
|
| |
Link Color |
<BODY LINK="#$$$$$$"> |
|
| |
Visited Link |
<BODY VLINK="#$$$$$$"> |
|
| |
Active Link |
<BODY ALINK="#$$$$$$"> |
|
|
(A list of all hex color codes are here
)
|
SPECIAL CHARACTERS
(must be in lower case) |
| |
Special Character |
&#?; |
(where ? is the ISO 8859-1 code) |
| |
< |
< |
|
| |
> |
> |
|
| |
& |
& |
|
| |
" |
" |
|
| |
Registered TM |
® |
|
| |
Copyright |
© |
|
| |
Non-Breaking Space |
|
|
|
(Complete list at http://www.uni-passau.de/%7Eramsch/iso8859-1.html)
|
|
|