Defines a hypertext link for an element.
<A HREF="url">
HREF="url" required. Specifies the URL associated with the parent element. The browser navigates to this location when the parent element is clicked. The end tag </A> is required.
Example
<A HREF="http://www.foosports.com/page1.htm">This is a link to page 1.</A>
Description
Specifies the shape of a hyperlink "hot spot" in a client-side image.
Syntax
Parameter | Description |
---|---|
ALT=text | Optional text as an alternative to the graphic for rendering in non-graphical environments. Alternate text should be provided whenever the graphic is not rendered. Alternate text is mandatory for Level 0 documents. |
COORDS=coordinates | Coordinates that define the hot spot's shape. |
HREF=url | Specifies the destination URL or anchor point. |
NOHREF | Indicates that clicks in this region should cause no action. |
SHAPE=CIRC | CIRCLE | POLY | POLYGON | RECT | RECTANGLE | Specifies the type of shape used in the image map. |
TARGET=window_name | _blank | _parent | _self | _top | Specifies the window or frame to target the contents at. If no frame or window exists that matches the specified target, a new window is opened for the specified link. If no target is specified, the default is "_self" for a link within the same site or "_top" if the site is external. Special target values are listed below:
|
TITLE=text | TITLE=text Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. |
Remarks
This is an empty element and does not require a closing tag.
Examples
<AREA SHAPE="RECT" COORDS="0, 0, 58, 31" HREF="http://www.microsoft.com/ie/">
<AREA TARGET="viewer" HREF="sample.htm" SHAPE="CIRCLE" COORDS="73, 15, 10">
<AREA SHAPE="RECT" COORDS="58, 0, 88, 31" NOHREF>
Specifies beginning and end of document body. This element can be used to set the background image, the background color, the link color and the top and left margins of the page. The end tag is required.
Syntax
Parameter | Description |
---|---|
ALINK=color | The color for the active link. For a complete list of colors, look at the Internet Explorer color table . |
BACKGROUND=url | Specifies a background picture. The picture is tiled behind the text and graphics on the page. |
BGCOLOR=color | Sets the background color of the page. For a complete list of colors, look at the Internet Explorer color table. |
LANG=language | Specifies which language to use in ISO standard language abbreviation form. |
LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT |
Specifies the language the current script is written in and invokes the proper scripting engine. The default value is JAVASCRIPT. |
LINK=color | The color of shortcuts that have not yet been visited. For a complete list of colors, look at the Internet Explorer color table. |
TEXT=color | Sets the color of text on the page. For a complete list of colors, look at the Internet Explorer color table. |
VLINK=color | The color of shortcuts that have already been visited. For a complete list of colors, look at the Internet Explorer color table. |
This element is a block element.
Examples
This is the HTML used to insert the background image of this page.
<BODY BACKGROUND="http://www.microsoft.com/ie/images/watermrk.gif" BGCOLOR=#FFFFFF TEXT=#000000 LINK=#ff6600 VLINK=#330099>Sets a base font value to be used as the default font when rendering text.
SyntaxParameter | Description |
---|---|
COLOR=color | Color to be used by the font or horizontal rule. For a complete list of colors, see the Internet Explorer color table. |
FACE=font | Current font typeface. |
SIZE=n | Font size between 1 and 7 (7 is largest). |
This is an empty element and does not require a closing tag. BASEFONT should appear before any displayed text in the BODY of the document.
Example<BASEFONT SIZE=3> This sets the base font size to 3.
<FONT SIZE=+4> Now the font size is 7.
<FONT SIZE=-1> Now the font size is 2.
The BGSOUND tag allows you to create pages with background sounds or "soundtracks."
SyntaxParameter | Description |
---|---|
BALANCE=n | Determines how the available volume will be divided between the left and right speakers. Valid values for this attribute are in the range of -10,000 to +10,000, with 0 being "Wave Output" center balanced. |
LOOP=n | Specifies how many times a sound will loop when activated. |
SRC=url | Specifies the URL of a sound to be played. |
VOLUME=n | Determines the loudness of a page's background sound. Valid values for this attribute are in the range of -10,000 to 0, with 0 being full "Wave Output" volume. |
This element may be used within the tag. The start tag is required, and the end tag is optional.
Specifies that the enclosed text should be displayed in a relatively bigger font than the current font.
Syntax<BIG>
Both the start and end tags are required.
Example<BIG>This text is larger.</BIG>
Sets apart a long quotation in text.
Syntax<BLOCKQUOTE>
Remarks
This element is a block element. Both the start and end tags are required.
Example
<P>He said, <BLOCKQUOTE>"Hi there!"</BLOCKQUOTE>
Specifies beginning and end of document body. This element can be used to set the background image, the background color, the link color and the top and left margins of the page. The end tag is required.
Syntax
Parameter | Description |
---|---|
ALINK=color | The color for the active link. For a complete list of colors, look at the Internet Explorer color table. |
BACKGROUND=url | Specifies a background picture. The picture is tiled behind the text and graphics on the page. |
BGCOLOR=color | Sets the background color of the page. For a complete list of colors, look at the Internet Explorer color table. |
BGPROPERTIES= | Specifies a watermark, which is a background picture that does not scroll. |
LINK=color | The color of shortcuts that have not yet been visited. For a complete list of colors, look at the Internet Explorer color table. |
SCROLL=YES | NO | Turns on or off the scrollbars. The default is YES. |
TEXT=color | Sets the color of text on the page. For a complete list of colors, look at the Internet Explorer color table. |
VLINK=color | The color of shortcuts that have already been visited. For a complete list of colors, look at the Internet Explorer color table. |
Remarks
This element is a block element.
Examples
This is the HTML used to insert the background image of this page.
<BODY BACKGROUND="http://www.microsoft.com/ie/images/watermrk.gif" BGPROPERTIES=FIXED BGCOLOR=#FFFFFF TEXT=#000000 LINK=#ff6600 VLINK=#330099>
<HTML><BODY>Here's a Web page!</BODY></HTML>
Inserts a line break.
Syntax
<BR>
Renders an HTML button, displaying the text between the start and end tags as the label within the button.
Syntax
Parameter | Description |
---|---|
ACCESSKEY=key | Specifies an accelerator for the element. Pressing alt-key selects this element in the user's browser. |
DISABLED | Used to disable an element. This attribute prevents an element from receiving the focus, and causes the element to appear "grayed out." |
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. |
TYPE=BUTTON | RESET | SUBMIT | Defines a button that indicates a default for the ENTER key (with a dark border). The possible values are:
|
Remarks
You should not include the <SELECT>, BUTTON, <INPUT>, or <A> within the BUTTON tag.
This element is a block element. Both the start and end tags are required.
Specifies a caption for a <TABLE>.
SyntaxParameter | Description |
---|---|
ALIGN= BOTTOM | CENTER | LEFT | RIGHT | TOP | Specifies the alignment of the caption.
|
VALIGN=BOTTOM | TOP | Specifies whether the caption appears at the top or bottom. |
This element is a block element. Both the start and end tags are required.
Example
Causes subsequent text and images to be centered. The required end tag returns the alignment to its previous state. This element has the same effect as using the element <DIV ALIGN=CENTER>.
SyntaxRemarks
This element is a block element. Both the start and end tags are required.
Example
<CENTER>This text appears centered on the page.</CENTER>
Indicates a citation. Refers to a book, paper, or other published source material. The text for citations is rendered in italics.
Syntax
<CITE>Remarks
Both the start and end tags are required.Example
<CITE>Book Title.</CITE>
Used to specify column based defaults for the table properties.
SyntaxParameter | Description |
---|---|
ALIGN=CENTER | LEFT | RIGHT | Displays the element left flush, right flush, or centered relative to the display or table. |
SPAN=n | Specifies how many columns are in the group. |
VALIGN=BASELINE | BOTTOM | MIDDLE | TOP | Displays the elements aligned at the top or bottom within the element.
|
WIDTH=n | Sets the initial width of the element. This attribute may be initially set in pixels or percentages. |
Remarks
This element is a block element.
Example
<TABLE>Description
The definition in a definition list. Usually indented from the definition list, and displayed in the right-hand column of a definition list.
Syntax
Remarks
This element is a block element. The start tag is required, and the end tag is optional.
Example
<DL><DT>Cat<DD>A small domesticated mammal.Description
Denotes a definition list. The text is formatted as a list of terms on the left and their definitions indented below. The <DT> and <DD> elements can be used to define the elements within a directory list.
Syntax
Remarks
This element is a block element. Both the start and end tags are required.
Example
<DL>Description
A definition term within a definition list. The text is a term to be defined, and should be displayed in the left-hand column of a definition list. The corresponding definition should be indicated with the <DD> element.
Syntax
Remarks
This element is a block element. The start tag is required, and the end tag is optional.
Example
<DL>Description
Specifies a new font face, size, and color to be used for rendering the enclosed text.
Syntax
Parameter | Description |
---|---|
COLOR=color | Set the color to be used by the font or horizontal rule. For a complete list of colors, look at the Internet Explorer color table. |
FACE=font | Sets the current font typeface. |
SIZE=n | Specifies font size between 1 and 7 (7 is largest). |
Remarks
Both the start and end tags are required.
Description
Specifies that the contained controls take part in a form.
Syntax
Parameter | Description |
---|---|
ACTION=url | Specifies the address to be used to carry out the action of the form. If none is specified, the base URL of the document is used. |
METHOD=GET | POST | Indicates how the form data should be sent to the server; either GET or POST |
Remarks
When programming the form, all control-like elements are added to the form as named items. In addition, these items are exposed through the Item method on the form. This element is a block element. Both the start and end tags are required.
Example
<FORM TARGET="viewer" ACTION="http://www.sample.com/bin/search">
...
</FORM>
Description
Specifies an individual frame within a <FRAMESET>.
Syntax
Parameter | Description |
---|---|
BORDERCOLOR=color | Sets border color and must be used with the BORDER attribute, except for frames. For a complete list of colors, look at the Internet Explorer color table. |
FRAMEBORDER=NO | YES | 0 | 1 | Specifies whether or not to display a border for the frame. |
HEIGHT=n | Along with WIDTH, specifies the size at which the element is drawn. This attribute may be initially set in pixels or percentages. |
MARGINHEIGHT=pixels | Sets the amount of top and bottom margin should be set before displaying the text in a frame. |
MARGINWIDTH=pixels | Sets the amount of left and right margin should be set before displaying the text in a frame. |
NAME=window_name | _blank | _parent | _self | _top | Specifies the window or frame to target the contents at. If no frame or window exists that matches the specified target, a new window is opened for the specified link. If no target is specified, the default is "_self" for a link within the same site or "_top" if the site is external. Special target values are listed below:
|
NORESIZE=NORESIZE | RESIZE | When this attribute is supplied, the frame is not resizable by the user. The default behavior allows the user to resize the frame. |
SCROLLING=AUTO | NO | YES | Specifies that the frame can be scrolled. If set to "AUTO," the browser determines whether scrollbars are necessary. |
SRC=url | Specifies a URL for the associated file. |
WIDTH=n | Along with HEIGHT <../../../delivery/references/desktop_items/HEIGHT.htm>, sets the initial size of the element. This attribute may be initially set in pixels or percentages. |
Remarks
This element is a block element.
Example
<FRAME FRAMEBORDER=0 SCROLLING=NO SRC="sample.html">
Description
Sets the number and size of vertical and horizontal frames for a compound document. Use the <FRAME> element within FRAMESET to define the content and properties of the individual frames. You can also nest FRAMESET elements to create frames within a frame.
Syntax
Parameter | Description |
---|---|
BORDER=pixels | |
Defines the space between the frames in pixels, including the 3D border. For nested FRAMESETS, the border can only be defined for the top-level FRAMESET element. | |
BORDERCOLOR=color | Sets border color and must be used with the BORDER attribute, except for frames. For a complete list of colors, look at the Internet Explorer color table. |
COLS=col-widths | A comma delimited list of frames to create. Each item in the list contains the initial size of the column. You can specify the column dimensions by percentage (%), pixels, or a relative size (*) |
FRAMEBORDER=NO | YES | 0 | 1 | Specifies whether or not to display a border for the frame. "YES" or 1 causes a border to be displayed (default). "NO" or 0 displays no border. |
FRAMESPACING=spacing | Creates additional space between the frames in pixels. |
ROWS=row-heights | A comma delimited list of frames to create. Each item in the list contains the initial size of the row. You can specify the row dimensions by percentage (%), pixels, or a relative size (*). |
Remarks
A frameset organizes multiple frames on the screen. Only frames <FRAMES>, nested FRAMESETelements, and the <NOFRAMES> tag are valid within a frameset. This element is a block element. Both the start and end tags are required.
Example
<FRAMESET COLS="25%, 50%, *">
<FRAME SRC="contents.html">
<FRAME SRC="info.html">
<FRAME SCROLLING=NO SRC="graphic.html">
</FRAMESET>
Description
An unordered collection of information that marks the document heading.
Syntax
Remarks
The HEAD provides information that does not effect the rendering of the document, but may be of use to the browser. The HEAD falls before the <BODY> of the document is specified. The following tags are valid in the HEAD block:
The TITLE tag is the only information that is required as part of a HEAD block.
Example
Description
Renders text in heading style. Use H1 through H6 to specify different sizes and styles of headings. The end tag is required to restore the formatting to normal.
Syntax
Parameter | Description |
---|---|
n | Sets the heading level. This is an integer from 1 to 6. |
ALIGN= | Displays the element left flush, right flush, or centered. |
Remarks
This element is a block element. Both the start and end tags are required.
Example
<H1>Welcome to Internet Explorer!</H1>
Description
Draws a horizontal rule.
Syntax
Parameter | Description |
---|---|
ALIGN=CENTER | LEFT | RIGHT | Displays the element left flush, right flush, or centered relative to the display or table. |
COLOR=color | Set the color to be used by the font or horizontal rule. For a complete list of colors, look at the Internet Explorer color table. |
NOSHADE | Draws the horizontal rule without 3-D shading. |
SIZE=n | Sets the height of the element in pixels. |
WIDTH=n | Sets the initial width of the element. This attribute may be initially set in pixels or percentages. |
Remarks
This element is a block element.
Description
This element identifies the document as containing HTML elements. The begin tag typically appears after the !DOCTYPE <DOCTYPE> element. The end tag comes after all HTML elements in the document.
Syntax
Example
<HTML>
<BODY>
<P>This is an HTML document.
</BODY>
</HTML>
Description
The Italic element specifies that the text should be rendered in italic font, where available.
Syntax
Remarks
Both the start and end tags are required.
Example
<I>This text will be in italic.</I>
Description
Embeds an image or a video clip in the document.
Syntax
Parameter | Description |
---|---|
ALIGN=ABSBOTTOM | ABSMIDDLE | BASELINE | BOTTOM | LEFT | MIDDLE | RIGHT | TEXTTOP | TOP | Specifies the alignment for the image. |
ALT=text | Optional text as an alternative to the graphic for rendering in non-graphical environments. Alternate text should be provided whenever the graphic is not rendered. Alternate text is mandatory for Level 0 documents. |
BORDER=n | Specifies the thickness of a border to be drawn around the element. |
DYNSRC=url | Specifies the address of a video clip or VRML world to be displayed in the window. Stands for Dynamic Source. |
HEIGHT=n | Along with <WIDTH>, specifies the size at which the element is drawn. This attribute may be initially set in pixels or percentages. |
HSPACE=n | Along with VSPACE, specifies margins for the element. |
ISMAP | Identifies the picture as a server-side image map. Image maps allow users to access other documents by clicking different areas in an image. Server-side image maps require a script or other service on the server to process click information. When the user clicks on the image, the server receives the coordinates of the user's click along with the URL of the map. Internet Explorer appends a "?" and a comma-separated pair of x-y coordinates to the HREF attribute in the <A> element. For further information regarding server-side maps and the content of the map file, check your HTTP server documentation. |
LOOP=n | Specifies how many times a sound or video will loop when activated. Also specifies how many times the marquee should loop. |
LOWSRC=url | Specifies a lower resolution image to display. |
SRC=url | Specifies a URL for the associated file. |
USEMAP=url | Identifies the picture as a client-side image map and specifies a MAP to use for responding to the user's clicks. Use the <MAP> and <AREA> elements to create the client-side mapping information. |
VSPACE=n | Along with HSPACE, specifies margins for the element. |
WIDTH=n | Along with <HEIGHT>, sets the initial size of the element. This attribute may be initially set in pixels or percentages. |
Example
<IMG SRC=mygraphic.bmp>
Description
Specifies a form input control.
Syntax
<INPUTParameter | Description |
---|---|
ACCESSKEY=key | Specifies an accelerator for the element. Pressing alt-key selects this element in the user's browser. This attribute applies to the BUTTON, CHECKBOX, FILE, PASSWORD, RADIO, RESET, SUBMIT, and TEXT input types. |
ALIGN=LEFT | CENTER | RIGHT | Displays the element left flush, right flush, or centered relative to the display or table when TYPE=IMAGE.. |
ALT=text | When TYPE=IMAGE, optional text as an alternative to the graphic for rendering in non-graphical environments. Alternate text should be provided whenever the graphic is not rendered. Alternate text is mandatory for Level 0 documents. |
DISABLED | Used to disable an element. This attribute prevents an element from receiving the focus, and causes the element to appear "grayed out." |
DYNSRC=url | Specifies the address of a video clip or VRML world to be displayed in the window. Stands for Dynamic Source. Applies to type=image only. |
LOWSRC=url | Specifies a lower resolution image to display. Applies to type=image only. |
MAXLENGTH=n | Indicates the maximum number of characters that can be entered into a text control. This attribute applies to the PASSWORD and TEXT input types. |
NAME=name | Specifies the name of the control, bookmark, or application. |
READONLY | Causes the element's contents to be read only. The INPUT element can still receive the focus. This attribute applies to the PASSWORD and TEXT input types. |
SIZE=n | Specifies the size of the control. |
SRC=url | Specifies a URL for the associated file. This attribute applies to the IMAGE type. |
TABINDEX=n | Sets the tab order position for the object. This attribute applies to the BUTTON, CHECKBOX, FILE, PASSWORD, RADIO, RESET, SUBMIT, and TEXT input types. |
TYPE=BUTTON | CHECKBOX | FILE | HIDDEN | IMAGE | PASSWORD | RADIO | RESET | SUBMIT | TEXT | Specifies the type of intrinsic control. The default is TEXT.
|
VALUE=value | For textual/numerical controls, specifies the default value of the control. For Boolean controls, specifies the value to be returned when the control is turned on. This attribute applies to the BUTTON, CHECKBOX, HIDDEN, PASSWORD, RADIO, RESET, SUBMIT, and TEXT input types. |
Remarks
Objects can be submitted in forms. The NAME is the identifier of the object tag (i.e., <OBJECT NAME=slider>), and the VALUE is obtained by getting the value of the default property of the control. If any of the following conditions occur, then the object will not become part of the submit string:
Example
<FORM ACTION="http://intranet/survey" METHOD=POST>See Also
TEXT, <BUTTON>, <TEXTAREA>, <OBJECT>.
Description
Denotes one item of a list. This element is used inside a <MENU>, <OL>, or <UL> block.
Syntax
Parameter | Description |
---|---|
TYPE=1 | a | A | i | I | Changes the style of the list.
|
VALUE=value | Changes the count of ordered lists as they progress. |
Remarks
This element is a block element. The start tag is required, and the end tag is optional.
Example
<UL>See Also
<MENU>, <OL>, <UL>.Description
Specifies a collection of hot spots for a client-side image map.
Syntax
Parameter | Description |
---|---|
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. |
NAME=name | Specifies the name of the window. |
Remarks
Both the start and end tags are required.
Example
<IMG SRC="london.gif" USEMAP="#deposits">This example shows a client-side image map having two hot spots and an area that is not hot.
See Also
<AREA>Description
Enables you to create a scrolling text marquee.
Syntax
Parameter | Description |
---|---|
BGCOLOR=color | Background color behind the element. For a complete list of colors, see the Internet Explorer color table |
DIRECTION=DOWN | LEFT | RIGHT | UP | Which direction the text should scroll. |
HEIGHT=n | HEIGHT of the MARQUEE in pixels or as a percentage of the screen height. |
HSPACE=n | Along with VSPACE, specifies margins for the element. |
SCROLLAMOUNT=n | Number of pixels the text scrolls between each subsequent drawing of the MARQUEE. |
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a tooltip during the onmouseover event. |
VSPACE=n | Along with HSPACE, specifies margins for the element in pixels. |
WIDTH=n | Returns the calculated width of the marquee in window coordinates. In HTML, this attribute may be initially set in pixels or percentages. |
Remarks
Both the start and end tags are required.
Example
<MARQUEE DIRECTION=RIGHT BEHAVIOR=SCROLL SCROLLAMOUNT=10 SCROLLDELAY=200> This is a scrolling marquee.</MARQUEE>Description
Provides information about an HTML document to browsers, search engines, and other applications.
Syntax
Parameter | Description |
---|---|
CONTENT=description | Specifies meta-information to be associated with the given name or HTTP response header. |
NAME=name | Specifies the name of the control, bookmark, or application. |
TITLE=text | Used to provide advisory information. |
URL=url | If a URL is specifies, the URL will be loaded after the specified time has elapsed. |
Remarks
This element may only be used within the
Description
Renders text without line breaking.
Syntax
Parameter | Description |
---|---|
TITLE=text | Used to provide advisory information. |
Remarks
The start tag is required, and the end tag is optional.
Example
<NOBR>Here's a line of text I don't want to be broken . . . here's the end of the line./<NOBR>Description
Used to contain HTML for browsers that do not support
Syntax
Parameter | Description |
---|---|
TITLE=text | Used to provide advisory information. |
Remarks
This element is a block element. Both the start and end tags are required.
Example
<FRAMESET>Description
Draws lines of text as an ordered list.
Syntax
Parameter | Description |
---|---|
START=n | Specifies the starting number for a list. |
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. |
TYPE=1 | a | A | i | I | Changes the style of the list.
|
Remarks
This element is a block element. Both the start and end tags are required.
Example
<OL>
<LI>This is the first item in the list.
<LI*gtAnd this is the second item in the list.
</OL>
<OL START=3>
<LI>This is item number 3.
</OL>
<OL TYPE=A>
<LI>This is item A.
</OL>
Description
Denotes a paragraph.
Syntax
Parameter | Description |
---|---|
ALIGN=CENTER | LEFT | RIGHT | Displays the element left flush, right flush, or centered relative to the display or table. |
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event.. |
Remarks
This element is a block element. The start tag is required, and the end tag is optional.
Example
<PThis is a paragraph.</P>
Description
Specifies that the enclosed text should be displayed with a relatively smaller font than the current font.
Syntax
Parameter | Description |
---|---|
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. |
Remarks
Both the start and end tags are required.
Example
<SMALL>This text is smaller.</SMALL>
Description
Renders text in strikethrough type.
Syntax
Parameter | Description |
---|---|
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. |
Remarks
Both the start and end tags are required.
Example
<STRIKE>This text has a line through it.</STRIKE>
Description
Renders text with a strong emphasis, often shown in boldface.
Syntax
Parameter | Description |
---|---|
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. |
Remarks
Both the start and end tags are required.
Example
<STRONG>This text is strongly emphasized, shown as bold.</STRONG>
Description
The enclosed text should be displayed in SuperScript and in a smaller font relative to the current font.
Syntax
Parameter | Description |
---|---|
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. |
Remarks
Both the start and end tags are required.
Example
(X<SUB>1</SUB>,Y<SUB>1</SUB>)
Description
The enclosed text should be displayed in SuperScript and in a smaller font relative to the current font.
Syntax
Parameter | Description |
---|---|
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. |
Remarks
Both the start and end tags are required.
Example
X<SUP>2</SUP> + Y<SUP>2</SUP>)
Description
Used to specify that the contained content is organized into a table with rows and columns. Use the <TR.htm>, <TD.htm>, and <TH.htm> elements in the container to create the rows, columns, and cells. The optional <CAPTION.htm>, <THEAD.htm>, <TBODY.htm>, <TFOOT.htm>, <COLGROUP.htm>, and <COL.htm> elements can be used to organize a table and apply attributes across columns and groups of columns.
Syntax
Parameter | Description |
---|---|
ALIGN=CENTER | LEFT | RIGHT | Specifies how the table should be aligned. |
BACKGROUND=url | Specifies a background picture for the table. The picture is tiled behind the text and graphics in the table, table head, or table cell. |
BGCOLOR=color | Sets the background color behind the element. For a complete list of colors, look at the Internet Explorer color table. |
BORDER=n | Specifies the thickness of a border to be drawn around the element. |
BORDERCOLOR=color | Sets border color and must be used with the BORDER attribute, except for frames. For a complete list of colors, look at the Internet Explorer color table. |
BORDERCOLORDARK=color | Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORLIGHT, and must be used with the BORDER attribute. |
BORDERCOLORLIGHT=color | Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORDARK, and must be used with the BORDER attribute. |
CELLPADDING=n | Specifies the amount of space between the border of the cell and the contents of the cell. |
CELLSPACING=n | Specifies the amount of space between cells in a table. |
COLS=n | The number of columns in the table. |
HEIGHT=n | Along with WIDTH specifies the size at which the element is drawn. This attribute may be initially set in pixels or percentages. |
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. |
WIDTH=n | Along with HEIGHT sets the initial size of the element. This attribute may be initially set in pixels or percentages. |
Remarks
This element is a block element. Both the start and end tags are required.
Example
<TABLE BORDER=1 WIDTH=80%>
<TR>
<TH>Heading 1</TH>
</TR>
</TABLE>
Description
Specifies a cell in a table. This element is valid only within a row in a table. You must use a <TR.htm> element before using TD. All attributes are optional.
Syntax
Parameter | Description |
---|---|
ALIGN=CENTER | LEFT | RIGHT | Displays the element left flush, right flush, or centered relative to the display or table. |
BACKGROUND=url | Specifies a background picture for the table. The picture is tiled behind the text and graphics in the table, table head, or table cell. |
BGCOLOR=color | Sets the background color behind the element. For a complete list of colors, look at the Internet Explorer color table. |
BORDERCOLOR=color | Sets border color and must be used with the BORDER attribute, except for frames. For a complete list of colors, look at the Internet Explorer color table. |
BORDERCOLORDARK=color | Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORLIGHT, and must be used with the BORDER attribute. |
BORDERCOLORLIGHT=color | Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORDARK, and must be used with the BORDER attribute. |
COLSPAN=n | Specifies how many columns in the <TABLE.htm> this cell should span. |
NOWRAP | The NOWRAP attribute is used when you do not want the browser to automatically perform word wrap. |
ROWSPAN=n | Specifies how many rows in a |
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. |
VALIGN=BASELINE | BOTTOM | CENTER | TOP | Displays the elements aligned at the top or bottom within the element.
|
Remarks
This element is a block element.
Both the start and end tags are required.
Description
Creates a multiline text entry control in which the user can type and edit text. The end tag is required. Any text between the start tag and end tag is used as the initial value for the control.
Syntax
Parameter | Description |
---|---|
ALIGN=ABSBOTTOM | ABSMIDDLE | BASELINE | BOTTOM | LEFT | MIDDLE | RIGHT | TEXTTOP | TOP | Specifies the alignment for the control-like element. |
COLS=n | Specifies how many characters wide the text area is. |
NAME=name | Specifies the name of the control, bookmark, or application. |
ROWS=n | Specifies the number of rows tall the text area control should be. |
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. |
WRAP=OFF | PHYSICAL | VIRTUAL | Specifies how to handle word-wrapping inside the text area.
|
Remarks
The default font is fixed pitch.
Both the start and end tags are required.
Description
Creates a row or column heading in a table. The element is similar to the <TD.htm> element but emphasizes the text in the cell to distinguish it from text in TD cells. The end tag is optional.
Syntax
Parameter | Description |
---|---|
ALIGN=CENTER | LEFT | RIGHT | Displays the element left flush, right flush, or centered relative to the display or table. |
BACKGROUND=url | Specifies a background picture for the table. The picture is tiled behind the text and graphics in the table, table head, or table cell. |
BGCOLOR=color | Sets the background color behind the element. For a complete list of colors, look at the Internet Explorer color table. |
BORDERCOLOR=color | Sets border color and must be used with the BORDER attribute, except for frames. For a complete list of colors, look at the Internet Explorer color table. |
BORDERCOLORDARK=color | Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORLIGHT, and must be used with the BORDER attribute. |
BORDERCOLORLIGHT=color | Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORDARK, and must be used with the BORDER attribute. |
COLSPAN=n | Specifies how many columns in the <TABLE.htm> this cell should span. |
NOWRAP | The NOWRAP attribute is used when you do not want the browser to automatically perform word wrap. |
ROWSPAN=n | Specifies how many rows in a |
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. |
VALIGN=BASELINE | BOTTOM | CENTER | TOP | Displays the elements aligned at the top or bottom within the element.
|
Remarks
This element is a block element.
Both the start and end tags are required.
Description
Identifies the contents of the document in a global context.
Syntax
Parameter | Description |
---|---|
TITLE=string | Used to provide advisory information. |
Remarks
This element may only be used within the
Example
<HEAD>
<TITLE>"Welcome To Internet Explorer!"</TITLE>
</HEAD>
Description
Creates a row in a table. The row can contain one or more
Syntax
Parameter | Description |
---|---|
ALIGN=CENTER | LEFT | RIGHT | Displays the element left flush, right flush, or centered relative to the display or table. |
BGCOLOR=color | Sets the background color behind the element. For a complete list of colors, look at the Internet Explorer color table. |
BORDERCOLOR=color | Sets border color and must be used with the BORDER attribute, except for frames. For a complete list of colors, look at the Internet Explorer color table. |
BORDERCOLORDARK=color | Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORLIGHT, and must be used with the BORDER attribute. |
BORDERCOLORLIGHT=color | Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORDARK, and must be used with the BORDER attribute. |
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. |
VALIGN=BASELINE | BOTTOM | CENTER | TOP | Displays the elements aligned at the top or bottom within the element.
|
Remarks
Within a row, the following tags are valid:
<TD.htm>
<TH.htm>
This element is a block element.
Both the start and end tags are required.
Example
<TABLE>
<TR>
...
</TR>
<TR>
...
</TR>
</TABLE>
Description
Indicates teletype. Renders text in fixed-width type. The required end tag returns the text formatting to normal.
Syntax
Parameter | Description |
---|---|
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. |
Remarks
Both the start and end tags are required.
Example
<TT>Here's some plain text.</TT>
Description
Renders underlined text. The required end tag restores the text to normal.
Syntax
Parameter | Description |
---|---|
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. |
Remarks
Both the start and end tags are required.
Example
<U>This text is underlined.</U>
Description
Specifies that the following block of text is a bulleted (or unordered) list. Each item begins with a <LI.htm> tag. The end tag is required.
Syntax
Parameter | Description |
---|---|
START=n | Specifies the starting number for a list. |
TITLE=text | Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. |
TYPE=1 | a | A | i | I | Changes the style of the list.
|
Remarks
This element is a block element. Both the start and end tags are required.
Example
<UL>
<LI>This is the first bulleted item in the list.
<LI>And this is the second bulleted item in the list.
</UL>
Description
Character sets determine how the bytes that represent the text of your HTML document are translated to readable characters. Microsoft® Internet Explorer interprets the bytes in your document according to the applied character set translations. It interprets numeric character references ("〹") as ISO10646 code points, consistent with the Unicode Standard, version 2.0, and independent of the chosen character set. Named entities ("&") are displayed independently of the chosen character set as well. The display of an arbitrary numeric character reference requires the existence of a font that is able to display that particular character on the user's system. Accordingly, the content in the first column of the following tables may not render as expected on all systems.
Character | Decimal code | Named entity | Description |
---|---|---|---|
--- | 	 | --- | Horizontal tab |
--- | | --- | Carriage Return |
  | --- | Space | |
! | ! | --- | Exclamation mark |
" | " | " | Quotation mark |
# | # | --- | Number sign |
$ | $ | --- | Dollar sign |
% | % | --- | Percent sign |
& | & | & | Ampersand |
' | ' | --- | Apostrophe |
( | ( | --- | Left parenthesis |
) | ) | --- | Right parenthesis |
* | * | --- | Asterisk |
+ | + | --- | Plus sign |
, | , | --- | Comma |
- | - | --- | Hypen |
. | . | --- | Period (fullstop) |
/ | / | --- | Solidus (slash) |
0...9 | 0...9 | --- | Digit 0...Digit 9 |
: | : | --- | Colon |
; | ; | --- | Semicolon |
< | < | < | Less than |
= | = | --- | Equals sign |
> | > | > | Greater than |
? | ? | --- | Question mark |
@ | @ | --- | Commercial at |
A...Z | A...Z | --- | Capital A...Capital Z |
[ | [ | --- | Left square bracket |
\ | \ | --- | Reverse solidus (backslash) |
] | ] | --- | Right square bracket |
^ | ^ | --- | Caret |
_ | _ | --- | Horizontal bar (underscore) |
` | ` | --- | Acute accent |
a...z | a...z | --- | Small a...Small z |
{ | { | --- | Left curly brace |
| | | | --- | Vertical bar |
} | } | --- | Right curly brace |
~ | ~ | --- | Tilde |
  | | Nonbreaking space | |
À | À | À | Capital A, grave accent |
Á | Á | Á | Capital A, acute accent |
 |  |  | Capital A, circumflex |
à | à | à | Capital A, tilde |
Ä | Ä | Ä | Capital A, umlaut |
Å | Å | Å | Capital A, ring |
È | È | È | Capital E, grave accent |
É | É | É | Capital E, acute accent |
Ê | Ê | Ê | Capital E, circumflex |
Ë | Ë | Ë | Capital E, umlaut |
Ì | Ì | Ì | Capital I, grave accent |
Í | Í | Í | Capital I, acute accent |
Î | Î | Î | Capital I, circumflex |
Ï | Ï | Ï | Capital I, umlaut |
Ò | Ò | Ò | Capital O, grave accent |
Ó | Ó | Ó | Capital O, acute accent |
Ô | Ô | Ô | Capital O, circumflex |
Õ | Õ | Õ | Capital O, tilde |
Ö | Ö | Ö | Capital O, umlaut |
× | × | × | Multiply sign |
Ø | Ø | Ø | Capital O, slash |
Ù | Ù | Ù | Capital U, grave accent |
Ú | Ú | Ú | Capital U, acute accent |
Û | Û | Û | Capital U, circumflex |
Ü | Ü | Ü | Capital U, diæresis / umlaut |
Ý | Ý | Ý | Capital Y, acute accent |
à | à | à | Small a, grave accent |
á | á | á | Small a, acute accent |
â | â | â | Small a, circumflex |
ã | ã | ã | Small a, tilde |
ä | ä | ä | Small a, diæresis / umlaut |
å | å | å | Small a, ring |
æ | æ | æ | Small ae ligature |
ç | ç | ç | Small c, cedilla |
è | è | è | Small e, grave accent |
é | é | é | Small e, acute accent |
ê | ê | ê | Small e, circumflex |
ë | ë | ë | Small e, diæresis / umlaut |
ì | ì | ì | Small i, grave accent |
í | í | í | Small i, acute accent |
î | î | î | Small i, circumflex |
ï | ï | ï | Small i, diæresis / umlaut |
ð | ð | ð | Small eth, Icelandic |
ñ | ñ | ñ | Small n, tilde |
ò | ò | ò | Small o, grave accent |
ó | ó | ó | Small o, acute accent |
ô | ô | ô | Small o, circumflex |
õ | õ | õ | Small o, tilde |
ö | ö | ö | Small o, diæresis / umlaut |
÷ | ÷ | ÷ | Division sign |
ø | ø | ø | Small o, slash |
ù | ù | ù | Small u, grave accent |
ú | ú | ú | Small u, acute accent |
û | û | û | Small u, circumflex |
ü | ü | ü | Small u, diæresis / umlaut |
ý | ý | ý | Small y, acute accent |
þ | þ | þ | Small thorn, Icelandic |
ÿ | ÿ | ÿ | Small y, diæresis / umlaut |
antiquewhite | aqua | aquamarine |
azure | azure [#F0FFFF] | beige |
bisque | black | blanchedalmond |
blue | blueviolet | brown |
burlywood | cadetblue | chartreuse |
chocolate | coral | cornflowerblue |
cornsilk | crimson | cyan |
darkblue | darkcyan | darkgoldenrod |
darkgray | darkgreen | darkkhaki |
darkmagenta | darkolivegreen | darkorange |
darkorchid | darkred | darksalmon |
darkseagreen | darkslateblue | darkslategray |
darkturquoise | darkviolet | deeppink |
deepskyblue | dimgray | dodgerblue |
firebrick | floralwhite | forestgreen |
fuchsia | gainsboro | ghostwhite |
gold | goldenrod | gray |
green | greenyellow | honeydew |
hotpink | indianred | indigo |
ivory | khaki | lavender |
lavenderblush | lawngreen | lemonchiffon |
lightblue | lightcoral | lightcyan |
lightgoldenrodyellow | lightgreen | lightgrey |
lightpink | lightsalmon | lightseagreen |
lightskyblue | lightslategray | lightsteelblue |
lightyellow | lime | limegreen |
linen | magenta | maroon |
mediumaquamarine | mediumblue | mediumorchid |
mediumpurple | mediumseagreen | mediumslateblue |
mediumspringgreen | mediumturquoise | mediumvioletred |
midnightblue | mintcream | mistyrose |
moccasin | navajowhite | navy |
oldlace | olive | olivedrab |
orange | orangered | orchid |
palegoldenrod | palegreen | paleturquoise |
palevioletred | papayawhip | peachpuff |
peru | pink | plum |
powderblue | purple | red |
rosybrown | royalblue | saddlebrown |
salmon | sandybrown | seagreen |
seashell | sienna | silver |
skyblue | slateblue | slategray |
snow | springgreen | steelblue |
tan | teal | thistle |
tomato | turquoise | violet |
wheat | white | whitesmoke |
yellow | yellowgreen |