| Basic HTML Tags | |||
| Structure Tags | |||
|
Function
|
Starting Tag
|
Ending Tag
|
Attributes
|
|
HTML File |
<html> | </html> | version="value" |
| File Header | <head> | </head> | none |
| File Title | <title> | </title> | none |
| Comments | <!-- | --> | Comments go between the tags |
| Body | <body> | </body> |
background="filename" |
| Division | <div> | </div> | align="right/left/center" style="property:value;" class="classname" |
| Span (Inline Style) |
<span> | </span> | style="property:value;" class="classname" |
| Basic Text Tags | |||
|
Function
|
Starting Tag
|
Ending Tag
|
Attributes
|
| Abbreviation | <abbr> | </abbr> | none |
| Acronym | <acronym> | </acronym> | title="text" |
| Address | <address> | </address> | none |
| Anchor Tag | <a> | </a> | coords="coordinates" href="location" hreflang="languageCode" name="name" shape="cirlce,rect,poly" tabindex="value" target="target" |
| Base | <base> | none | href="location" target="target" |
| Basefont Size | <basefont> | none | size="value" face="name" color="color" |
| Bidirectional Algorithm | <bdo> | </bdo> | dir="ltr/rtl" |
| Big Text | <big> | </big> | none |
| Blinking Text | <blink> | </blink> | none ("Netscape Only) |
| Blocks of text with fixed width format | <xmp> | </xmp> | none |
| Blockquote | <blockquote> | </blockquote> | style="property:value;" class="classname" |
| Bold | <b> <strong> |
</b> </strong> |
none |
| Center | <center> | </center> | none |
| Citation | <cite> | </cite> | none |
| Code or Formula | <code> | </code> | none |
| Disallow Line Breaks | <nobr> | </nobr> | none |
| Font | <font> | </font> | face="name, name" size="+/- value or fixed size" color="color" |
| Headline | <h1 - 6> | </h1 - 6> | align="center/right" |
| Horizontal Rule | <hr> | none in HTML | size="value" width="value or %" noshade |
| Image Map Area | <area> | </area> |
alt="text" |
| Image Map Name | <map> | </map> |
name="name" |
| Image Tag | <img> | </img> |
align="alignment" |
| Italics | <i> <em> |
</i> </em> |
none |
| Line Break | <br> | none in HTML | clear="left/right/all" |
| Paragraph | <p> | </p> | align="center/right" |
| Plain Text | <plaintext> | </plaintext> | none |
| Preformatted Text | <pre> | </pre> | none |
| Quotation | <q> | </q> | cite="URL" |
| Sample Program | <samp> | </samp> | none |
| Small Text | <small> | </small> | none |
| Spacer | <spacer> | </spacer> | type="horizontal/vertical/block" size="value" width="value" height="value" align="left/right/center" |
| Split Word (*if necessary) |
<wbr> | </wbr> | none |
| Strike Out | <s> <strike> |
</s> </strike> |
none |
| Subscript | <sub> | </sub> | none |
| Superscipt | <sup> | </sup> | none |
| Typewriter Text Fixed Font |
<tt> | </tt> | none |
| Underline | <u> | </u> | none |
| User Inputted Text | <kdb> | </kdb> | none |
| Variable Names | <var> | </var> | none |
| Table Tags | |||
|
Function
|
Starting Tag
|
Ending Tag
|
Attributes
|
| Begin and End Table | <table> | </table> | align="center/right" background="image" bgcolor="color" border="value" bordercolor="color" cellpadding="value" cellspacing="value" summary="text" width="value" |
| Table Row | <tr> | </tr> | align="center/right/justify" bgcolor="color" valign="top/middle/bottom/baseline" |
| Table Cell | <td> | </td> | align="center/right/justify" bgcolor="color" colspan="value" height="value" rowspan="value" valign="top/middle/bottom/baseline" width="value" |
| Table Body | <tbody> | </tbody> | align="center/right/justify" valign="top/middle/bottom/baseline" |
| Table Header | <thead> | </thead> | align="center/right/justify" valign="top/middle/bottom/baseline" |
| Table Header Cell | <th> | </th> | align="center/right/justify" bgcolor="color" colspan="value" height="value" rowspan="value" valign="top/middle/bottom/baseline" width="value" |
| Table Footer | <tfoot> | </tfoot> | align="center/right/justify" valign="top/middle/bottom/baseline" |
| Table Caption | <caption> | </caption> | align="top/bottom" |
| Table Column | <col> | </col> | align="center/right/justify" valign="top/middle/bottom/baseline" |
| Table Column Group | <colgroup> | </colgroup> | align="center/right/justify" valign="top/middle/bottom/baseline" |
| Frame Tags | |||
|
Function
|
Starting Tag
|
Ending Tag
|
Attributes
|
| Frame | <frame> | </frame> | border="value" frameborder="value" longdesc="URL" marginheight="value" marginwidth="value" noresize scrolling="yes/no/auto" src="location" |
| Individual Frameset | <frameset> | </frameset> | cols="value" rows="value" |
| Inline Subwindow | <iframe> | </iframe> | border="value" frameborder="value" longdesc="URL" marginheight="value" marginwidth="value" noresize scrolling="yes/no/auto" src="location" |
| No Frames Browser | <noframes> | </noframes> | none |
| Form Tags | |||
|
Function
|
Starting Tag
|
Ending Tag
|
Attributes
|
| Push Button | <button> | </button> | accesskey="character" disabled name="text" tabindex="value" type="button/submit/reset" value="text" |
| Form | <form> | </form> | accept-charset="charset" action="URL" method="post/get" enctype="encodingType" name="text" target="target" |
| Form Field Label | <label> | </label> | accesskey="character" for="value" |
| Fieldset Legend | <legend> | </legend> | accesskey="character" align="alignment" |
| Input Elements | <input> | </input> | accept="contentText" accesskey="character" align="alignment" alt="text" checked disabled maxlength="value" name="text" readonly size="value" src="URL" tabindex="value" type="type" usemap="URL" value="text" |
| Option Group | <optgroup> | </optgroup> | label="text" disabled |
| Option Tag | <option> | </option> | disabled label="text" selected value="text" |
| Select Box |
<select> | </select> | disabled multiple name="text" size="value" tabindex="value" |
| Textarea |
<textarea> | </textarea> |
name="text" cols="value" rows="value" wrap="physical/virtual" tabindex="value" |
| List Tags | |||
|
Function
|
Starting Tag
|
Ending Tag
|
Attributes
|
| Unordered List | <ul> | </ul> | type="square/circle/disc" compact |
| Ordered List | <ol> | </ol> | type="1,A,a,I,i" start="number" compact |
| List Item | <li> | </li> | type="type" |
| Definition List | <dl> | </dl> | compact |
| Definition Term | <dt> | </dt> | none |
| Definition | <dd> | </dd> | none |
| Menu | <menu> | </menu> | none |
| General Tags | |||
|
Function
|
Starting Tag
|
Ending Tag
|
Attributes
|
| Active X Objects | <object> | </object> | archive="URL" classid="ID" codebase="URL" codetype="type" data="URL" declare height="value" name="text" standby="text" tabindex="value" type="type" usemap="URL" vspace="value" width="value" |
| Applets | <applet> | </applet> | code="applet.class" codebase="URL" width="value" height="value" |
| Base | <base> | </base> | target="location" |
| Document Type | <!doctype> | none | none |
| External Styles | <link> | none | href="location" rel="stylesheet" |
| Index | <isindex> | none | none |
| META Tags | <META> | none | <META http-equiv="refresh" content="value;
url=URL"> <META NAME="Description" content="description"> <META NAME="Keywords" content="keywords"> |
| No Script | <noscript> | </noscript> | none |
| Object Parameters | <param> | </param> | name="text" id="ID" object type="type" value="value" valuetype="value" |
| Scripting | <script> | </script> | language="language" type="type" src="location" |
| Server Side Includes | <!--#include | --> | location |
| Styles | <style> | </style> | type="type" |