HTML TAG CENTER
    HTML TAG INDEX:
  1. basic elements
  2. structural definition
  3. presentation formatting
  4. links, graphics, and sounds
  5. dividers
  6. lists
  7. backgrounds and colors
  8. forms
  9. tables
  10. frames
  11. scripts and java
  12. miscellaneous

BASIC ELEMENTS
Back To The Top
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 DEFINITION
Back To The Top
Heading <H?></H?> Ranges from 1-6, 1= largest, 6= smallest.
Align Heading <H? ALIGN=LEFT|CENTER|RIGHT></H?>
Division <DIV></DIV>
Align Division <DIV ALIGN=LEFT|RIGHT|CENTER|JUSTIFY></DIV>
Defined Content <SPAN></SPAN>
Block Quote <BLOCKQUOTE></BLOCKQUOTE> Usually indented.
Quote <Q></Q> For short quotations.
Citation <Q CITE="URL"></Q>
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.
Large Font Size <BIG></BIG>
Small Font Size <SMALL></SMALL>
PRESENTATION FORMATTING
Back To The Top
Bold <B></B> Displays BOLD text.
Italic <I></I> Displays ITALIC text.
Underline <U></U> Displays underlinded text.
Strikeout <STRIKE></STRIKE> Not widely implemented.
Strikeout <S></S> Not widely implemented.
Subscript <SUB></SUB>
Superscript <SUP></SUP>
Typewriter <TT></TT> Displays in a monospaced font.
Preformated <PRE></PRE> Display text spacing as-is.
Width <PRE WIDTH=?></PRE> In characters.
Center <CENTER></CENTER> For both text and images.
Blinking <BLINK></BLINK> The most derided tag ever.
Font Size <FONT SIZE=?></FONT> Ranges from 1-7, 1 smallest, 7 largest.
Font Color <FONT COLOR="#$$$$$$"></FONT>
Select Font <FONT FACE="***"></FONT>
Point size <FONT POINT-SIZE=?></FONT>
Weight <FONT WEIGHT=?></FONT>
Base Font Size <BASEFONT SIZE=?> From 1-7; default is 3.
Marquee <MARQUEE></MARQUEE>
LINKS, GRAPHICS, AND SOUNDS
Back To The Top
Link Something <A HREF="URL"></A>
Link to Location <A HREF="URL#***"></A> If in another document.
Link to Location <A HREF="#***"></A> If in current document.
Target Window <A HREF="URL" TARGET="***"></A>
Action on Click <A HREF="URL" ONCLICK="***"></A> Javascript
Mouseover Action <A HREF="URL" ONMOUSEOVER="***"></A> Javascript
Mouse out Action <A HREF="URL" ONMOUSEOUT="***"></A> Javascript
Link to Email <A HREF="mailto:@"></A>
Specify Subject <A HREF="mailto:@?SUBJECT=***"></A> Use a real question mark.
Define Location <A NAME="***"></A>
Display Image <IMG SRC="URL">
Alignment <IMG SRC="URL" ALIGN=TOP|BOTTOM|MIDDLE|LEFT|RIGHT>
Alignment <IMG SRC="URL" ALIGN=TEXTTOP|ABSMIDDLE|BASELINE|ABSBOTTOM>
Alternate <IMG SRC="URL" ALT="DISCRIPTION OF IMAGE"> To aid text only browsers.
Alternate <IMG SRC="URL" ALT=""> If image discription is irrealivent.
Alternate <IMG SRC="URL" ALT="***"> If image not displayed.
Dimensions <IMG SRC="URL" WIDTH=? HEIGHT=?> In pixels.
Dimensions <IMG SRC="URL" WIDTH=% HEIGHT=%> As percentage of page width/height.
Border <IMG SRC="URL" BORDER=?> In pixels.
Runaround Space <IMG SRC="URL" HSPACE=? VSPACE=?> In pixels.
Background Sound <BGSOUND SRC="***" LOOP=?|INFINITE>
Parameters <PARAM>
DIVIDERS
Back To The Top
Paragraph <P></P> Closing tag often unnecessary.
Align Text <P ALIGN=LEFT|CENTER|RIGHT></P>
Justify Text <P ALIGN=JUSTIFY></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.
Width Percent <HR WIDTH="%"> As a percentage of page width.
Solid Line <HR NOSHADE> Without the 3D cutout look.
Colored Line <HR COLOR="#$$$$$$"> Choose your color.
No Break <NOBR></NOBR> Prevents line breaks.
LISTS
Back To The Top
Unordered List <UL><LI></UL> Before each list item.
Compact <UL COMPACT></UL>
Bullet Type <UL TYPE=DISC|CIRCLE|SQUARE> For the whole list.
Bullet Type <LI TYPE=DISC|CIRCLE|SQUARE> This & subsequent.
Ordered List <OL><LI></OL> Before each list item.
Compact <OL COMPACT></OL>
Numbering Type <OL TYPE=A|a|I|i|1> For the whole list.
Numbering Type <LI TYPE=A|a|I|i|1> This & subsequent.
Starting Number <OL START=?> For the whole list.
Starting Number <LI VALUE=?> This & subsequent.
Definition List <DL><DT><DD></DL> <DT>=term, <DD>=definition.
Compact <DL COMPACT></DL>
Menu List <MENU><LI></MENU> Before each list item.
Compact <MENU COMPACT></MENU>
Directory List <DIR><LI></DIR> Before each list item.
Compact <DIR COMPACT></DIR>
BACKGROUNDS AND COLORS
Back To The Top
Tiled Bkground <BODY BACKGROUND="URL">
Watermark <BODY BGPROPERTIES="FIXED">
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="#$$$$$$">
FORMS
Back To The Top
Define Form <FORM ACTION="URL" METHOD=GET|POST></FORM>
File Upload <FORM ENCTYPE="multipart/form-data"></FORM>
Input Field <INPUT TYPE="TEXT|PASSWORD|CHECKBOX|RADIO|
FILE|BUTTON|IMAGE|HIDDEN|SUBMIT|RESET">
Field Name <INPUT NAME="***">
Field Value <INPUT VALUE="***">
Checked? <INPUT CHECKED> Checkboxes and radio boxes.
Field Size <INPUT SIZE=?> In characters.
Max Length <INPUT MAXLENGTH=?> In characters.
Button <BUTTON></BUTTON>
Button Name <BUTTON NAME="***"></BUTTON>
Button Type <BUTTON TYPE="SUBMIT|RESET|BUTTON"></BUTTON>
Default Value <BUTTON VALUE="***"></BUTTON>
Label <LABEL></LABEL>
Item Labelled <LABEL FOR="***"></LABEL>
Selection List <SELECT></SELECT>
Name of List <SELECT NAME="***"></SELECT>
# of Options <SELECT SIZE=?></SELECT>
Multiple Choice <SELECT MULTIPLE> Can select more than one.
Option <OPTION> Items that can be selected.
Default Option <OPTION SELECTED>
Option Value <OPTION VALUE="***">
Option Group <OPTGROUP LABEL="***"></OPTGROUP>
Input Box Size <TEXTAREA ROWS=? COLS=?></TEXTAREA>
Name of Box <TEXTAREA NAME="***"></TEXTAREA>
Wrap Text <TEXTAREA WRAP=OFF|HARD|SOFT></TEXTAREA>
Group elements <FIELDSET></FIELDSET>
Legend <LEGEND></LEGEND> Caption for fieldsets.
Alignment <LEGEND ALIGN="TOP|BOTTOM|LEFT|RIGHT"></LEGEND>
TABLES
Back To The Top
Define Table <TABLE></TABLE>
Table Alignment <TABLE ALIGN=LEFT|RIGHT|CENTER>
Table Border <TABLE BORDER></TABLE> Either on or off.
Table Border <TABLE BORDER=?></TABLE> You can set the value.
Cell Spacing <TABLE CELLSPACING=?>
Cell Padding <TABLE CELLPADDING=?>
Desired Width <TABLE WIDTH=?> In pixels.
Width Percent <TABLE WIDTH=%> Percentage of page.
Table Color <TABLE BGCOLOR="$$$$$$"></TABLE>
Table Frame <TABLE FRAME=VOID|ABOVE|BELOW|HSIDES|LHS|RHS| VSIDES|BOX|BORDER>
</TABLE>
Table Rules <TABLE RULES=NONE|GROUPS|ROWS|COLS|ALL></TABLE>
Border Color <TABLE BORDERCOLOR="$$$$$$"></TABLE>
Dark Border <TABLE BORDERCOLORDARK="$$$$$$"></TABLE>
Light Border <TABLE BORDERCOLORLIGHT="$$$$$$"></TABLE>
Table Row <TR></TR>
Alignment <TR ALIGN=LEFT|RIGHT|CENTER|MIDDLE|BOTTOM>
Table Cell <TD></TD> Must appear within table rows.
Alignment <TD ALIGN=LEFT|RIGHT|CENTER VALIGN=TOP|MIDDLE|BOTTOM>
No linebreaks <TD NOWRAP>
Columns to Span <TD COLSPAN=?>
Rows to Span <TD ROWSPAN=?>
Desired Width <TD WIDTH=?> In pixels.
Width Percent <TD WIDTH="%"> Percentage of table.
Cell Color <TD BGCOLOR="#$$$$$$">
Header Cell <TH></TH> Same as data, except bold and centered.
Alignment <TH ALIGN=LEFT|RIGHT|CENTER|MIDDLE|BOTTOM>
No Linebreaks <TH NOWRAP>
Columns to Span <TH COLSPAN=?>
Rows to Span <TH ROWSPAN=?>
Desired Width <TH WIDTH=?> In pixels.
Width Percent <TH WIDTH="%"> Percentage of table.
Cell Color <TH BGCOLOR="#$$$$$$">
Table Body <TBODY>
Table Footer <TFOOT></TFOOT> Must come before <THEAD>
Table Header <THEAD></THEAD>
Table Caption <CAPTION></CAPTION>
Alignment <CAPTION ALIGN=TOP|BOTTOM|LEFT|RIGHT>
Column <COL></COL> Groups column attributes.
Columns Spanned <COL SPAN=?></COL>
Column Width <COL WIDTH=?></COL>
Width Percent <COL WIDTH="%"></COL>
Group columns <COLGROUP></COLGROUP> Groups column structure.
Columns Spanned <COLGROUP SPAN=?></COLGROUP>
Group Width <COLGROUP WIDTH=?></COLGROUP>
Width Percent <COLGROUP WIDTH="%"></COLGROUP>
FRAMES
Back To The Top
Frame Document <FRAMESET></FRAMESET> Instead of <BODY>
Row Heights <FRAMESET ROWS=,,,></FRAMESET> Pixels or   %
Row Heights <FRAMESET ROWS=*></FRAMESET>   * = relative size.
Column Widths <FRAMESET COLS=,,,></FRAMESET> Pixels or   %
Column Widths <FRAMESET COLS=*></FRAMESET>  * = relative size.
Borders <FRAMESET FRAMEBORDER="yes|no"></FRAMESET>
Border Width <FRAMESET BORDER=?></FRAMESET>
Border Color <FRAMESET BORDERCOLOR="#$$$$$$"></FRAMESET>
Frame Spacing <FRAMESET FRAMESPACING=?></FRAMESET>
Define Frame <FRAME> Contents of an individual frame.
Display Document <FRAME SRC="URL">
Frame Name <FRAME NAME="***"|_blank|_self|_parent|_top>
Margin Width <FRAME MARGINWIDTH=?> Left and right margins.
Margin Height <FRAME MARGINHEIGHT=?> Top and bottom margins.
Scrollbar? <FRAME SCROLLING="YES|NO|AUTO">
Not Resizable <FRAME NORESIZE>
Borders <FRAME FRAMEBORDER="yes|no">
Border Color <FRAME BORDERCOLOR="#$$$$$$">
Unframed Content <NOFRAMES></NOFRAMES> For non-frames browsers.
Inline Frame <IFRAME></IFRAME> Takes same attributes as FRAME.
Dimensions <IFRAME WIDTH=? HEIGHT=?></IFRAME>
Dimensions <IFRAME WIDTH="%" HEIGHT="%"></IFRAME>
SCRIPTS AND JAVA
Back To The Top
Script <SCRIPT></SCRIPT>
Location <SCRIPT SRC="URL"></SCRIPT>
Type <SCRIPT TYPE="***"></SCRIPT>
Language <SCRIPT LANGUAGE="***"></SCRIPT>
Other Content <NOSCRIPT></NOSCRIPT> If scripts not supported.
Applet <APPLET></APPLET>
File Name <APPLET CODE="***">
Parameters <APPLET PARAM NAME="***">
Location <APPLET CODEBASE="URL">
Identifier <APPLET NAME="***"> For references.
Alt Text <APPLET ALT="***"> For non-Java browsers.
Alignment <APPLET ALIGN="LEFT|RIGHT|CENTER">
Size <APPLET WIDTH=? HEIGHT=?> In pixels.
Spacing <APPLET HSPACE=? VSPACE=?> In pixels.
Server Script <SERVER></SERVER>
MISCELLANEOUS
Back To The Top
Comment <!-- *** --> Not displayed by the browser.
Searchable <ISINDEX> Indicates a searchable index.
Prompt <ISINDEX PROMPT="***"> Text to prompt input.
Send Search <A HREF="URL?***"></a> Use a real question mark.
URL of This File <BASE HREF="URL"> Must be in header.
Relationship <LINK REV="***" REL="***" HREF="URL"> Must be in header.
Linked File <LINK TYPE="***" SRC="***"></LINK>
Meta Information <META> Must be in header.
Style Sheets <STYLE></STYLE> Implementations vary.


Back To HTML Tutorial     Go To Our Home Page

This Web Site Is Hosted by