Important HTML Tags

Tag Description
Framework <HTML> ... </HTML> Outer frame
<HEAD> ... </HEAD> Head area
<TITLE> ... </TITLE> Page title in head area
<STYLE> ... </STYLE> Style instructions in head area
<BODY> ... </BODY> Contents area
<LEFT> ... </LEFT> Align contents to the left
<RIGHT> ... </RIGHT> Align contents to the right
<CENTER> ... </CENTER> Align contents centrally
 
Text formatting <P> ... </P> Paragraph
<BLOCKQUOTE> ... </BLOCKQUOTE> Paragraph indent
<BR> ... </BR> Line break
<HR> ... </HR> Horizontal line
... WIDTH=n% (set to n% of window width)
<B> ... </B> Bold type
<I> ... </I> Italic type
<SUP> ... </SUP> Superscript
<SUB> ... </SUB> Subscript
<FONT> ... </FONT> Font
FACE="..." Font type
SIZE="..." Font size
COLOR="..." Font colour
<DIV> ... </DIV> Container or region
 
Lists <OL> ... </OL> Numbered list
<UL> ... </UL> Bullet list
<LI> ... </LI> List element within a list
Lists can be nested
(Bullet list)TYPE=... CIRCLE,DISC,SQUARE
<DL> ... </DL> Definitions list
<DT> ... </DT> Definition title
<DD> ... </DD> Definition description
 
Links <A NAME="..."> ... </A> Text mark
<A HREF="..."> ... </A> Link
TARGET=_blank Launches a new window
TARGET="wname" Launches into window named "wname"
 
Graphic <IMG> ... </IMG> Insert graphic
SRC="..." Filename of Image (GIF or JPG)
ALT="..." Text should image fail to load
ALIGN=... TOP, MIDDLE, BOTTOM
 
Table <TABLE> ... </TABLE> Define a table
<TR> ... </TR> row of table cells
<TH> ... </TH> a table cell heading
<TD> ... </TD> a table cell item