HTML 3.2 Code Sheet

Required Elements

Formatting

Uniform Resource Locators

Anchors and Links

Color

Lists

Images

Miscellaneous
 


Required Elements

<HTML></HTML> Declares a document is HTML

<HEAD></HEAD> Delineates head of document

<TITLE></TITLE> Title of document

<BODY></BODY> Signifies beginning and end of document


Formatting

<H1></H1> Biggest level of headlines

<H5></H5> Smallest level of headline

<STRONG></STRONG> Bold

<EM></EM> Italics

<U></U> Underline

<CODE></CODE> Fixed typeface

<CITE></CITE> Citation (Indented)

<P></P> Begin Paragraph/End Paragraph

<BR></BR> Line break

<BLINK></BLINK> Makes line of text blink

<P ALIGN=Left|Center|Right></P> Aligns a paragraph

<HR> Horizontal line


Uniform Resource Locators

http--Hypertext Transfer Protocol

ftp--File Transfer Protocol

gopher--Gopher Protocol

telnet--Telnet Protocol

news--UseNet News Protocol

mailto--E-mail


Anchors and Links

<A HREF="target">Text</A> Hyperlink anchor

<A NAME="spot"></A> Marker tag

<A HREF="target#spot">text</A> Hyperlink to another spot in the same document

<A HREF=:"http://www.targetspot.com">text</A> Hyperlink to URL


Color

<BODY BACKROUND="URL"> Tiled backround from bitmap

<BODY COLOR="#hex triplet"> Backround color

<BODY TEXT="#hex triplet"> Text color

<BODY LINK="#hex triplet"> Link color

<BODY VLINK="#hex triplet">


Lists

<UL></UL> Unordered list

<OL></OL> Ordered list

<LI></LI> Individual list item

<DL></DL>Dictionary list

<DT></DT> Term in dictionary list

<DD></DD> Defintion in dictionary list


Images

<IMG SRC="filename"> Include image filename

<A HREF="url"><IMG SRC="filename"></A> Makes the image the hyperlink


Miscellaneous HTML

<A HREF="mailto:e-mail address">Your e-mail address</A> Link to e-mail