| Support: |
<ABBREV>text</ABBREV>
The abbreviation tag defines an abbreviation. It is typically displayed just like normal text, but is used by automatic indexers.
| Support: |
<ACRONYM>text</ACRONYM>
The acronym tag defines an acronym. It is typically displayed just like normal text, but is used by automatic indexers.
<ADDRESS>text</ADDRESS>
![]()
<ADDRESS NOWRAP>text</ADDRESS>
The address tag defines text that gives an address or other contact information. It is typically displayed in italics, slightly indented, and is used by automatic indexers. The NOWRAP attribute stops the browser from wrapping except where <BR>'s are.
<A NAME="anchor-name">"#anchor-name"
<A HREF=>link-text</A>url"
<A HREF=">link-text</A>url#anchor-name"
<A HREF=">link-text</A>
The anchor tag defines either a link or an anchor in a document. The anchor tag must contain either a NAME attribute or an HREF attribute, or both.
There are three optional attributes that are no longer commonly used with anchor, though they are used with LINK:
REF="relationship"- defines the relationship between this document and the
HREFURL.
REV="relationship"- defines the relationship between the
HREFURL and this document. (REVstands for reverse, because it is the reverse of theREFattribute.)
TITLE="document-name"- No longer commonly used, indicates the
TITLEof the document pointed to by theHREFURL.
Both Netscape and Explorer support the TARGET attribute as an extension. It is often used with frames, but frames are not required to use it.
![]()
![]()
TARGET="target window name"- Will load the document pointed to by HREF into the window specified by "target window name"
- The following are the predefined target names:
_blank- Will cause the link to be loaded into a new blank window.
_self- Will cause the link to be loaded into the same window the link was in.
_parent- Will cause the link to be loaded into the parent of this document.
_top- Will cause the link to be loaded into the full body of this window.
Anchors with a SHAPE attribute may appear inside FIG tags. These anchors are described with the FIG tag.
An anchor name can also be defined with the ID attribute in many other markup tags. For example, the source:
<P ID=jumppoint>This is a paragraph with a jump point defined in it.
defines an anchor called jumppoint at the start of the paragraph. Almost every element, including lists, list items, images, and headers, can have an ID attribute.
| Support: |
<AREA SHAPE="shape"ALT="text"CO-ORDS="co-ords"HREF="URL">
<AREA SHAPE="shape"ALT="text"CO-ORDS="co-ords"HREF="URL"TARGET="target window name>
<AREA SHAPE="shape"ALT="text"CO-ORDS="co-ords"NOHREF>
The area tag, valid only within a MAP, defines areas that act as hotspots within an image. Typically a map will have multiple AREA tags; if the user clicks at a location that is inside two or
more defined areas the one that appears first within the MAP entry is used.
The NOHREF attribute means that clicks here will not cause a link to be followed.
The SHAPE attribute can be one of RECT, CIRCLE, POLY or DEFAULT. CO-ORDS gives the co-ordinates, in pixels, measured from the upper left corner of the image, of the defining
points for the shape. For RECT these are left, top, right, bottom. For CIRCLE they are Xcentre, Ycentre, radius. For POLY they are x1, y1, x2, y2, ... xn, yn. The DEFAULT area, maps
all areas not already specified in another AREA tag and no co-ordinates are required.
If Target is specified then the document pointed to by HREF will be loaded into the window specified by "target window name". The following are the predefined target
names:
_blank- Will cause the link to be loaded into a new blank window.
_self- Will cause the link to be loaded into the same window the link was in.
_parent- Will cause the link to be loaded into the parent of this document.
_top- Will cause the link to be loaded into the full body of this window.
| Support: |
<AUTHOR>text</AUTHOR>text
<AU></AU>
The author tag defines text that names the author of a document. It is typically displayed just like normal text, but is used by automatic indexers.
| Support: |
<BGSOUND SRC="URL">
<BGSOUND SRC="URL"LOOP=n>
The background sound tag identifies a .wav, .au, or.mid resource that will be played when the page is opened. The optional LOOP attribute will cause the resource to be played n
times. LOOP="INFINITE" will cause the resource to be played continuously as long as the page is open.
| Support: |
<BANNERattributes</BANNER>
The banner element defines an image or block of text that does not scroll with the document and is displayed at the top of the screen as the user scrolls through the document. Details of the attributes are not yet available -- use a BANNER attribute in the LINK section of the HEAD.
<BASE HREF="base address">
![]()
![]()
<BASE TARGET="default target">
The base tag, which is valid only in the HEAD section, defines the base address of an HTML document, which is used to determine the full address of relative URL's that appear in the document. The typical use for this is to move an HTML document to another site without moving all the images and related documents with it: the base URL can be set to the directory where those images and documents remain. The "default target" will become the target for all links unless specified explicitly. The following are the predefined target names:
_blank- Will cause the link to be loaded into a new blank window.
_self- Will cause the link to be loaded into the same window the link was in.
_parent- Will cause the link to be loaded into the parent of this document.
_top- Will cause the link to be loaded into the full body of this window.
| Support: |
<BASEFONT SIZE=number>
The base font tag defines the base that relative FONT changes are based on. (Default is 3.)
| Support: |
<BIG>text</BIG>
The big text tag defines text that should be displayed in a larger font than usual.
| Support: |
<BLINK>text</BLINK>
The blink tag highlights the text by having it blink on and off.
<BLOCKQUOTE>text</BLOCKQUOTE>
![]()
<BQ>text</BQ>
![]()
<BQ CLEAR =attributes>text</BQ>
![]()
<BQ NOWRAP>text</BQ>
The block quote tag defines text that is quoted from elsewhere. Many browsers (including Netscape) display it in an indented block surrounded by blank lines. Other suggestions from the HTML 2.0 spec include displaying the text in italics or starting each line with the Usenet standard quote indicator, >. In HTML 3.0, the CLEAR attribute is used to position a quote after a graphic: it can be LEFT, RIGHT, or ALL and specifies which margin should be clear. The NOWRAP attribute stops the browser from wrapping except at a BR tag.
<BODY>document-body</BODY>
<BODY BACKGROUND="URL">document-body</BODY>
<BODY BGCOLOR="#rrggbb">document-body</BODY>
<BODY BGCOLOR="colorname">document-body</BODY>
<BODY TEXT="#rrggbb">document-body</BODY>
<BODY TEXT="colorname">document-body</BODY>
<BODY LINK="#rrggbb">document-body</BODY>
<BODY LINK="colorname">document-body</BODY>
<BODY ALINK="#rrggbb">document-body</BODY>
<BODY ALINK="colorname">document-body</BODY>
<BODY VLINK="#rrggbb">document-body</BODY>
<BODY VLINK="colorname">document-body</BODY>margin
<BODY LEFTMARGIN=
>document-body</BODY>margin
<BODY TOPMARGIN=
>document-body</BODY>document-body
<BODY BGPROPERTieS="FIXED">
</BODY>
The body tag introduces the body of the document. It should appear after the head section and occupy the remainder of the document.
![]()
The BACKGROUND attribute specifies an image file to use as the background for the page.
![]()
The BGCOLOR, TEXT, LINK, ALINK, and VLINK attributes specify the colours to be used for the background, text, links, active links, and visited links respectively. (An link is active
for the moment the user clicks on it, and changes colour to confirm it has been clicked.) rrggbb is a six digit hexadecimal number with the first two digits specifying the red value, the
middle two the green value, and the last two the blue value. Some sample colour values:
![]()
Colour names can be used wherever colours can be used: in the BGCOLOR, TEXT, LINK, ALINK,and VLINK attributes. Valid colours are: Aqua, Black, Blue, Fuchsia, Gray, Green,
Lime, Maroon, Navy, Olive, Purple, Red, Silver, Teal,Yellow, and White.
The LEFTMARGIN and TOPMARGIN attributes set the margin at the left and top of the document, in pixels.
The BGPROPERTIES attribute causes the background image (set with the BACKGROUND attribute) to remain fixed as the document scrolls: a watermark effect.
<B>text</B>
The bold tag defines text that should be shown in boldface. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag.
| Support: |
<CAPTION>text</CAPTION>
![]()
![]()
<CAPTION ALIGN=alignment>text</CAPTION>alignment
<CAPTION ALIGN=
>text</CAPTION>vertical-alignment
<CAPTION VALIGN=
>text</CAPTION>
The caption tag defines the caption of a figure or table. It is valid only within FIG or TABLE tags.
The ALIGN attribute arranges for the caption to be at the TOP or BOTTOM of the table or figure.
The ALIGN attribute sets the alignment of the caption within the table or figure border. It can be LEFT, RIGHT, or CENTER.
The VALIGN attribute arranges for the caption to be at the TOP or BOTTOM of the table or figure.
| Support: |
<CENTER>text</CENTER>
The center tag defines text that should be centered.
<CITE>text</CITE>
The citation tag defines text that cites a book or other work -- most browsers will display it in italics. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag.
<CODE>text</CODE>
The code tag defines text that should be shown in a fixed width font. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag.
Many browsers use the same font for the KBD, SAMP, TT and CODE tags. For many lines of fixed width text, with the line breaks and other whitespace specified by the page author, use
the PRE tag.
<!--comment text-->
The comment tag includes the actual comment text. Any instance of --> ends the comment. Whitespace may be included between the -- and the > but not between the <! and the first --.
| Support: |
<CREDIT>text</CREDIT>
The credit tag defines text that credits a figure or quote. It is valid only within FIG or BQ tags.
| Support: |
<DFN>text</DFN>
The definition tag defines text that defines a term -- many browsers will display it in italics, though others will ignore it. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag.
<DL>list entries</DL>list entries
<DL COMPACT></DL>term
<DT>
<DD>definition
The definition list tag introduces a definition list or glossary, which is made up of term (DT) and definition (DD) items. The </DT> and </DD> tags are optional. Typically the definitions are
indented under each term, with no blank lines around them. If COMPACT was specified (and the terms are short) the terms and definitions are on the same line. Do not use multiple DD
elements for the same DT -- instead use BR within the DD.
A list heading (LH) may be included before the first definition term.
| Support: |
<DEL>list entries</DEL>
The deleted text tag marks text that has been deleted, for example in a group authoring situation or a legal document.
<DIR>list entries</DIR>
![]()
<DIR COMPACT>list entries</DIR>
The directory list tag introduces a directory list, which is made up of List Item (LI) tags and does not include bullets or numbers before them. The items should be short so that they can
be arranged into columns. For a bulleted list use UL. For a numbered list use OL. For a list without bullets or numbers that is not arranged into columns use MENU. The COMPACT attribute
instructs the browser to reduce the space occupied by the list.
In HTML 3.0, the same effect can be achieved with <UL PLAIN WRAP=HORIZ>. The DIR tag will probably be obsolete some day, so use UL.
| Support: |
<DIV ALIGN=align>
![]()
<DIV CLASS=class>
![]()
<DIV CLASS=classNOWRAP>clear
<DIV =>lang
<DIV =>
LANG=iso
Indicates the ISO standard language. Enter the standard abbreviation to indicate the language of the element.
The division tag is used to divide a document up into different sections, such as chapters, sections, abstract, and appendix. The CLASS attribute specifies what section this is. The ALIGN
attribute can be one of LEFT, RIGHT, or CENTER. The NOWRAP attribute stops the browser from wrapping except where <BR>'s are included in the document.
| Support: |
<EMBEDattributes>alternate HTML</EMBED>
The embed element is used to embed a plugin into a document. The OBJECT tag can also be used to embed objects. The attributes of EMBED are:
SRC="URL"- "URL" identifies the location of the object to be embedded.
HEIGHT=number- This specifies the height of the object, according to the UNITS attribute.
WIDTH=number- This specifies the width of the object, according to the UNITS attribute.
UNITS=units- Here units is one of pixels, meaning the width and height are measured in pixels, or en, meaning the width and height are measured in en spaces.
NAME=text- This indicates the name used by other objects or elements to refer to this object.
"OPTIONAL PARAMETER"=value- This
specifies any parameters that are specific to the object. Put the name of the parameter in place of"OPTIONAL PARAMETER".
PALETTE=#rgb|#rgb- Sets the foreground or background color. The first colour is the foreground.
<EM>text</EM>
The emphasized tag defines text that should be emphasized -- most browsers will display it in italics. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag.
<
>
&
"
 
®
©
&ensp
&emsp
&endash
&emdash
These escape sequences are used to enter characters such as <, >, &, and " into HTML documents. The mnemonics of the original four sequences from HTML 2.0 stand for Less
Than, Greater Than, AMPersand, and double QUOTe. HTML 3.2 adds NonBreaking SPace, REGistered trademark and COPYright. HTML 3.0 adds EN SPace, EM SPace, EN
DASH, and EM DASH. There are a number of escape sequences available for accented characters; a full list is provided by the World Wide Web Consortium (W3C.) Use a space or
semi-colon(;) after the mnemonic to indicate the end of the escape sequence; using a space will insert a space between the special character and the next part of the text, while using a
semi-colon will not.
<XMP>text</XMP>
The example tag introduces example text. Because of the way this tag handles embedded tags, it should no longer be used. PRE or SAMP are better choices.
| Support: |
<FIGattributes>figure-content</FIG>
See the OBJECT and MAP tags for an alternate to this tag.
The figure element is an improvement over the inline image used in HTML 2.0 for a variety of reasons. The text used to describe the figure for non-graphical browsers can contain
markup tags, and a separate credit and caption will be displayed by both graphical and non-graphical browsers. It also makes imagemaps much easier to code and independent of the
server. At the moment it isn't clear whether the built-in image maps of FIG or the client-side image maps of IMG with a USEMAP attribute will emerge as the long term alternative to server
side image maps. The attributes of FIG are:
SRC="URL"- "URL" identifies the image source, typically a GIF or JPEG file.
ALIGN="alignment"- "alignment" should be one of TOP, MIDDLE, or BOTTOM. This causes the top, middle, or bottom of the image to be aligned with the text on the line containing the IMG tag.
"alignment" should be one of LEFT, RIGHT, TOP, TEXTTOP, MIDDLE, ABSMIDDLE, BASELINE, BOTTOM, or ABSBOTTOM.
HEIGHT=number- This specifies the height of the image, according to the UNITS attribute.
WIDTH=number- This specifies the width of the image, according to the UNITS attribute.
UNITS=units- Here units is one of pixels, meaning the width and height are measured in pixels, or en, meaning the width and height are measured in en spaces. These units are not used for the shape co-ordinates of any anchor tags in the figure.
NOFLOW- Stops text from flowing around the figure.
IMAGEMAP="URL"- Points to a script that handles clicks and drags.
The figure-content contains the following optional elements, in this order:
<OVERLAYSRC="url">
<CAPTION>caption-text</CAPTION>Figure description text, including markup (headers, lists, etc.) to substitute for the image.
<ASHAPE="shape">link-text</A>
<CREDIT>credit-text</CREDIT>
The SHAPE attribute is one of:
This implements a figure with a built-in imagemap, freeing the browser from asking the server how to respond to a click. If the user clicks within the area defined by the anchor's SHAPE attribute, the link is followed. (If the click is outside all the defined shapes, the link identified as default is followed.) The numerical values provided are interpreted as pixels if they are integers, or as fractions of the screen width if they are not integers, with the origin at the top left corner of the figure. There is an intelligent mechanism for dealing with a click in an area that is in more than one shape anchor. If the browser does not display graphics, the figure description text is displayed, and some of it is highlighted as link text.
| Support: |
<FONT SIZE=number>
<FONT COLOR="#RRGGBB">
<FONT COLOR="colorname">
![]()
<FONT FACE="facename1, facename2...">
The font tag defines text with a smaller or larger font than usual. The normal font size corresponds to 3; smaller values of number will produce a smaller font, and larger values of number will produce a larger font. If number has a sign (for example +1), the font will be changed relative to the BASEFONT.
The COLOR attribute allows you to change the colour of the text. rrggbb is a six digit hexadecimal number with the first two digits specifying the red value, the middle two the green value, and the last two the blue value. Some sample colour values:
Colour names can also be used in the COLOR attribute. Valid colours are: Aqua, Black, Blue, Fuchsia, Gray, Green, Lime, Maroon, Navy, Olive, Purple, Red, Silver, Teal,Yellow, and
White.
![]()
The FACE attribute specifies the face to be used, such as Arial or Courier. If multiple names are specified, the first one listed that is installed on the client machine is used.
| Support: |
<FN ID=anchor-name>text</FN>
The footnote tag defines a footnote, ideally displayed in a pop-up window. The text that refers to this footnote does so with a standard anchor tag using anchor-name.
<FORM ACTION=action base>form tags</FORM>method
<FORM METHOD=>form tags</FORM>media type
<FORM ENCTYPE=>form tags</FORM>
![]()
![]()
<FORM ACTION=action baseTARGET="target window name">form tags</FORM>URL
<FORM SCRIPT=
>form tags</FORM>
The form tag introduces a form, which is made up of INPUT elements, described in the sections that follow. A form may be inside structural HTML tags and may also contain structural
tags. Using tables and other elements a form can take on various shapes and looks.
The ACTION attribute defaults to the document's base address.
The METHOD attribute can be GET or POST. GET specifies a query form, used to get data from a server. POST specifies a form that gives information to the server and perhaps causes a
database to be updated or a message to be sent.
The SCRIPT attribute points to a script to be run. The browser must be able to run the type of script that is specified.
The default media type is 'application/x-www-form-urlencoded', which specifies how the browser puts the user responses on the form together to form a response URL that is then
submitted to the server. For more on the CGI compliant scripts that process the form, check the CGI documentation.
If Target is specified then the output document will be loaded into the window specified by "target window name". The following are the predefined target names:
_blank- Will cause the link to be loaded into a new blank window.
_self- Will cause the link to be loaded into the same window the link was in.
_parent- Will cause the link to be loaded into the parent of this document.
_top- Will cause the link to be loaded into the full body of this window.
<INPUT TYPE=CHECKBOX NAME=nameVALUE=value>name
<INPUT TYPE=CHECKBOX NAME=VALUE=valueCHECKED>
The checkbox type input tag specifies a boolean choice within the form that contains it. If more than one checkbox appears in the form with the same name the user can select none, one or several of the choices. The NAME attribute is a required field and is used to identify the data for the field. The VALUE attribute specifies the value that is returned if the box is checked. If the CHECKED attribute is specified, the box is initially selected.
The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. 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.
| Support: |
<INPUT TYPE=FILE NAME=nameACCEPT=mime type list>
The file type input tag allows the user to attach one or more files to the form for submission. The NAME attribute is a required field and is used to identify the data for the field. The ACCEPT attribute is a list of mime types that will be accepted. (e.g. "image/*" or "image/gif, image/jpeg").
The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. 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.
<INPUT TYPE=HIDDEN NAME=nameVALUE=value>
The hidden type input tag specifies a hard coded name-value pair within the form. This field is not displayed to the user. Both NAME and VALUE are required attributes.
The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. 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.
<INPUT TYPE=IMAGE NAME=nameSRC="URL">
![]()
<INPUT TYPE=IMAGE NAME=nameSRC="URL"ALIGN="alignment">
The image type input tag specifies an image to be presented to the user. As soon as the user clicks on the image, the form is submitted with the selected x y coordinates of the spot on the image and the data for the other form fields. The NAME attribute is a required field and is used to identify the data for the field. The SRC and ALIGN attributes are the same as in the Inline Image tag.
The ALIGN attribute is used for image alignment and can be one of TOP, BOTTOM, MIDDLE, LEFT or RIGHT.
The 3.0 specification added two new attributes: DISABLED, and ERROR. 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.
<INPUT TYPE=PASSWORD NAME=name>name
<INPUT TYPE=PASSWORD NAME=MAXLENGTH=length>name
<INPUT TYPE=PASSWORD NAME=SIZE=size>name
<INPUT TYPE=PASSWORD NAME=VALUE=value>
The password type input tag specifies a single line text entry field within the form that contains it. The value entered by the user will be obscured as it is entered. The NAME attribute is a required field and is used to identify the data for the field. The MAXLENGTH attribute specifies the number of characters that can be entered into this field. If MAXLENGTH is not specified then there is no limit on the number of characters entered. If MAXLENGTH is longer than SIZE then the text field will scroll appropriately. The SIZE attribute specifies the amount of display space this field should take up. The default for SIZE will vary by browser. The VALUE attribute specifies the initial value of the field.
The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. 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..
<INPUT TYPE=RADIO NAME=nameVALUE=value>name
<INPUT TYPE=RADIO NAME=VALUE=valueCHECKED>
The radio button type input tag allows a choice among a number of options. Normally more than one radio button will appear in the form with the same name. The user can then select only one of the of the choices. The NAME attribute is a required field and is used to identify the data for the field. If one of the choices has the CHECKED attribute it will initially be selected. If none of the choices has the CHECKED attribute then the first one defaults as initially selected. The VALUE attribute specifies the value that is returned if the box is checked.
The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. 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.
| Support: |
<INPUT TYPE=RANGE NAME=nameMIN=minMAX=max>name
<INPUT TYPE=RANGE NAME=MIN=min> MAX=maxVALUE=value>
The range type input tag allows the user to enter an number restricted to a set range. The NAME attribute is a required field and is used to identify the data for the field. The MIN and MAX attributes specify the minimum and maximum values that can be entered. If either MIN or MAX is a real number then the user can enter real numbers, otherwise only integers can be entered. The VALUE attribute specifies an initial value and should be in the range specified.
The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. 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.
<INPUT TYPE=RESET>
The reset type input tag specifies a button. When the user clicks the button, all the fields in the form are reset to their initial values.
The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. 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.
| Support: |
<INPUT TYPE=SCRIBBLE NAME=nameSRC=URLVALUE=text>
The scribble type input tag allows the user draw on a predefined image. The NAME attribute is a required field and is used to identify the data for the field. The SRC attribute specifies the
URL of the image. The VALUE attribute specifies a text string that is used as an alternate if images or scribbling are not supported by the browser.
The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. 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.
<INPUT TYPE=SUBMIT>name
<INPUT TYPE=SUBMIT NAME=>value
<INPUT TYPE=SUBMIT VALUE=>
The submit type input tag specifies a button. When the user clicks the button, the form is submitted. The NAME attribute is used to identify the data for the field. If no NAME attribute is given then this element does not form part of the submitted response. The VALUE attribute specifies the label for the button.
The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. 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.
<INPUT TYPE=TEXT NAME=name>name
<INPUT TYPE=TEXT NAME=MAXLENGTH=length>name
<INPUT TYPE=TEXT NAME=SIZE=size>name
<INPUT TYPE=TEXT NAME=VALUE=value>
The text type input tag specifies a single line text entry 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 MAXLENGTH attribute specifies the number of characters that can be entered into this field. If MAXLENGTH is not specified then there is no limit on the number of characters entered. If MAXLENGTH is longer than SIZE then the text field will scroll appropriately. The SIZE attribute specifies the amount of display space this field should take up. The default for SIZE will vary by browser. The VALUE attribute specifies the initial value of the field.
The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. 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.
<SELECT NAME=name>option entries</SELECT>name
<SELECT NAME=MULTIPLE>option entries</SELECT>name
<SELECT NAME=SIZE=size>option entries</SELECT>name
<SELECT NAME=
SRC=URLWIDTH=widthHEIGHT=heightUNITS=units>option entries</SELECT>content
<OPTION>content
<OPTION SELECTED>value
<OPTION VALUE=>contentshape
<OPTION SHAPE=
>
The select tag specifies a multiple line selection box field within the form that contains it. The user can select one or more lines if the attribute MULTIPLE is specified. The NAME attribute is
a required field and is used to identify the data for the field. The SIZE attribute specifies the number of lines of selections that are to be displayed.
The SELECTED attribute of the option tag specifies that the option is to be initially selected. The VALUE attribute specifies the value to be returned if this option is selected. If the VALUE
attribute is not specified the content of the option is used.
The select tag's SRC, WIDTH, HEIGHT, and UNITS attributes and the option tag's SHAPE attribute define an image map. These attributes are the same as the ones described in the
Figure tag.
The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. 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.
<TEXTAREA NAME=nameCOLS=# columnsROWS=# rows>content</TEXTAREA>name
<TEXTAREA NAME=COLS=# columnsROWS=# rowsWRAP=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 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. 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.
| Support: |
<FRAMEattributes>
The frame tag appears inside the FRAMESET tag and specifies one frame in the frameset. The attributes are:
SRC="URL"- The URL of the source document to be displayed in this frame. If the frame does not specify a source it will be displayed as blank space.
NAME="window name"- Here "window name" is the name associated with this frame. It can be used by the TARGET attribute in the A, BASE, AREA, and FORM tags to target this frame.
MARGINWIDTH=number- Here number is the left and right margin thickness in pixels.
MARGINHEIGHT=number- Here number is the top and bottom margin thickness in pixels.
SCROLLING=type- Here type is one of yes, no or auto. It specifies if the frame is to have a scroll bar: auto (the default) means the browser will decide.
NORESIZE- Stops the user from resizing the frame..
FRAMEBORDER=yes|no- Specifies if the border should be displayed.
FRAMESPACING=number- Here number is the spacing between frames in pixels.
![]()
ALIGN ="alignment" (one of LEFT, RIGHT, TOP, TEXTTOP, MIDDLE, ABSMIDDLE, BASELINE, BOTTOM, or ABSBOTTOM.)
| Support: |
<IFRAME attributes> frame data <IFRAME>
The IFRAME tag defines a floating frame, and the end tag is required. The attributes for IFRAME are as follows:
ALIGN=left|center|top|bottom- This sets the alignment of the frame or of the surrounding text. The default is
LEFT.FRAMEBORDER=1|0Renders a 3-D edge border around the frame. 1 (default) inserts a border. 0 displays no border.
HEIGHT=heightControls the height (in pixels) of the floating frame.
MARGINHEIGHT=heightControls the margin height for the frame, in pixels.
MARGINWIDTH=widthControls the margin width for the frame, in pixels.
NAME=nameProvides a target name for the frame.
SCROLLING=yes|noCreates a scrolling frame.
SRC=address- Displays the source file for the frame.
WIDTH=widthControls the width of the floating frame, in pixels.
| Support: |
<FRAMESETattributes>frame tags</FRAMESET>
The FRAMESET tag replaces the BODY tag in a document and is used to split the documents window into a set of smaller frames. FRAMESET tags can be nested to create more
complicated frame layouts. NOFRAME tags can also be placed in a frameset. The attributes are:
ROWS="row heights"- Here "row heights" specifies a list of values for the rows, each one can be specified as a percentage, a pixel value or as "*". The frameset will be split vertically into frames based on these values. Rows with "*"'s in them will have any remaining space split between them.
COLS="column widths"- Here "column widths" specifies a list of values for the columns. The width of each column can be specified as a percentage, a pixel value or as "*". The frameset will be split into frames based on these values. Columns with a width of "*" will split the space that is not assigned to other columns.
<HEAD>head-section</HEAD>
The head tag introduces text that describes an HTML document. Most documents have only a TITLE tag in the head section.
<H1>text</H1>
<H1 ALIGN=alignment>text</H1>"URL"
<H1 SRC=
>text</H1>"entity-name"
<H1 DINGBAT=
>text</H1>text
<H1 NOWRAP>
</H1>clear
<H1 CLEAR=
>text</H1>
The heading 1 tag defines a level 1 heading. It is typically shown in a very large bold font with several blank lines around it, and is used by automatic indexers to describe a page.
The alignment attribute can be LEFT, RIGHT, or CENTER -- it defines the placement of the header on the screen. The SRC attribute identifies a graphic image to be embedded before
the header text, while the DINGBAT attribute identifies an iconic entity to be embedded there. The clear attribute is used to position a header after a graphic: it can be LEFT, RIGHT, or
ALL and specifies which margin should be clear. The NOWRAP attribute prevents the browser from breaking long header lines; use a BR tag to break those lines yourself.
<H2>text</H2>
<H2 ALIGN=alignment>text</H2>"URL"
<H2 SRC=
>text</H2>"entity-name"
<H2 DINGBAT=
>text</H2>text
<H2 NOWRAP>
</H2>clear
<H2 CLEAR=
>text</H2>
The heading 2 tag defines a level 2 heading. It is typically shown in a large bold font with several blank lines around it.
The alignment attribute can be LEFT, RIGHT, or CENTER -- it defines the placement of the header on the screen. The SRC attribute identifies a graphic image to be embedded before
the header text, while the DINGBAT attribute identifies an iconic entity to be embedded there. The clear attribute is used to position a header after a graphic: it can be LEFT, RIGHT, or
ALL and specifies which margin should be clear. The NOWRAP attribute prevents the browser from breaking long header lines; use a BR tag to break those lines yourself.
<H3>text</H3>
![]()
<H3 ALIGN=alignment>text</H3>"URL"
<H3 SRC=
>text</H3>"entity-name"
<H3 DINGBAT=
>text</H3>text
<H3 NOWRAP>
</H3>clear
<H3 CLEAR=
>text</H3>
The heading 3 tag defines a level 3 heading. It is typically shown in a large italic font, slightly indented, with blank lines around it.
The alignment attribute can be LEFT, RIGHT, or CENTER -- it defines the placement of the header on the screen. The SRC attribute identifies a graphic image to be embedded before
the header text, while the DINGBAT attribute identifies an iconic entity to be embedded there. The clear attribute is used to position a header after a graphic: it can be LEFT, RIGHT, or
ALL and specifies which margin should be clear. The NOWRAP attribute prevents the browser from breaking long header lines; use a BR tag to break those lines yourself.
<H4>text</H4>
![]()
<H4 ALIGN=alignment>text</H4>"URL"
<H4 SRC=
>text</H4>"entity-name"
<H4 DINGBAT=
>text</H4>text
<H4 NOWRAP>
</H4>clear
<H4 CLEAR=
>text</H4>
The heading 4 tag defines a level 4 heading. It is typically shown in a bold font, indented more than an level 3 heading, with blank lines around it.
The alignment attribute can be LEFT, RIGHT, or CENTER -- it defines the placement of the header on the screen. The SRC attribute identifies a graphic image to be embedded before
the header text, while the DINGBAT attribute identifies an iconic entity to be embedded there. The clear attribute is used to position a header after a graphic: it can be LEFT, RIGHT, or
ALL and specifies which margin should be clear. The NOWRAP attribute prevents the browser from breaking long header lines; use a BR tag to break those lines yourself.
<H5>text</H5>
![]()
<H5 ALIGN=alignment>text</H5>"URL"
<H5 SRC=
>text</H5>"entity-name"
<H5 DINGBAT=
>text</H5>text
<H5 NOWRAP>
</H5>clear
<H5 CLEAR=
>text</H5>
The heading 5 tag defines a level 5 heading. It is typically shown in an italic font, indented the same as a level 4 heading, with a blank line above it.
The alignment attribute can be LEFT, RIGHT, or CENTER -- it defines the placement of the header on the screen. The SRC attribute identifies a graphic image to be embedded before
the header text, while the DINGBAT attribute identifies an iconic entity to be embedded there. The clear attribute is used to position a header after a graphic: it can be LEFT, RIGHT, or
ALL and specifies which margin should be clear. The NOWRAP attribute prevents the browser from breaking long header lines; use a BR tag to break those lines yourself.
<H6>text</H6>
![]()
<H6 ALIGN=alignment>text</H6>"URL"
<H6 SRC=
>text</H6>"entity-name"
<H6 DINGBAT=
>text</H6>text
<H6 NOWRAP>
</H6>clear
<H6 CLEAR=
>text</H6>
The heading 6 tag defines a level 6 heading. It is typically shown in a normal font, indented more than a level 5 heading, with a blank line above it.
The alignment attribute can be LEFT, RIGHT, or CENTER -- it defines the placement of the header on the screen. The SRC attribute identifies a graphic image to be embedded before
the header text, while the DINGBAT attribute identifies an iconic entity to be embedded there. The clear attribute is used to position a header after a graphic: it can be LEFT, RIGHT, or
ALL and specifies which margin should be clear. The NOWRAP attribute prevents the browser from breaking long header lines; use a BR tag to break those lines yourself.
<HR>
![]()
<HR SRC="URL">
![]()
<HR SIZE=number>
![]()
<HR WIDTH=number%>
![]()
<HR ALIGN=alignment%>
![]()
<HR NOSHADE>
![]()
<HR COLOR="colorname">
The horizontal rule tag causes a horizontal line to be drawn across the screen. There is no </HR> tag.
The attributes allow you to specify the thickness of the line (in pixels) with the SIZE attribute. The WIDTH attribute governs what percentage of the screen width is occupied by the rule. The ALIGN attribute aligns a rule that is smaller than the screen: alignment can be LEFT, RIGHT, or CENTER. The NOSHADE attribute prevents the browser from using any shading or three dimensional effects.
The COLOR attribute allows you to change the colour of the text. rrggbb is a six digit hexadecimal number with the first two digits specifying the red value, the middle two the
green value, and the last two the blue value. Some sample colour values:
Colour names can also be used in the COLOR attribute. Valid colours are: Aqua, Black, Blue, Fuchsia, Gray, Green, Lime, Maroon, Navy, Olive, Purple, Red, Silver, Teal,Yellow, and White
The SRC attribute specifies an image file to be used for the rule.
| Support: |
<TAB INDENT=number>tab id
<TAB TO=ALIGN=align>character
<TAB DP=>
The horizontal tab tag is used to set or jump to a horizontal tab. The INDENT attribute specifies the amount in en spaces to set this indent to. The align attribute can be one of LEFT, RIGHT, CENTER, or DECIMAL and will position the following text to the tab accordingly. The dp sets the tab to the position that the next character is found The default character is ".".
<HTML>entire-document</HTML>
The HTML tag defines an HTML document. The <HTML> tag should be the first in the entire document, and the </HTML> tag should be the last.
<IMGattributes>
The inline image tag displays an image referred to by a URL. It must contain at least an SRC attribute. The attributes are:
ALIGN="alignment"- Here "alignment" should be one of TOP, MIDDLE, or BOTTOM. This causes the top, middle, or bottom of the image to be aligned with the text on the line containing the IMG tag.
"alignment" can also be LEFT or RIGHT, this moves the image to the left or right of the screen and allows text to flow around it.
"alignment" should be one of LEFT, RIGHT, TOP, TEXTTOP, MIDDLE, ABSMIDDLE, BASELINE, BOTTOM, or ABSBOTTOM.
ALT="text"- Here "text" is the text to be displayed by a browser that does not display images, such as Lynx, or to be used when image display is suppressed.
![]()
BORDER=number- Here number is the border thickness in pixels. (Do not use BORDER=0 for images that are links.)
![]()
CONTROLS- If present, and an AVI resource is being played, displays controls under the resource.
![]()
DYNSRC="url"- Specifies an AVI resource to be played, or a VRML world. Always include a still image as well with the
SRCattribute, for use by browsers that do not display inline video or VRML.
![]()
HEIGHT=number- This specifies the height of the image, according to the UNITS attribute.
![]()
HSPACE=number- Here number is the space, in pixels, to leave to the left and right of the image.
ISMAP="url"- This attribute indicates that this image is a server side image map.
![]()
LOOP=number- The optional
LOOPattribute will cause the resource to be played number times.LOOP="INFINITE"will cause the resource to be played continuously as long as the page is open.
![]()
LOWSRC="url"- Specifies an image to be displayed while the SRC image is being loaded. This alternate image should take much less time to download then the SRC image: it should be lower resolution, black and white, etc.
![]()
START="start option"- The
STARTattribute specifies when the browser should start to play the resource specified with theDYNSRCattribute.START=FILEOPENinstructs the browser to play the resource only when the file is opened.START=MOUSEOVERinstructs the browser to play the resource each time the user moves the mouse cursor over it.START=FILEOPEN,MOUSEOVERdoes both.
SRC="URL"- Here "URL" identifies the image source, typically a GIF or JPEG file.
![]()
UNITS=units- Here units is one of pixels, meaning the width and height are measured in pixels, or en, meaning the width and height are measured in en spaces.
![]()
USEMAP="url"- This attribute overrides the
ISMAPattribute, if present, and if the browser supports client-side image maps. It uses theMAPelement found at url to translate clicks.
![]()
WIDTH=number- This specifies the width of the image, according to the UNITS attribute.
![]()
VSPACE=number- Here number is the space, in pixels, to leave above and below the image.
| Support: |
<INS>text</INS>
The inserted text tag marks text that has been inserted, for example in a group authoring situation or a legal document.
<ISINDEX>URL
<ISINDEX HREF=
>
![]()
<ISINDEX PROMPT=prompt>
The isindex tag, which is only valid in a HEAD section, declares that the current HTML document is a searchable index. The user will be prompted for keywords to search for. A new URL will be formed by taking the base address of the current document and adding a '?' character to it, followed by the keywords separated by '+' characters. The URL attribute overrides the base address. The prompt attribute changes the prompt from the default one supplied by the browser.
<I>text</I>
The italic tag defines text that should be shown in italics. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag.
| Support: |
<APPLETattributes>applet-content</APPLET>
The Java applet tag runs a Java applet referred to by a URL. applet-content consists of optional PARAM tags, ordinary text and markup to be displayed by browsers that cannot run Java applets, and a TEXTFLOW tag if no ordinary text and markup is included. The attributes of the APPLET tag are:
CODEBASE="base"- What "base" should be used when resolving source relative URLs.
CODE="code"- The URL of the applet to be run.
NAME="applet name"- The name of the applet.
ALIGN="alignment"- Here "alignment" should be one of LEFT, RIGHT, TOP, MIDDLE, or BOTTOM.
ALT="text"- Here "text" is the text to be displayed by a browser that does not support applets.
HEIGHT=number- The height of the applet display area in pixels.
WIDTH=number- The width of the applet display area in pixels.
HSPACE=number- The space, in pixels, to leave to the left and right of the applet display area.
VSPACE=number- The space, in pixels, to leave above and below the applet display area.
DOWNLOAD=number- This specifies the order in which they are downloaded.
HEIGHT=pixels- Specifies the height of the applet display area.
HSPACE=pixels- Specifies the horizontal space in which the applet displays.
NAME=name- Identifies an applet to other applets within the HTML page.
TITLE=text- Specifies an advisory title string.
| Support: |
<TEXTFLOW>
If an APPLET element has no ordinary text and markup in its applet-content, and contains only PARAM tags, comments, and whitespace, you should add a TEXTFLOW tag. This tag will be ignored by Web browsers but will keep SGML parsers happy.
<KBD>text</KBD>
The keyboard tag defines text that should be shown in a fixed width font. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag.
Many browsers use the same font for the KBD, SAMP, TT and CODE tags. For many lines of fixed width text, with the line breaks and other whitespace specified by the page author, use
the PRE tag.
| Support: |
<LANG>text</LANG>
The language tag is used to alter the language used for a block of text.
<LINK REL=relationshipHREF="URL">relationship
<LINK REV=HREF="URL">
<LINK REV=relationshipHREF="URL"TITLE="title">
The link tag appears within the HEAD section of a document. It has all the same attributes as the anchor tag. The main 3 attributes used are REL, REV and HREF. The REL attribute specifies the relationship between this document and the link. The REV attribute specifies a reverse relationship while the HREF attribute specifies the URL of the link. The following is a list of some of the current relationships. The TITLE attribute specifies an advisory title string.
Browsers use this tag to build custom toolbars for the document.
REL=Home REL=ToC REL=Index REL=Glossary REL=Copyright REL=Up REL=Next REL=Previous REL=Help REL=Bookmark TITLE attribute is used to label the bookmark. REL=Banner REL=StyleSheet
<BR>
<BR CLEAR>
<BR CLEAR="type">
The line break tag breaks the current line of text. It's not necessary inside a PRE element. There is no </BR> tag. The CLEAR attribute type can be LEFT to break until there is nothing to the left, RIGHT for the right side, all for break until both sides are clear, and NONE for a normal break.
| Support: |
<LH>text</LH>
The list heading tag defines the heading for an ordered, unordered, or definition list. Other tags may be embedded in a list heading. It must come before any List Item (LI) or Definition Term (DT) tags in the list.
<LI>text</LI>URL
<LI SRC=
>text</LI>"entity-name"
<LI DINGBAT=
>text</LI>number
<LI SKIP=
>text</LI>
![]()
<LI TYPE=type>text</LI>
![]()
<LI VALUE=number>text</LI>
The list item tag defines one entry in an ordered, unordered, menu, or directory list. Other tags may be embedded in a list item.
The SRC attribute uses the image specified by the URL as the bullet for this item. The DINGBAT attribute identifies an iconic entity for the bullet. The SKIP attribute is used with
ordered lists to skip forward in the count.
The TYPE attribute changes the bullet or numbering style for this item. type has the same values as it would in the OL or UL tag. The VALUE attribute resets the sequence number to
number.
<LISTING>text</LISTING>
The listing tag introduces a program listing. Because of the way this tag handles embedded tags, it should no longer be used. PRE is a better choice.
| Support: |
<MAP NAME="name">area tags</MAP>
The map tag defines a client side image map It gives a name to a collection of AREA tags that are superimposed over an inline image to connect user clicks with URLs.
| Support: |
<MARQUEE>text</MARQUEE>
<MARQUEE ALIGN="align">text</MARQUEE>
<MARQUEE BEHAVIOR="behavior">text</MARQUEE>
<MARQUEE BGCOLOR="#rrggbb">text</MARQUEE>
<MARQUEE BGCOLOR="colorname">text</MARQUEE>
<MARQUEE DIRECTION="direction">text</MARQUEE>
<MARQUEE HEIGHT=n>text</MARQUEE>
<MARQUEE HEIGHT=n%>text</MARQUEE>
<MARQUEE HSPACE=n>text</MARQUEE>
<MARQUEE LOOP=n>text</MARQUEE>
<MARQUEE SCROLLAMOUNT=n>text</MARQUEE>
<MARQUEE SCROLLDELAY=n>text</MARQUEE>
<MARQUEE WIDTH=n>text</MARQUEE>
<MARQUEE VSPACE=n>text</MARQUEE>
<MARQUEE WIDTH=n%>text</MARQUEE>
The marquee tag defines a moving piece of text, like a movie marquee.
The ALIGN attribute works like the ALIGN attribute in the IMG tag, setting the location of the surrounding text. "align" can be TOP, BOTTOM, or MIDDLE.
The BEHAVIOR attribute defines the way the text moves. SCROLL means that the text slides into the marquee box and out again, then repeats. SLIDE means that the text slides into the
marquee box, stops when it is all in, then repeats. ALTERNATE means that the text bounces back and forth within the marquee box.
The BGCOLOR attribute specifies the colour to be used for the background. rrggbb is a six digit hexadecimal number with the first two digits specifying the red value, the middle two the green value, and the last two the blue value. Some sample colour values:
Colour names can be used for the BGCOLOR attribute. Valid colours are: Aqua, Black, Blue, Fuchsia, Gray, Green, Lime, Maroon, Navy, Olive, Purple, Red, Silver, Teal,Yellow, and
White.
The DIRECTION attribute is LEFT or RIGHT and specifies the direction in which the text should move.
The HEIGHT and WIDTH attributes size the marquee box. If n is an absolute number, it is taken to mean pixels; if n is followed by a % sign it is taken to mean a percentage of the width
or height (as appropriate) of the screen.
The HSPACE and VSPACE attributes specify a margin to the left and right, or above and below, the marquee box, in pixels.
The LOOP attribute will cause the marquee to scroll n times. LOOP="INFINITE" will cause the marquee to scroll as long as the page is open.
The SCROLLAMOUNT attribute specifies, the amount, in pixels, to move the scrolling text by each time it is drawn. The SCROLLDELAY attribute specifies the delay, in milliseconds, between
drawings.
| Support: |
<MATH>math-content</MATH>
The math tag introduces a description of an equation or formula. math-content is not yet fully defined.
<MENU>list entries</MENU>
![]()
<MENU COMPACT>list entries</MENU>
The menu list tag introduces a menu list, which is made up of List Item (LI) tags and does not include bullets or numbers before them. For a bulleted list use UL. For a numbered list use
OL. For a list without bullets or numbers made up of short items that can be arranged into columns use DIR. The COMPACT attribute instructs the browser to reduce the space occupied
by the list.
In HTML 3.0, the same effect can be achieved with <UL PLAIN>. The MENU tag will probably be obsolete some day, so use UL.
<META HTTP-EQUIV="HTTP header field name"CONTENT="field value">"HTTP header field name"
<META HTTP-EQUIV=NAME="field name"CONTENT="field value">
The meta tag, which is only valid in a HEAD section, declares HTTP meta name/value pairs that are associated with the HTML document. These are used to extend the HTTP header information returned by the HTTP server. The support of the meta information is HTTP server specific. If a name attribute is not specified the HTTP-EQUIV attribute is used as the name. This tag can also be used to trigger client side behaviour.
Here are some values and what they are used for:
HTTP-EQUIV="REFRESH" META HTTP-EQUIV="Content-Type" CONTENT="text/html" charset="charset" | Support: |
<MULTICOLattributes>
This tag is a container, used to split the display into columns without using frames or tables. The attributes of this tag are:
COLS="number"TheCOLSattribute is mandatory and controls how many columns the display will be split into.GUTTER="pixels"- The
GUTTERattribute controls the pixels of space between columns. It defaults to a value of 10.WIDTH="number"- The
WIDTHattribute controls the width of an individual column.
| Support: |
<NOBR>text</NOBR>
The no break tag defines a block of text which will have no line breaks except those explicitly requested with BR or suggested with WOBR.
| Support: |
<NOFRAMES>alternate HTML</NOFRAMES>
The NOFRAMES tag specifies HTML that can be used by browsers that do not support frames. Everything between the start and end tag is ignored by browsers that understand frames.
| Support: |
<NOTE>text</NOTE>
<NOTE CLASS=class>text</NOTE>URL
<NOTE SRC=>text</NOTE>
The note tag defines text that forms a note. Many browsers display it in an indented block surrounded by blank lines with a graphic. The CLASS attribute specifies the type of note, such as a warning, caution, or note. The graphic used will be based on the CLASS. The SRC attribute can be used to override the graphic that would be used by default.
<OBJECT>object-content</OBJECT>
The object tag will be included in a future HTML standard, code-named Cougar.
<OL>list entries</OL>
![]()
<OL COMPACT>list entries</OL>number
<OL SEQNUM=
>list entries</OL>list entries
<OL CONTINUE>
</OL>
![]()
<OL START=number>list entries</OL>
![]()
<OL TYPE=type>list entries</OL>
The ordered list tag introduces an ordered (numbered) list, which is made up of List Item (LI) tags. The COMPACT attribute instructs the browser to reduce the space occupied by the
list. For a bulleted list use UL. For a list without bullets or numbers use MENU. For a list without bullets or numbers made up of short items that can be arranged into columns use DIR.
A list heading (LH) may be included before the first list item. The SEQNUM attribute allows the first list item to be number instead of the default 1. The CONTINUE attribute continues
the numbering from the previous ordered list.
The START attribute allows the first list item to be number instead of the default 1. The TYPE attribute governs the way items are numbered:
| Support: |
<OVERLAYattributes>
Valid only within a figure (FIG), the overlay element speeds up image rendering by drawing small changes over a base figure. The attributes are:
SRC="URL"- Here "URL" identifies the image source, typically a GIF or JPEG file.
X=number- This specifies the offset to the right within the base image from the top left corner, according to the
UNITSattribute.
Y=number- This specifies the offset to the bottom within the base image from the top left corner, according to the
UNITSattribute.
HEIGHT=number- This specifies the height of the image, according to the
UNITSattribute.
WIDTH=number- This specifies the width of the image, according to the
UNITSattribute.
UNITS=units- Here units is one of pixels, meaning the width and height are measured in pixels, or en, meaning the width and height are measured in en spaces.
IMAGEMAP="URL"- Points to a script that handles clicks and drags.
<P>text
<P>text</P>
![]()
<P ALIGN=alignment>text
![]()
<P NOWRAP>text
The paragraph tag starts a new paragraph, equivalent to two BR tags. The </P> tag is optional if the tag is only to insert space between two paragraphs, but vital when attributes (for example, ALIGN="center") are to apply to the whole paragraph. The ALIGN attribute can be one of LEFT, RIGHT, or CENTER. The NOWRAP attribute will make it so lines are only broken at the <BR> tag.
| Support: |
<PARAM NAME="name"VALUE="value">
This tag, valid only within an APPLET element, passes parameters to the applet, which gets them with the getParameter() method.
| Support: |
<PERSON>text</PERSON>
The person tag is used around names of people mentioned in a document. It is typically displayed just like normal text, but is used by automatic indexers
<PLAINTEXT>text</PLAINTEXT>
The plain text tag defines text that should be shown in a fixed width font with the line breaks and other whitespace specified by the page author. There is no need to use <BR> tags to indicate line breaks -- line breaks in the source will be displayed by the browser. In addition multiple spaces will be displayed as multiple spaces. HTML tags are not rendered..
<PRE>text</PRE>width
<PRE WIDTH=>text</PRE>
The preformatted text tag defines text that should be shown in a fixed width font with the line breaks and other whitespace specified by the page author. There is no need to use <BR> tags to indicate line breaks -- line breaks in the source will be displayed by the browser. In addition multiple spaces will be displayed as multiple spaces. Typically used for several lines of program code or for poetry. The width attribute specifies the maximum number of characters per line.
| Support: |
<Q>text</Q>
The quote tag defines text that should be displayed as a short quote. For English language documents this means the text will be surrounded with double quote (") symbols. Quotes nested within quotes will typically be displayed surround by single quote (') symbols.
| Support: |
<RANGE FROM="from id"UNTIL="until id">
The range tag, which is valid only in the HEAD section, defines a range within the document. The FROM and UNTIL attributes refer to ID's of tags within the document. The SPOT tag can be used to specify a location in the document where there is no other tag.
<SAMP>text</SAMP>
The sample tag defines text that should be shown as literal characters in a fixed width font. It can be nested with other idiomatic or typographic tags but some browsers will respect only
the innermost tag. Many browsers use the same font for the KBD, SAMP, TT and CODE tags. For many lines of fixed width text, with the line breaks and other whitespace specified by the
page author, use the PRE tag.
| Support: |
<SCRIPT LANGUAGE="language"><!--script statements--></SCRIPT>
The script tag identifies script code. This can be code to be executed at this point of the document or may contain functions for use later in the document. Netscape Navigator supports JavaScript, and Microsoft Internet Explorer 3.0 supports both JavaScript and VBScript. The statements are usually but not required to be enclosed in the comment tag, so that browsers that do not support scripting do not render the code as text. Functions used by the document are usually defined in the HEAD tag so that they are loaded and available before the user could do anything that might call them.
| Support: |
<SMALL>text</SMALL>
The small text tag defines text that should be displayed in a smaller font than usual.
| Support: |
<SPOT ID="id">
The spot tag can be used to specify a location in the document where there is no tag.
<STRIKE>text</STRIKE>
The strikethrough tag defines text that should be shown with a horizontal line through it. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag.
<STRONG>text</STRONG>
The strong tag defines text that should be strongly emphasized -- most browsers will display it in boldface. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag.
| Support: |
<SUB>text</SUB>
The subscript tag defines text that should be displayed in a smaller font than usual, lower on the line than usual.
| Support: |
<SUP>text</SUP>
The superscript tag defines text that should be displayed in a smaller font than usual, higher on the line than usual.
| Support: |
<TABLEattributes>table-content</TABLE>
A table consists of an optional caption (CAPTION) and one or more rows (TR.) The attributes are:
ALIGN="alignment" Note that this does not affect the alignment of the table entries.
WIDTH=number BORDER BORDER=number CELLPADDING=number CELLSPACING=number BGCOLOR="#rrggbb"BGCOLOR="colorname"BORDERCOLOR="#rrggbb"BORDERCOLOR="colorname"BORDERCOLORLIGHT="#rrggbb"BORDERCOLORLIGHT="colorname"BORDERCOLORDARK="#rrggbb"BORDERCOLORDARK="colorname"VALIGN="valign"TOP or BOTTOM.CLEAR=clearNOFLOW COLSPEC=colspec UNITS=units COLSPEC or WIDTH attributes are being used and specifies the units to be used for the column or table widths. units should be one of
DP="character" NOWRAP In the attributes above that refer to it, rrggbb is a six digit hexadecimal number with the first two digits specifying the red value, the middle two the green value, and the last two the blue value. Some sample colour values:
Microsoft Explorer supports the use of colour names in the BGCOLOR, BORDERCOLOR, BORDERCOLORLIGHT, and BORDERCOLORDARK attributes. Valid colours are: Aqua, Black, Blue,
Fuchsia, Gray, Green, Lime, Maroon, Navy, Olive, Purple, Red, Silver, Teal,Yellow, and White.
| Support: |
<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=typeID=valueSTYLE=css1 properties
| Support: |
<COL>content </COL>
<COL ALIGN=alignment>content</COL>number
<COL SPAN=>content</COL>
The <COL> tag sets the properties of one table column at a time. Do not use this tag with a COLGROUP element.
The ALIGN attribute specifies the text alignment in the cells within the colums. The values for "alignment" are LEFT, MIDDLE and RIGHT and the default is MIDDLE.
| Support: |
<COLGROUP>column data</COLGROUP>="align"> column data
<COLGROUP ALIGN</COLGROUP>"valign"
<COLGROUP VALIGN=>column data</COLGROUP>"halign"> column data
<COLGROUP HALIGN=</COLGROUP>"width"> column data
<COLGROUP WIDTH=</COLGROUP>"number"> column data
<COLGROUP SPAN=</COLGROUP>
The COLGROUP tag sets the properties of one or more table columns.
The HALIGN attribute specifies the horizontal alignment of text in the cells for the column group.. The values are LEFT, RIGHT and CENTER (the default.) The VALIGN attribute sets
the vertical alignment for the column. The values are TOP, MIDDLE (the default,) and BOTTOM. The SPAN attribute sets the number of consecutive columns for the group. The WIDTH
attribute specifies the width of each column in the column group.
| Support: |
<TDattributes>
Valid only in a TR, the table data tag defines a table cell. The attributes are:
COLSPAN="number"ROWSPAN="number"NOWRAP ALIGN="align"LEFT, RIGHT or CENTER.VALIGN="align"TOP, MIDDLE, BOTTOM, or BASELINE.BGCOLOR="#rrggbb"BGCOLOR="colorname"BORDERCOLOR="#rrggbb"BORDERCOLOR="colorname"BORDERCOLORLIGHT="#rrggbb"BORDERCOLORLIGHT="colorname"BORDERCOLORDARK="#rrggbb"BORDERCOLORDARK="colorname"In the attributes above that refer to it, rrggbb is a six digit hexadecimal number with the first two digits specifying the red value, the middle two the green value, and the last two the blue value. Some sample colour values:
Microsoft Explorer supports the use of colour names in the BGCOLOR, BORDERCOLOR, BORDERCOLORLIGHT, and BORDERCOLORDARK attributes. Valid colours are: Aqua, Black, Blue,
Fuchsia, Gray, Green, Lime, Maroon, Navy, Olive, Purple, Red, Silver, Teal,Yellow, and White.
| Support: |
<TFOOT>
Defines the table footer. The footer tag is used to group all footers.
CLASS=typeID=valueSTYLE=css1 properties| Support: |
<THEAD>
The THEAD tag defines the table heading. The THEAD tag is used to group all headers together.
ALIGN=left, center, right, justify- Specifies the alignment of text in the heading, the default is center.
CLASS=type- This attribute indicates the class that the element belongs too.
ID=value- This attribute specifies a unique value for the element over the document.
STYLE=css1 properties- This attribute specifies style the information
VALIGN=middle/top/bottom- This attribute specifies the verticle alignment of text in the heading. The default is middle.
| Support: |
<THattributes>
Valid only in a TR, the table header tag defines a header cell. The attributes are:
COLSPAN="number"ROWSPAN="number"NOWRAP ALIGN="align"LEFT, RIGHT or CENTER. Table Header cells default to centred.VALIGN="align"TOP, MIDDLE, BOTTOM, or BASELINE.BGCOLOR="#rrggbb"BGCOLOR="colorname"BORDERCOLOR="#rrggbb"BORDERCOLOR="colorname"BORDERCOLORLIGHT="#rrggbb"BORDERCOLORLIGHT="colorname"BORDERCOLORDARK="#rrggbb"BORDERCOLORDARK="colorname"In the attributes above that refer to it, rrggbb is a six digit hexadecimal number with the first two digits specifying the red value, the middle two the green value, and the last two the blue value. Some sample colour values:
Microsoft Explorer supports the use of colour names in the BGCOLOR, BORDERCOLOR, BORDERCOLORLIGHT, and BORDERCOLORDARK attributes. Valid colours are: Aqua, Black, Blue,
Fuchsia, Gray, Green, Lime, Maroon, Navy, Olive, Purple, Red, Silver, Teal, Yellow, and White.
| Support: |
<TRattributes>
Valid only in a TABLE, the table row tag defines a row of cells that are defined with TH and TD tags. The attributes are:
ALIGN="align"LEFT, RIGHT or CENTER.VALIGN="align"TOP, MIDDLE, BOTTOM, or BASELINE.BGCOLOR="#rrggbb"BGCOLOR="colorname"BORDERCOLOR="#rrggbb"BORDERCOLOR="colorname"BORDERCOLORLIGHT="#rrggbb"BORDERCOLORLIGHT="colorname"BORDERCOLORDARK="#rrggbb"BORDERCOLORDARK="colorname"CLASS="class"Valid only in a TABLE, the table row tag defines a row of cells that are defined with TH and TD tags. The class attribute can be set to one of Header, Body, or Footer to arrange for
header or footer rows to be displayed as the user scrolls through the document.
The ALIGN attribute governs the alignment of the cells within the table rows. "align" can be LEFT or RIGHT. If ALIGN is specified for any cell in the row, the cell alignment
overrides the row alignment.
<TT>text</TT>
The teletype tag defines text that should be shown in a fixed width font. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag.
Many browsers use the same font for the KBD, SAMP, TT and CODE tags. For many lines of fixed width text, with the line breaks and other whitespace specified by the page author, use
the PRE tag.
<TITLE>title-text</TITLE>
The title tag, which is only valid in a HEAD section, defines the title of an HTML document. A title should be chosen that makes sense with no context; for example Introduction is a poor title since it contains no indication of the subject matter it discusses. Netscape displays document titles in the application's title bar and in bookmark lists.
<U>text</U>
The underlined tag defines text that should be shown with a line underneath it. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag. Many browsers, including some versions of Netscape, do not support this tag.
<UL>list entries</UL>list entries
<UL COMPACT></UL>"URL"
<UL SRC=
>list entries</UL>"entity-name"
<UL DINGBAT=
>list entries</UL>type
<UL PLAIN>
<UL WRAP=
>
![]()
<UL TYPE=type>list entries</UL>
The unordered list tag introduces an unordered (bulleted) list, which is made up of List Item (LI) tags. The COMPACT attribute instructs the browser to reduce the space occupied by the
list. For a numbered list use OL. For a list without bullets or numbers use MENU. For a list without bullets or numbers made up of short items that can be arranged into columns use DIR.
A list heading (LH) may be included before the first list item. The SRC attribute identifies a graphic image to be used as a bullet, while the DINGBAT attribute identifies an iconic entity
for the bullet. The PLAIN attribute specifies not to use a bullet on each item. The WRAP attribute is either VERT or HORIZ, and indicates multiple columns of data. VERT indicates that the
data is to go down the page and then wrap to the next column, and HORIZ indicates that the data is to wrap across each row.
The TYPE attribute specifies the bullet type; type can be DISC, CIRCLE, or SQUARE.
<VAR>text</VAR>
The variable tag defines text that represents a variable-- most browsers will display it in italics. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag.
| Support: |
<SPACERattributes>
The SPACER tag creates an area of white space within the document. The attributes for this tag are:
TYPE=type- The
TYPEattribute has three possible values: horizontal (the default,) vertical, and block.SIZE=pixels- The
SIZEattribute only applies when the spacer has a type ofhorizontalorvertical. Then this attribute controls the absolute width or height in pixels of the spacing addedWIDTH=pixels- The
WIDTHattribute only applies when the spacer is of typeblock. Then this attribute controls the absolute width in pixels of the spacing rectangle addedHEIGHT=pixels- The
HEIGHTattribute only applies when the spacer is of typeblock. Then this attribute controls the absolute height in pixels of the spacing rectangle addedALIGN=alignment- The
ALIGNattribute only applies when the spacer is of typeblock. Then this attribute controls the alignment of the spacing rectangle in exactly the same way it would control the alignment of anIMGtag. "alignment" should be one of LEFT, RIGHT, TOP, TEXTTOP, MIDDLE, ABSMIDDLE, BASELINE, BOTTOM, or ABSBOTTOM.
| Support: |
<WBR>
The word break tag identifies a place where a word can be broken, or where a line can be broken within a NOBR block.
Not all Web browsers support all HTML tags. The World Wide Web Consortium develops and maintains standards for HTML and related technologies. Major vendors, including Netscape and Microsoft, have also developed a number of extensions to the HTML standards. In this web site, we have attempted to rigorously categorise each HTML tag and each of its attributes (if applicable) according to which standards it conforms to, and according to which browsers support it. This page is a key to the graphical indicators we use throughout the site to indicate support for the various tags and their attributes.
Within the table, you can click on Support to get back to this page. The icons are used as follows:
Support: 2.0, 3.0, 3.2
1.1+
2.0+
The numbers after each icon indicate the versions (of the standards or of the browsers) that support the tag. A plus sign ( + ) after a number means that version and all versions above. The example above would indicate a tag that is defined in HTML standards 2.0, 3.0, and 3.2; that is supported by Netscape Navigator versions 1.1 and above; and that is supported by Microsoft Internet Explorer versions 2.0 and above.
indicates standards defined by the World Wide Web Consortium.
indicates support in Netscape's Navigator web browser.
indicates support in Microsoft's Internet Explorer web browser.
identifies attributes in the now-defunct HTML 3.0 specification that are not part of any official specification.. Many of these were supported by browsers like Netscape Navigator and Microsoft Explorer.
identifies attributes in the May 1996 HTML 3.2 specification. These are almost all supported by Netscape Navigator 2.0 or higher and Microsoft Explorer 2.0 or higher.
identifies attributes supported by Netscape Navigator 2.0 that are not in any official HTML specification. Some attributes identified with this icon were also supported by earlier versions.
identifies attributes supported by Microsoft Explorer 2.0 that are not in any official HTML specification. Some attributes identified with this icon were also supported by version 1.0.
identifies attributes supported by Microsoft Explorer 3.0 that are not in any official HTML specification.
Browsers are supposed to ignore tags and attributes they do not know. Some, however, do not. For example some versions of Mosaic do not display the text and images inside a <TABLE> tag at all, though if they ignored <TABLE>, <TR>, and <TD> the text inside should come through. Use caution when using a tag that is not supported by all browsers.