This site should be viewed at 800 x 600 resolution or higher using IE. Get IE 5.5 SP1 from here, now!

Get Flash to view all elements of this site.


Computer users, check this out!







Here you can find all kinds of useful information on html tag elements, how and where they are used.
Last Update 06-16-03 




In these tag summary tables:

string       any alphanumeric string

URL         a Uniform Resource Locator for a resources

...             a series of elements

 value1|...   a series of possible values for attributes

n              a positive whole number

c              a character

color        the color of text or areas of a page; specified as #RRGGBB, where RR, GG, and BB are the hexadecimal digits specifying the Red, Green, and Blue values of the  color. The value of color attributes can also be specified by these color names: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow.

HTML Structure and Comment Elements

TAG (start...stop)





Identifies the file as containing HTML; only HEAD, BODY, and comment elements should go inside the HTML start and stop tags.



Where string identifies the version of HTML; for example: <HTML Version="-//IETF//DTD HTML 3.2//EN">

<!--- string -->


Comments that browsers shouldn't display (string) can  be included between these tags.


The HEAD and Related Elements

 TAG (start...stop)





brackets a set of unordered descriptive information about a document. Elements within the HEAD element include: TITLE, BASE, ISINDEX, STYLE, SCRIPT, LINK, META, and NEXTID

<TITLE> string </TITLE>

a string identifying the contents of the document; may not contain anchors, paragraph elements, or highlighting; every HTML must have one TITLE element.


used to record the URL of  the original version of a document; useful for when the source file is transported elsewhere




 marks the document as searchable--the server on which the document is located must have a search engine defined that supports this searching.


a way for the author of a document to define rendering information which will work with style sheets.


reserved for future use with scripting languages.


used to define a relationship between the document and other objects or documents.


this identifies the document or part of a document to which this link refers.


this is a way to name this LINK as a possible destination for another hypertext document;


similar to rel, above, but the rev attribute indicates the reverse relationship as Rel. For Example, the LINK with Rel="made" indicates that the Href attribute indicates the URL given in the Href is the author of the current document. Using the Rev="made" link indicates that the current document is the author of the URL given in the Href attribute.


indicates the Uniform Resource Name of the document; the specification for URN and other addressing is still in development (http://www.w3.org/hypertext/ Addressing/ Addressing.html).


this attribute is not to be used as a substitute for the TITLE attribute of the document itself, but as a title for the document given by the Href attribute of the LINK element. This attribute is rarely used or supported by browsers, but may have value for cross referencing the relationships the LINK element defines.


describes the HTTP methods the object referred to by the Href of the LINK element supports. For example, one method is searching; a browser could thus use this Methods attribute to give information to the user about the document defined by the LINK element.



used to identify meta-information (information about information) in the document. This element is not meant to take the place of elements which already have a specific purpose.


This attribute connects this META element to a particular protocol response which is generated by the HTTP server hosting the document.

equiv="refresh" Content="n"

browser will reload the currently displayed page after n seconds.

equiv="refresh" Content="n; Url=URL"

browser will load the document at URL after displaying the currently displayed page for n seconds.

Http-equiv="expires" Content="string-date"

an expiry date for files that are periodically updated. string-date could be, for example, "17-Jan-1999 15:00:00 GMT"


This attribute is a name for the information in the document--not the title of the document (which should be defined in the TITLE element) but a "meta name" classifying this information.


A "meta name" for the content associated with the given name (defined by the Name attribute) or the response defined in Http-equiv.



This element is used by text generated software in creating identifiers;


used to define the next identifier to be allocated by the text generator program. Normally, human writers of HTML don't use this element; and Web browsers ignore this element.


The BODY and Related Elements

TAG (start...stop)





delimit the content of an HTML document

Background = "URL"

the URL of the graphic that will be tiled as the background of the page


the color of the background of the page;


 the color of the document's text.


the color of the document's hotspots


the color of the document's visited links


the color of the document's hotspots during user selection



the anchor element which is used as the basis for linking documents together.


this attribute identifies the URL of the hypertext reference for this anchor in the form Href="URL", where the URL given will be the resource which the browser retrieves when the user clicks on the anchor's hotspot.


this attribute creates a name for an anchor; this name can then be used within the document or outside of the document in anchor to refer to the portion of text identified by the name.


this attribute is for the title of the document given by the Href attribute of the anchor. A browser could use this information to display this title before retrieving it, or to provide a title for the Href document when it is retrieved (e.g., if the document is at a FTP site, it will not have a title defined).


Defines the relationship defined from the current document to the target (Href document). See the discussion of the Rel attribute in the LINK element, above.


Defines the relationship defined from the target (Href document) to the current document. See the discussion of the Rev attribute in the LINK element, above.


This indicates the Uniform Resource Name of the target (Href) document; the specification for URN and other addressing is  still in development.


Provides information about the functions the user can perform on the Href object. Similar to described above for the Title attribute, this information might be useful for the browser to display in advance.


Character blocks: elements that "chunk" text in lists or blocks

TAG (start...stop)





used to define a block or paragraph



aligns the block or paragraph of text





sets up a block of text which will be presented in a fixed-width font, with spaces as significant.


brackets text that is an extended quotation from another source.


Lists for information; all use the LI element to identifiy the elements.

  • UL brackets an unordered list of items;
  • OL brackets an ordered list of items;
  • MENU brackets an unordered list of items;
  • DIR brackets a list of items which are at most 20 characters wide;


makes the list compact

Type="disc|circle|squar e"

defines the bullet type for a UL list;


defines the bullet type for a OL list; 1 (arabic numbers: 1, 2, 3, ...); a (lower alpha: a, b, c, ...) A (upper alpha: A, B, C, ...) i (lower roman: i, ii, iii, ...) I (upper roman: I, II, III, ...)


starts the OL list off with a sequence starting at N.



identifies a list element in UL, OL, MENU, DIR.


A definition list, or glossary; uses DT to identify terms and DD to identify definitions.


makes the list compact.



identifies term in definition list (DL).


identies description in definition list (DL).


ownership or authorship information, typically at the start or end of a document.



TAG (start...stop)





Level 1 Header


Level 2 Header


Level 3 Header


Level 4 Header


Level 5 Header


Level 6 Header



TAG (start...stop)





creates a horizontal rule.


 this attribute identifies the thickness of the line.


this attribute turns off shading to create a solid bar.

Width="n| n%"

this attribute identifies the width of the line, either expressed as width in pixels, or a relative with as a percent of the current display width (not page width). These lines are by default centered (default can be overridden with the Align attribute).

Align="left| right|  center"

specifies the alignment of horizontal lines that are less than the full width of the page.



identifies start of paragraph; the stop tag </P> is optional.


Align="center|right|left "

aligns a paragraph;



TAG (start...stop)





forces a linebreak. Typically, this is used to represent postal addresses or text; where linebreaks are significant.



TAG (start...stop)





centers text.



TAG (start...stop)





places graphic image in a document at the location of the element tag  (an "inline image").


identifies the source file of the image.


a string of characters can be defined that will be displayed in non-graphical browsers. Non-graphical browsers otherwise ignore the IMG element.

Align="top|middle|bott om|left|right"

sets the positioning relationship between the graphic and the text that follows it; values include:

  • top: the text following the graphic should be aligned with the top of the graphic.
  • middle: the text following the graphic should be aligned with the middle of the graphic.
  • bottom: the text following the graphic should be aligned with the bottom of the graphic.
  • left: the image is pushed to the left margin of the page.
  • right: the image is pushed to the right margin of the page.


defines the width of the image.


defines the height of the image.


defines the border above and below the image.


defines the vertical space around the image.


defines the horizontal space to the left and right of the image.


this attribute identifies the image as an image map, where regions of the graphic are mapped to defined URLs. Hooking up these relationships requires knowledge of setting an image map file on the server to define these  connections.


identifies which MAP element, as defined in the Name attribute, that you are using for a client-side image map.



define client-side image maps



string is the name you use as the value of the Usemap attribute of the corresponding IMG element.



defines correspondence between pixels and URLs in client side image map element MAP used in  conjunction with IMG


Shape="rect|poly|circle "

Sets the shape of the hotspot in the image

Shape="rect" Coords="left,top,right, bottom"

Sets the perimeter x-y coordinates of a rectangle

Shape="poly" Coords="x1,y1,x2,y2,... xn,yn""

Sets the border coordinates of a polygon

Shape="circle" Coords="x,y,r"

Sets the center (x, y) and radius (r) of a circle


Defines the URL associated with this AREA


Defines this AREA as a "deadspot," with not URL associated with it



define a figure



defines the source of the figure


Character formatting

TAG (start...stop)





delimits a citation.


delimits computer language source code.


delimits emphasized text.


 delimits text that is intended to be entered as a keyboard entry.


delimits text that should be rendered "as is."


delimits text with a strong emphasis.


delimits a variable name.


delimits the defining instance of an item.


delimits a short quote.


the human language currently defined.

<AU> string</AU>

the name of an author.


the name of an author.


an acronym in the document.


 inserted text (when documents are amended).


deleted text (when documents are amended).


delimits bold text.


delimits italics text.


delimits typewriter font text.


delimits underlined text.


big print relative to current font.


small print relative to current font.


a subscript.

<SUP> string</SUP>

a superscript.


changes the current font.


specifies the font size in the range 1-7.


specifies font size relative to the current base font size


specifies the font color; either RGB hexadecimal value or color name (see BODY attribute BGColor).

<FONT> string </BASEFONT>


changes the font for string.


 specifies the font size in the range 1-7.


specifies font size relative to the current base font size


specifies the font color; either RGB hexadecimal value or color name (see BODY attribute BGColor).


FORM Elements

TAG (start...stop)





delimits the content of a FORM.



this attribute identifies the URL of the program or script which accepts the contents of the form for processing. If this attribute is absent, the BASE URI of the Form is used.


this attribute indicates the variation in the Froms-handling protocol which will be used in processing the Action program or script.


this attribute identifies the media type (See RFC1590) that  will be used for encoding the name/value pairs of the Form's data. This is needed for when the protocol identified in Method does not have its own format. The default encoding for all Forms is application/x-www-form-urlenc oded.



used for collecting information from the user.

Align="top|middle|bott om"

this attribute is used used only with the image Type (see list below). Possible values are "top," "middle," and "bottom," and define the relationship of the image to the text following it.


this attribute causes the initial state of a checkbox or radio button to be "selected." Without this attribute, the initial state is unselected.


his attribute sets a maximum number of characters that a user can enter in a text a field. The default value of this is unlimited.


this attribute identifies the symbolic name that is used in transferring and identifying the output from this element of the Form.


this attribute specifies the field width as displayed to the user. If Size is less than Maxlength, the text field is scrollable.


this attribute the source file for the image used with the attribute Type is set to "image."

Type="checkbox| hidden| image| password| radio| reset| submit| text"

this attribute identifies the type of the input field:

  • checkbox: This is used for gathering data that can have multiple values at a time.
  • hidden: This is for values that are set by the  form without input from the user.
  • image: An image field be used to submit the Form: when the user clicks on the image, the Form is submitted, and the x and y coordinates of the click location are transmitted with the name/value pairs.
  • password: This is a field in which the user enters text, but the text is not displayed (could appear as stars).
  • radio: Used to collect information where there is one and only one possible value from a set of alternatives. The Checked  attribute can set the initial value of this element.
  • reset: This is used to reset and clear the Form to its default values. The Value attribute sets the string displayed to the user for this element.
  • submit: This button is used to submit the Form. The Value attribute sets the string displayed to the user for this element.
  • text: This is used for a single line of text; this uses the Size and Maxlength attributes. For multiple lines, use TEXTAREA (below).


this attribute identifies the input as a single line text-entry area.


this attribute sets the initial displayed value of the field or the value of the field when it is selected (the radio button type must have this attribute set).



 used for presenting a user with a choice of a set of alternatives. The OPTION element is used to define each alternative.


identifies the logical name that will be submitted and associated with the data as a result of the user choosing select.


By default, the user can only make one selection from the group in the SELECT element. By using the Multiple attribute, the user may select one or more of the OPTIONs.


specifies the number of visible items. If this is more than one, the visual display will be a list.



 occurs only within the SELECT element (above) and is used to represent each choice of the SELECT.


indicates that this option is initially selected.


If present, this is the value that will be returned by the SELECT if this option is chosen; otherwise, the value returned is that set by the OPTION element.



used to collect multiple lines of text from the user; the user is presented with a scrollable pane in which text can be written.


used to collect multiple lines of text from the user; the user is  presented with a scrollable pane in which text can be written.


the number of rows of text that will be displayed (the user can use more rows and scroll down to them).


the number of columns of text that will be displayed (the user can use more columns and scroll to the right to them).


TABLE and Related Elements

TAG (start...stop)





delimits the content of a TABLE.

 Align="bleedleft| left| center| right| bleedright| justify "

the horizontal alignment of the table on the screen (not the contents of the table). Possible values are:

  • bleedleft: aligned at the left window border
  • left: at the left text margin
  • center: centered between text margins
  • right: at the right text margin
  • bleedright:  aligned at the right window border
  • justify: table should fill space between text margins


this attribute causes browser to render a border around the table; if missing, the table has no grid around it or its data.


specifies the thickness of the table border in pixels.


specifies the space around data cells in pixels.


specifies the space data in the cells in pixels.


this attribute specifies how wide the table will be; if given as "N%", the width is N% of the width of the display.


a document-wide identifier for naming positions in the document as distinations for a hypertext link.

Class = "string"

A list of names that may be used by style sheets.

Lang = "string"

the natural (human) language used by the content of the table.


identifies the layout of rows--such as column 1 is on the right (Dir="rtl") or left (Dir="ltr"). Used for languages that have different directionality in reading (not left to right, top to bottom).

Align="left|center|right| justify|char"

the horizontal alignment of cell contents; justify is left; char is for aligning on a character


specifies the alignment character for use with Align="char";


the offset of the alignment character on each line.

Valign="top|middle|bot tom|baseline"

alignment of cell contents


the number of columns in the table; if present, the browser can render the table as the data is received;

Frame="(void| above| below| hsides| lhs| rhs| vsides| box| border"

which sides of the frame to render (void = none).

Rules="(none | groups | rows | cols | all")

where to draw the rules in the table interior.



contains the elements in each table row.

<TH> string</TH>

TH used to identify a heading in the table; TD used to identify data in the table.

Align="left| center| right| justify| decimal"

this attribute identifies horizontal alignment of the items in a table row.

Valign="top | middle | bottom| baseline"

this attribute identifies the vertical alignment of the items in a table cell.


this attribute identifies the number of columns the cell spans.


 this attribute identifies the number of rows the cell spans.


this attribute prevents the browser from wrapping the contents of the cell.




used to label a table or figure.

Align="top| bottom| left| right"

this attribute identifies the position of the caption relative to the table or figure.


Netscape Extension Elements

TAG (start...stop)





the message a user sees for a searchable index.



creates blinking text.

<LI> in <UL>

Type="disc|circle|squar e"

 changes shape of individual items in UL element

<LI> in <OL>


changes shape of individual items in OL element; A = capital letters; a = small letters; I = capital roman numerals; 1 = numbers (default)

<LI Value="n"> in <OL>


 changes value of item in OL element;



additions to the IMG element.

Align="left| right| top| texttop|  middle| absmiddle| baseline| bottom| absbottom"

specifies the placement of an image relative to the text following it.


Frame Elements (Netscape and Microsoft support)

TAG (start...stop)





container for frame elements; used instead of a body in a document

Rows="string,string,..s tring"

comma-separated list of values indicating the height of each of the rows. If a number, the row is that high in pixels; If a number followed by a %, the row gets that percent of the total window height; If a *, the row gets the remaining room; If a number followed by a *, that row gets that much more  share of the height;

Cols="string,string,..str ing"

comma-separated list of values indicating the height of each of the columns. The values are the same syntax as for the Rows attribute.

<FRAME> ... </FRAME>


this element identifies a single frame in a frameset


The url refers to the resource to be initially displayed in this frame.


assigns a name to the frame; this name then can be used in other documents in the Target attribute of the anchor element.


The number of pixels to add to the left and right of the contents of frame the frame.


The number of pixels to add to the top and bottom of the contents of frame the frame.

Scrolling="yes|no|auto "

yes = add scrollbars, even if they are not needed; no =  NEVER add scrollbars even if they are needed; auto = add scrollbars if they are needed; (default)


a flag that indicates the frame is not resizable by the user; Normally, a user can manually alter the size of the frame using "grab buttons" that appear on the  display of the frame. The Noresize attribute makes this resizing impossible.



this element brackets content that will be rendered by non-frame-enabled browsers.



lets you define in which frame the new content referenced in the anchor will be displayed when selected. Target has the possible values: name: a frame named in a FRAME element's Name attribute; _self: new document is displayed the in same frame as the anchor that loads it; this is the default; _parent: displays the new document in the parent frame; if no parent, same as _self; _top: displays the new document in the entire window; if no frames, same as _self; _blank: display the new document in a new, unnamed window;



lets you set the default target for every hypertext link in the document. Its possible values are the same as for the Target attribute of the A element.


Microsoft Internet Explorer Extension Elements

TAG (start...stop)





creates a scrolling text marquee

Align="top|bottom|mid dle"

alignment of marquee

Behavior="scroll|slide|a lternate"

(scroll = continous movement; slide = display once and then sit there; alternate = slide in and reverse out)


scroll direction


how many times to scroll


scrollrate in pixels/time


milleseconds between scroll movements


color of background behind text


width in pixels of marquee


height in pixels of marquee


pixels to leave as buffer left and right of marquee


pixels to leave as buffer above and below marquee



plays a soundtrack when the document is displayed


url of sound file


number of times to replay file"


new attributes for IMG element



URL of the AVI movie


when present, it adds "VCR-like" controls to the movie image.


number of times to play the movie

Start="mouseover|fileo pen"

when movie begins to play, fileopen is default.



new attributes for the BODY element


if present, this freezes the background image defined in Background to the browser window so that it does not scroll with the text.


pixels of buffer at top of page in browser window


pixels of buffer at the left of page in browser window



specifies the background color of the entire table



specifies the background color of the table row



specifies the background color of the table header


BGColor="color "

specifies the background color of the table data


Transition Descriptions

<META http-equiv=”Page-Enter” content=”RevealTrans (Duration=3, Transition=23)”>

<META http-equiv=”Page-Exit” content=”RevealTrans (Duration=2, Transition=23)”>

Just stick these tags between the <head>, </head> tags in your page & you are ready to go. To use a different transition effect switch the Transition value with one of these below.

    Transition Name

    Transition Value

    Box in


    Box out


    Circle in


    Circle out


    Wipe up


    Wipe down


    Wipe right


    Wipe left


    Vertical blinds


    Horizontal blinds


    Checkerboard across


    Checkerboard down


    Random disolve


    Split vertical in


    Split vertical out


    Split horizontal in


    Split horizontal out


    Strips left down


    Strips left up


    Strips right down


    Strips right up


    Random bars horizontal


    Random bars vertical




Additional Web Development Links

This web site is designed for high speed access users browsing with IE 4.0 or better.
Suggested Screen Resolution is 800x600 or higher.

[Graphic Design] [Email Me] [Computer Services] [Web Services] [Tech Support Request Form]