Sample <SAMP> text </SAMP> Renders text in a fixed width font dependent on browser presets. Most browsers use the same font for the KBD, SAMP, TT and CODE tags. Script <SCRIPT LANGUAGE="language"> content </SCRIPT> Identifies script code. Can either be code to be executed at this point or later in the document. Normally only Javascript although Explorer versions 3 onward recognise VBScript. Usually functions are defined within these tags in the HEAD of the document so that they can be called from anywhere on the page. Small Text <SMALL> text </SMALL> Renders text in a smaller than nornal style. White Space <SPACER attributes> Creates an area of white space within the document. The attributes for this tag are: TYPE="type" - one of HORIZONTAL, VERTICAL or BLOCK. SIZE="pixels" - use when TYPE is HORIZONTAL or VERTICAL to specify the size of the spacer in pixels. WIDTH="width" - use when TYPE is BLOCK to specify the width of the spacer in pixels. HEIGHT="height" - use when TYPE is BLOCK to specify the height of the spacer in pixels. ALIGN="align" - use when spacer is a BLOCK- one of LEFT, RIGHT, TOP, TEXTTOP, MIDDLE, ABSMIDDLE, BASELINE, BOTTOM, or ABSBOTTOM. Strikethrough <STRIKE> text </STRIKE> Renders text with a horizontal line through it. Strong <STRONG> text </STRONG> Strongly emphasized text, most browsers will display it in boldface. Subscript <SUB> text </SUB> Renders text smaller and lower on the line than usual. Superscript <SUP> text </SUP> Renders text smaller and higher on the line than usual. Table <TABLE attributes> all-table-content </TABLE> A table consists of an optional caption (CAPTION) and one or more rows (TR.) BORDER - the table is drawn with a border. BORDER="number" - the table is drawn with a border a number ofpixels thick. ALIGN="alignment" - aligns all the cells in a table to either LEFT, RIIGHT or CENTER. CELLPADDING="number" - separates the cell borders and the text with a padding in pixels. CELLSPACING="number" - separates cells with a gutter in pixels. WIDTH="number" - as a number of pixels or a percentage (using %) of available screen width . Table Body <TBODY> table body </TBODY> The TBODY tag is used to group together a number of rows within a table, for assigning ID or STYLE values. CLASS="type" - indicates the class that the element belongs too. ID="value" - specifies a unique value for the element over the docuement. STYLE="css" - attribute specifies the style information. Table Data <TD attributes> Valid only in a TR, the TD tag defines a table cell's contents. COLSPAN="number"the number of columns this cell occupies. ROWSPAN="number"the number of rows this cell occupies. NOWRAP - prevents word wrap within the cell. ALIGN="align" - aligns content to LEFT, RIGHT or CENTER. VALIGN="align" - aligns content to TOP, MIDDLE, BOTTOM, or BASELINE. Form Text Area <TEXTAREA NAME=name COLS=# columns ROWS=# rows> content </TEXTAREA> <TEXTAREA NAME=name COLS=# columns ROWS=# rows WRAP=type> content </TEXTAREA> The text area tag specifies a multiple line text area field within the form that contains it. The NAME attribute is a required field and is used to identify the data for the field. The COLS attribute specifies the width in characters of the text area. The ROWS attribute specifies the number of lines the text area contains. The content is used as an initial value for the field. The field can be scrolled beyond the COLS and ROWS size to allow for larger amounts of text to be entered. The WRAP attribute can have values of OFF, SOFT and HARD. The DISABLED attribute shows the field but will not allow the user to modify it. The ERROR attribute is used to supply an error message for the field. The ALIGN attribute is used to position the field and can be one of TOP, BOTTOM, MIDDLE, LEFT or RIGHT. Table Footer <TFOOT> Defines the table footer. The footer tag is used to group all footers. CLASS="type" - sets the class that the element belongs too. ID="value" - sets a unique value for the element over the document. STYLE="css" - specifies the style information Table Header <TH attributes> Valid only in a TR, the TH tag defines a header cell. COLSPAN="number"the number of columns this header occupies. ROWSPAN="number"the number of rows this header occupies. NOWRAP This attribute prevents word wrap within the cell. ALIGN="align" - sets the alignment of the text within the table cell.( LEFT, RIGHT or CENTER). VALIGN="align" - sets the alignment of the text within the table cell. (TOP, MIDDLE, BOTTOM, or BASELINE.) Table Head <THEAD> THEAD tag defines the table heading and is used to group all TH tags together. ALIGN="align" - sets the alignment of text in the heading( LEFT, RIGHT or CENTER).. CLASS="type" - sets the class that the element belongs too. ID="value" - sets a unique value for the element over the document. STYLE="css" sets the style information VALIGN="align" - sets the alignment of the text (TOP, MIDDLE, BOTTOM, or BASELINE.) Title <TITLE> title-text </TITLE> Only valid in a HEAD section, defines the title of an HTML document. Document titles are used in the browser title bar and in bookmark lists. Table Row <TR attributes> Valid only in a TABLE, the table row tag defines a row of cells that are set uot using TH and TD tags. ALIGN="align"- sets the alignment of the text within the table cell.( LEFT, RIGHT or CENTER) VALIGN="align"- sets the alignment of the text within the table cell.(TOP, MIDDLE, BOTTOM, or BASELINE) Teletype <TT> text </TT> Renders text in a fixed width font dependent on browser presets. Most browsers use the same font for the KBD, SAMP, TT and CODE tags. Underlined <U> text </U> Renders text with a line underneath it. Unordered List <UL> list items </UL> Introduces an unordered (bulleted) list made up of List Item (LI) tags. VERT - data is to go down the page and then wrap to the next column. HORIZ - data is to wrap across each row. Word Break <WBR> Sets a place where a word or line can be broken within a NOBR block. Example <XMP> text </XMP> Renders example text. It should no longer be used because of its poor handling of nested tags. Use PRE or SAMP instead. | Tag List <!-- &tag; A ADDRESS APPLET AREA B BASE BASEFONT BGSOUND BIG BLINK BLOCKQUOTE BODY BR CAPTION CENTER CITE CODE COL COLGROUP DD DFN DIR DL DT EM EMBED FONT FORM FRAME FRAMESET Hn HEAD HR HTML I IFRAME IMG INPUT TYPE=CHECKBOX INPUT TYPE=FILE INPUT TYPE=HIDDEN INPUT TYPE=IMAGE INPUT TYPE=PASSWORD INPUT TYPE=RADIO INPUT TYPE=RANGE INPUT TYPE=RESET INPUT TYPE=SCRIBBLE INPUT TYPE=SELECT INPUT TYPE=SUBMIT INPUT TYPE=TEXT ISINDEX KBD LI LINK LISTING MAP MARQUEE MENU META MULTICOL NOBR NOFRAMES OBJECT OL P PARAM PLAINTEXT PRE SAMP SCRIPT SMALL SPACER STRIKE STRONG SUB SUP TABLE TBODY TD TEXTAREA TFOOT TH THEAD TITLE TR TT U UL VAR WBR XMP Variable <VAR> text </VAR> Renders text often in italics depending on browser presets and should be used when representing a variable. |