About HTML Tags


About HTML Tags

This document describes the HTML tags supported by Microsoft® Internet Explorer 3.0. The document gives a description, examples and source specification for the tags. The Reference section lists all tags and provides complete details about the tags and their attributes. These sections group the tags functionally and provide overview information and more examples.
Category Description
Reference Alphabetical listing of all HTML tags.
Index Alphabetical listing of all HTML tags and attributes.
Basics Lists the basic tags you need to create an HTML file.
Character Formatting Lists the different tags used to format fonts.
Images and Multimedia Learn how to use tags to embed video clips, sound, and marquees.
Color Lists the supported colornames and the tags which support these colornames.
Frames Includes the Internet Explorer 3.0 frame tags to create frames.
Lists Includes all of the tags which support different list types.
Tables Includes the Internet Explorer 3.0 table tag extensions to support HTML tables.
Forms Includes tags which produces forms, form control types, and list boxes.
Image Maps The most common use of image maps is to allow users to access different documents by clicking different areas in an image.
Objects Lists the tags to embed ActiveX controls.
Client Pull Client pull provides the ability to automatically load a new document in the specified time or reload a document on a regular basis.
Character Set ISO Latin-1 and complete character sets for English (US) you can represent in HTML.
Compatibility Lists the supported tags and attributes and identifies the HTML specifications and HTML viewers that they are compatible with.

Basics

An HTML document is a text file that contains the elements that Internet Explorer uses to format a document, to display multimedia objects, and to create hyperlinks.

An HTML document file contains many elements. An element consists of a start-tag, an-end tag and the data characters enclosed by the two tags. A tag defines a format to apply or an action to take. An element can have one or more attributes and values. A tag starts with a less than (<) sign and ends with a greater than (>) sign. Tag and attribute names are not case-sensitive, but are typically written in uppercase to distinguish them from the data characters.

An end-tag consists of the tag name immediately preceded by a slash (/). Some tags require that you always provide the matching end-tag; others allow you to omit the end tag if the result is clear and unambiguous.

This is a very simple HTML document:

<HTML>
<HEAD>
<TITLE>Simple HTML Document</TITLE>
</HEAD>
<BODY>
<P>A very simple HTML document.
</BODY>
</HTML> 

An HTML document starts with an HTML tag. This marks the file as an HTML document. The matching end tag (</HTML>) is the last tag in the file. The HEAD tag marks beginning of the document header. Typically, the TITLE element appears here. Internet Explorer displays this element in its title bar.

The BODY tag appears at the start of the content of the document. The BODY element encloses the body text, images, and multimedia objects. The P element adds a new paragraph with a carriage return and line feed. The ending P tag is typically omitted, meaning the scope of the tag extends to the next tag that affects paragraphs (in this case, the </BODY> tag).

HTML supports hyperlinks. The A element, or anchor, maps text or a graphic to another document or to a location within the current document. A hyperlink is defined by a clickable "hotspot" (the text or an image) and a reference. To create a hyperlink, you enclose the text or image with the anchor tags, and set the HREF= attribute to the destination address, as in the following:

<P>Click <A HREF="//www.microsoft.com/">here</A> to visit the Microsoft web site.

In this example, the address for the Web site is enclosed in double quotation marks. The double quotation marks are optional unless the attribute value contains any spaces. If you enclose an value that contains double quotation marks, use &QUOT; for each occurrence of the mark within the value.

You can create a hyperlink destination (an anchor spot) within your HTML document by using the NAME= attribute. Use the A tag to relate text or a graphic to a name that you create. This lets you create hyperlinks that jump to locations within your document rather than to other documents. The following example creates a destination (named using) and shows how to create a hyperlink to that destination:

<A NAME="using"></A><H2>Using Internet Explorer 3.0</H2>

...

<P>For more information, see <A HREF="#using">Using Internet Explorer 3.0</A>

Note Although Internet Explorer can display incomplete or improperly tagged files, the result is often not what you may have intended. You should always use the tags carefully, using them only in the context in which they are defined to be used and omitting end tags only if defined as optional.

Sections and Paragraphs

The typical HTML document consists of one or more text paragraphs organized into sections. You can mark the beginning of the sections in your HTML documents by using the H tags. These tags create section headings, applying changes to the size and style of the text in the heading to indicate the section level. The following example creates a first level section heading:

<H1>Welcome to Internet Explorer!</H1> 

The H allows for seven levels; you specify the level by using the tag name that includes that level number (H1, H2, H3, and so on). The end tag is always required; it marks the end of the section heading.

By default, section headings are left-aligned. You can override the default alignment and center the heading by using the ALIGN= attribute, as in the following example:

<H2 ALIGN=CENTER>How to Use Internet Explorer</H2> 

In addition to using the P tag to create simple paragraphs, you can use tags, such as BLOCKQUOTE, LISTING, PLAINTEXT, PRE and XMP, to create paragraphs that use a different size and style for the text. For example, you can use the PRE tag to display characters in a fixed-width font rather than the variable-width font used for simple paragraphs, or the BLOCKQUOTE tag to slightly indent the paragraph text (from both the left and right margins) to make the paragraph stand out.

You can apply a style to a sequence of paragraphs (for example, those tagged with P) by enclosing the paragraphs with a ADDRESS, BLOCKQUOTE, or CENTER tag. The following example shows how to center a sequence of simple paragraphs:

<CENTER>
<P>This paragraph is centered.

<P>And this paragraph is centered too.
</CENTER>

An alternate way to center individual paragraphs is to use the ALIGN= attribute with the P tag and set the attribute value to CENTER, as in the following example:

<P ALIGN=CENTER>This paragraph is centered.

Character Formatting

You can use a variety of tags to set the size and style of the text characters. For example, you can use the B or STRONG tag to make text bold, and the I or EM tag to make text italic. Similarly, you can use the S or STRIKE tag to strike out text, and the U tag to underline text. The following example sets words and phrases in paragraphs to bold and italic:

<P>This <B>word</B> is bold; this <I>word</I> is italic. 

<P><STRONG>This phrase is bold</STRONG>; <EM>this is italic</EM>.

You can apply character formatting to a sequence of paragraphs (for example, those tagged with P) by enclosing the paragraphs with a character formatting tag. For example, to make all the text in a sequence of paragraphs bold, do the following:

<B>
<P>This text is bold.

<P>And this text is bold too.
</B>

Although you can use this technique with simple paragraphs, some tags "block" the effect of the character formatting tags. For example, you can not make all the text in a table bold by enclosing it in a B tag.

You can create superscripts and subscripts by using the SUP and SUB tags. These tags reduce the size of the text and align it at the top or bottom of the current line of text.

You can change the size of the text by using tags such as BIG and SMALL, or by using the SIZE= attribute with the FONT tag. The following example increases the size of the word "LARGE" and reduces the word "TINY":

<P>Use the <BIG>LARGE</BIG> machine for business, the <SMALL>TINY</SMALL> machine for personal items.

If you use the FONT tag to change text size, you can specify either a fixed or relative size. A fixed size is a number in the range 1 through 7. A relative size is a positive or negative number, preceded by the plus (+) or minus (-) sign, that indicates a size that is relative to the base font size, as set using the BASEFONT tag. The following example shows the effect of using relative sizes:

<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.

You can also use the FACE= attribute with the FONT tag to set the facename of the font used for text. Typical facenames are "Arial", "Times New Roman", and "Courier New", but you can use the facename of any font installed on the device on which your HTML document is viewed. The following example sets the "Arial" font for the text in the section heading:

<H1><FONT FACE="ARIAL">Welcome to Internet Explorer!</FONT></H1> 

If the given font is not available, Internet Explorer uses a default font. To increase the chances that a font of your choice is applied to the text, you can specify more than one facename in a FONT tag. In this case, Internet Explorer checks for each font (in the order given) before using to the default font. In the following example, Internet Explorer checks for "Arial", "Lucida Sans", and "Times Roman" before resorting to the default font:

<FONT FACE="Arial,Lucida Sans,Times Roman"> This text will be in either Arial, Lucida Sans, or Times Roman, depending on which fonts you have installed on your system.</FONT> 

You can apply size and font changes to a sequence of paragraphs by enclosing the paragraphs with the FONT tag. As with other character formatting tags, some tags "block" the effect of the FONT, so this technique may not work for all paragraphs. For example, table tags accept font facename changes but block size changes.

Color

You can set colors in your HTML document by using the color attributes of the BODY, FONT, HR, MARQUEE, and TABLE tags. For example, you can set background color for your document by using the BGCOLOR= attribute with the BODY tag as in the following example:

<BODY BGCOLOR=WHITE>
<P>This page has a white background.
</BODY>

You can specify colors in two ways: by using a predefined color name (as in the example above), or by using a hexadecimal number to denote a red-green-blue color value.

Internet Explorer supports the following predefined color names:
AQUA BLACK
BLUE FUCHSIA
GRAY GREEN
LIME MAROON
NAVY OLIVE
PURPLE RED
SILVER TEAL
WHITE YELLOW

Note This feature is not compatible with Netscape v2.0.

A red-green-blue color value consists of three byte values, with each value specifying the intensity of the corresponding color. For example, the color value #00FF0000 is red because the red value is set to full intensity and green and blue are set to zero. Similary, #0000FF00 is green and #000000FF is blue. When forming a color value, you can use an optional number (#) sign and leading zeros to help make the value as a number. The following example sets the color of a horizontal rule to red:

<HR COLOR=#00FF0000> 

Although red-green-blue color values theoretically allow for many thousands of colors, the actual number of colors available for your HTML document depends on the color capabilities of the devices the document will be viewed on. Always choose colors carefully, and whenever possible test the results of your color choices on a variety of devices.

Images and Multimedia

You can embed images, sounds, and even video clips in your HTML document by using the IMG and BGSOUND tags. And you can apply simple animation to text by using the MARQUEE tag.

You use the IMG to insert images into your document. You specify the image source, typically a GIF or JPEG file, and specify the image attributes, such as the width and height, alignment, and so on. The following example inserts the image of the earth:

<IMG SRC="TheEarth.gif" WIDTH=46 HEIGHT=46 ALT="Picture of the Earth"> 

The SRC= attribute specifies the name of the image file, and the ALT= attribute specifies the text to be displayed if the user chooses not to view images.

When you place an IMG tag in text, Internet Explorer aligns the surrounding text with the bottom of the image. You can align the text with the top or middle of the image by using the ALIGN= attribute to set the alignment to TOP or MIDDLE. In this case, the image keeps its position within the surronding text.

You can also use the ALIGN= attribute to have the text flow around the image. For example, setting this attribute to LEFT aligns the image with the left margin and wraps all subsequent text around the right side of the image. Similarly, setting it to RIGHT wraps all subsequent text around the left side. When you use the LEFT or RIGHT alignment, typically it is useful to also use the BR tag with the CLEAR= attribute to stop wrapping and force all remaining text below the image, as in the following example:

<IMG SRC="TheEarth.gif" ALIGN=LEFT> Here's some text to the right of a picture.
<BR CLEAR=LEFT>Here's some text beneath the picture. 

You can also use the IMG tag to insert video clips, such as .avi (Audio Video Interleave) video files, in your document. You specify the name of the clip by using the DYNSRC= attribute, as in the following example:

<IMG DYNSRC="TheEarth.avi" SRC="TheEarth.gif" WIDTH=46 HEIGHT=46 LOOP=INFINITE ALIGN=RIGHT>

The LOOP= attribute specifies how often the video clip plays. In this example, the clip plays continuously. You can also use attributes such as CONTROLS and START= to give the user some control over when and how the clip plays. Notice that the SRC= attribute is given. This ensures that Internet Explorer displays an image even if the given video clip is not available.

You can use an image as a hotspot for a hyperlink by enclosing the IMG tag with the A tag. By default, Internet Explorer draws a border around the image to mark it as a hotspot, but you can prevent this border by setting the BORDER= attribute in the IMG tag to zero.

You can add background sounds or music to your document by using the BGSOUND tag. You specify the address of a sound file, such as a .WAV, .AU, or MIDI file, and use the LOOP= attribute to set how often the file plays, as in the following example:

<BGSOUND SRC="boing.wav" LOOP=5>You will hear a boinging noise five times in a row.

You can animate a line of text by using the MARQUEE tag. The tag automatically scrolls the text, to the left or right, whenever a user views your document. To animate the text, you enclose it in the tag and set attributes for scroll direction, type and amount, as in the following example:

<MARQUEE DIRECTION=RIGHT BEHAVIOR=SCROLL SCROLLAMOUNT=10 SCROLLDELAY=200>This is a scrolling marquee.</MARQUEE> 

In this example, the text "This is a scrolling marquee." scrolls from the left margin to the right. After it disappears beyond the right margin, it starts again at the left. The text moves 10 pixels after each 200 millisecond delay.

You can align marquees to the left or right, like images, and also set the background color, height, width, and extra spacing around the marquee.

Frames

Frames give you a unique way to organize and structure your HTML documents, letting you create compound documents that the user can view within the main window of Internet Explorer. To use frames, you create a document that uses the FRAMESET and FRAME tags to divide the main window into rectangular frames (like panes in a window). Then for each frame, you specify an HTML document that contains the content (text and images) to fill the frame. For example, you can split the main window into two equal frames and fill these with different documents by using the following tags:

<HTML>
<HEAD>
<TITLE>Two Equal Frames</TITLE>
</HEAD>
<FRAMESET COLS="50%,*">
<FRAME SRC=x.htm>
<FRAME SRC=y.htm>
</FRAMESET>
</HTML>

In this example, the COLS= attribute in the FRAMESET tag specifies the width of the frames. The width of the first frame is 50% of the main window, and width of the second, given as an asterisk, is relative to the first (meaning it spans whateven is left of the main window). Note that this document does not contain a BODY tag. This is because documents that define frames do not contain content. Instead, the SRC= attribute in each FRAME tag specifies a document. In this example, the X.HTM and Y.HTM files provide the content.

You can divide the main window into rows, as well as columns, by using the ROWS= attribute. Furthermore, you can independently divide individual rows into rows and columns by nesting FRAMESET tags. The following example shows how to divide the main window into two rows in which the last row is divided into two columns:

<HTML>
<HEAD>
<TITLE>Nested Frames</TITLE>
</HEAD>
<FRAMESET ROWS="10%,*">
<FRAME SCROLLING=NO SRC=z.htm>
<FRAMESET COLS="50%,*">
<FRAME SRC=x.htm>
<FRAME SRC=y.htm>
</FRAMESET>
</FRAMESET>
</HTML>

In this example, the SCROLLING= attribute is used in the first FRAME tag to prevent the scroll bar from being displayed. By default, Internet Explorer displays the scroll bar only if the entire content of the frame does not fit within the frame. Setting SCROLLING= to NO always prevents the scroll bar.

The FRAME tag has attributes to let you can set the width and height of margins within the frame and whether the frame has a border. The FRAMESET tag has attributes to let you set the spacing between frames and whether the frames in the set have borders.

An important feature of the FRAME tag is the NAME= attribute. This attribute lets you assign a unique name to the frame, and you can use this name when creating hyperlinks to direct documents into the frame. To create such a hyperlink, you need to use the TARGET= attribute in the A command. For example, the following tag creates a hyperlink that displays the X.HTM file in a frame named CONTENT:

<A HREF="x.htm" TARGET="CONTENT">List of Components</A>

Internet Explorer provides an alternate way to create compound documents by letting you place FRAME tags in your HTML document. This lets you insert HTML documents into your document in the same way you insert images using the IMG tag. This means you can use the ALIGN= attribute to just as you do with IMG to align the frame with the surrounding text. The following example aligns a frame at the left margin and wraps subsequent text around the right side of the frame:

<FRAME SRC="x.htm" ALIGN=LEFT> Here's some text to the right of a frame.
<BR CLEAR=LEFT>Here's some text beneath the frame. 

Lists

You can create a variety of lists in your document by using the UL, OL, MENU, and DIR tags in conjunction with the LI tag. You can also create definition lists which give you a simple two column list for terms and their definitions.

For example, you can create a bulleted list, consisting of individual items preceded by a bullet character, by using UL and LI, as in the following example:

<UL>
<LI>Bulleted Lists
<LI>Ordered Lists
<LI>Directory Lists
<LI>Itemized Lists
<LI>Definition Lists
</UL>

You use the OL and LI tags to create an ordered list. The list consists of individual items that are sequentially numbered or lettered. To set the style of numbering or lettering, you use the TYPE= attribute in OL. Similarly, you use the START= attribute to set the initial number or letter. By default, the style is decimal numbers starting at 1.

The DIR and LI tags create a directory list, consisting of individual items, none containing more than 20 characters, displayed in columns. The MENU and LI tags create an itemized list consisting of individual items.

A definition list is an automatically formatted two-column list with terms on the left and their definitions on the right. You use the DL, DT and DD tags to create definition lists. The following example shows how to use these tags to create a list:

<DL>
<DT>Cat
<DD>A furry cute animal that purrs and likes milk.
<DT>Lizard
<DD>A weird desert animal with a long tongue.
</DL> 

Tables

Tables let you organize and present information in rows and columns. You use the TABLE tag to create the table, and the TR and TD tags to create the rows and cells of the table. The individual cells are where you place the information of the table, whether it be text or images. The following example shows a simple table consisting of two rows and two columns (four cells):

<TABLE>
<TR>
<TD>Apples<TD>Celery
<TR>
<TD>Oranges<TD>Carrots
</TABLE>

By default, Internet Explorer places the left side of the table at the left margin of the window and sets the width of the table to be just enough to clearly display the text and images in the cells. Also, it places the content of each cell in the middle and left edge of the cell.

You can override these defaults by specifying attributes. For example, you can set the width of the table by using the WIDTH= attribute in the TABLE table. Similarly, you can align the content of each cell to the top, left, right, or bottom of a cell by using the ALIGN= and VALIGN= attributes in TR or TD. The following example creates a table that is the full width of the window and in which the contents of each cell are aligned at the top-left of the cell:

<TABLE WIDTH=100%>
<TR VALIGN=TOP ALIGN=LEFT>
<TD>Apples<TD>Celery
<TR VALIGN=TOP ALIGN=LEFT>
<TD>Oranges<TD>Carrots
</TABLE>

In this example, the table width is given as a percentage of the total Internet Explorer window width. But you can also specify table widths in pixels.

You can add a caption, row and column headings, and a border to a table by using tags and attributes. For example, you can add a caption to a table by using the CAPTION tag. By default, the caption is centered above the table, but you can use the ALIGN= attribute to place the caption at the top or bottom and at the left or right edge of the table.

To add headings to the rows and columns of a table, you use the TH tag. This tag is like the TD tag in that it creates a cell and can contain text and images, but it automatically emphasizes its text to distinguish it from text in other cells. To draw a border around the table and the individual cells, you use the BORDER= attribute in the TABLE tag. You specify the border width in pixels. The following example creates a table with headings, border, and a caption:

<TABLE BORDER=1>
<CAPTION>Fruits and Vegetables</CAPTION>
<TR>
<TH>Fruits<TH>Vegetables
<TR>
<TD>Apples<TD>Celery
<TR>
<TD>Oranges<TD>Carrots
</TABLE>

By default, Internet Explorer centers headings in the cell, but you can override this by using the ALIGN= and VALIGN= attributes.

You can add color to your tables by using the BGCOLOR= and BORDERCOLOR= attributes. These attributes are available in the TABLE, TR, and TD tags, so you can apply colors to all cells in a table, to cells in selected rows, or to individual cells. The BGCOLOR= attribute sets the color used to fill the background of the cell before text and images are drawn. The BORDERCOLOR= attribute sets the color of the borders drawn around the table, row, or cell. The following example uses the same background color for the column headings, but different colors for the two columns in the table:

<TABLE BORDERCOLOR=NAVY BORDER=1>
<CAPTION>Fruits and Vegetables</CAPTION>
<TR BGCOLOR=GRAY>
<TH>Fruits<TH>Vegetables
<TR>
<TD BGCOLOR=LIME>Apples<TD BGCOLOR=AQUA>Celery
<TR>
<TD BGCOLOR=LIME>Oranges<TD BGCOLOR=AQUA>Carrots
</TABLE>

You can change the character formatting for the text in a table by using the tags such as B, I, and FONT. You can change the color and font facename for all text in a table by enclosing the table in an appropriate FONT tag, but the table tags block the effect of other character formatting tags. To get these effects, you must apply the tags within each cell.

Within a cell, you can use most of the tags that you ordinarily use in body of the HTML document, including tags for section headings, lists, and even other tables. Using tables in this way can give you additional control over the placement of text and images when your document is displayed, but can also make the management of your document more complex. For example, you can use tables to give your document a two-column layout by nesting a single-column table in each cell of a two-column table. But if you do this, you must take special care to divide the content of your document equally between the two nested tables and be prepared to account for differences in the size of the window through which users view your document. In most cases, documents that use tables in this way are designed to be viewed within a minimum window size at a given screen resolution.

If you use tables in the more traditional way (that is, presenting information in rows and columns), there are some additional tags and attributes that can make that job easier. The THEAD, TBODY and TFOOT tags let you divide your tables into parts: header, body, and footer. The COLGROUP and COL tags let you group columns within the table and globally apply properties, such as alignment, to the columns without having to specify these properties in each TD tag.

The FRAME= and RULES= attributes in the TABLE tag let you control how the table border is drawn. For example, you can choose to have no border around the outside of the table while restricting the border inside the table to just vertical rules separating the columns and horizontal rules separating the table header, body, and footer. The COLSPAN= and ROWSPAN= attributes in the TD and TH tags let you extend the content of a cell into adjoining cells. This is useful, for example, if you need to stretch a column heading across more than one column.

The following example shows how some of these tags and attributes can be used in a table:

<TABLE WIDTH=50% BORDER=1 FRAME=BOX RULES=GROUPS>
<COLGROUP ALIGN=CENTER>
<COLGROUP ALIGN=CENTER>
<THEAD>
<TR>
<TH COLSPAN=2>Fruits and Vegetables
<TBODY>
<TR>
<TD>Apples<TD>Celery
<TR>
<TD>Oranges<TD>Carrots
</TABLE>

Internet Explorer supports the HTML 3.0 table model. For detailed information about this model, see the document at http://www.w3.org/pub/WWW/TR/WD-tables.

Image Maps

Image maps allow users to access different documents by clicking different areas in an image. You can implement image maps in two ways: by storing image map information on a server or by including image map information in your document.

If you store image map information on a server, you need a script or other service on the server to process click information. In your document, you mark the image as a "server-side" image map by using the ISMAP attribute in the IMG tag and enclosing the image in an A tag, as in the following example:

<A HREF="jump.map"><IMG SRC="sample.gif" ISMAP></A> 

In this example, the image map information is in the file name JUMP.MAP. When the user clicks on the picture SAMPLE.GIF, the server receives the coordinates of the click, and can pick the appropriate destination for the click by checking the information in JUMP.MAP.

If you include image map information in your document, Internet Explorer processes the click information and picks the appropriate destination for the click. In your document, you mark the image as a "client-side" image map by using the USEMAP= attribute in the IMG tag, and you add image map information by using the MAP and AREA tags, as in the following example:

<MAP NAME="map1">
<AREA SHAPE="RECT" COORDS="0, 0, 16, 16" HREF="sample1.htm"> 
<AREA SHAPE="RECT" COORDS="16, 0, 16, 16" NOHREF> 
<AREA SHAPE="RECT" COORDS="0, 16, 16, 16" HREF="sample2.htm"> 
<AREA SHAPE="RECT" COORDS="16, 16, 16, 16" HREF="sample3.htm"> 
</MAP>
<IMG BORDER=0 SRC="map1.gif" USEMAP="#map1">

In this example, the image map defines four equal rectangular areas. One area has no corresponding destination, but the other three map to the SAMPLE1.HTM, SAMPLE2.HTM, and SAMPLE3.HTM files, respectively.

The AREA tag permits other shapes, such as circles and polygons. If two or more shapes overlap, Internet Explorer uses the first shape defined in the MAP tag to determine the destination. Any number of AREA can specify the same destination. This is useful if you want to map a complex shape to a single destination. If a portion of the image is not within a given shape, clicking in that portion has no effect.

Forms

Forms provide a way to prompt the user for information and to carry out actions based on that input. A form consists of one or more input controls that the user uses to enter text and makes choices. Once the user provides the input, the form collects the information and sends it to a specified destination on a server. To carry out the requested action, the server must have a script or other service that corresponds to the given destination. This script processes the information and carries out any actions.

To create a form, you use the FORM tag to enclose one or more INPUT tags. The FORM tag specifies the action to take when the user has provided the information. The INPUT tags define the type and function of the input controls in the form. The following example shows how to combine these tags to create a form:

<FORM ACTION="http://intranet/survey" METHOD=POST>
<P>Name
<BR><INPUT NAME="CONTROL1" TYPE=TEXTBOX VALUE="Your Name">
<P>Password
<BR><INPUT TYPE="PASSWORD" NAME="CONTROL2">
<P>Color
<BR><INPUT TYPE="RADIO" NAME="CONTROL3" VALUE="0" CHECKED>Red
<INPUT TYPE="RADIO" NAME="CONTROL3" VALUE="1">Green
<INPUT TYPE="RADIO" NAME="CONTROL3" VALUE="2">Blue
<P>Comments
<BR><INPUT TYPE="TEXTAREA" NAME="CONTROL4" SIZE="20,5" MAXLENGTH="250">
<P><INPUT NAME="CONTROL5" TYPE=CHECKBOX CHECKED>Send receipt
<P><INPUT TYPE="SUBMIT" VALUE="OK"><INPUT TYPE="RESET" VALUE="Reset">
</FORM>

Objects

Internet Explorer supports objects according to the HTML 3.0 object model. Objects add functionality to your HTML document by letting you insert images, video, and programs, such as JAVA and ActiveX controls.

To insert an object, you use the OBJECT tag, supplying attribute values that specify the object type, location, initial data, and so on. If the object has settable properties, you can set these using the PARAM tag. The following example shows how to insert the marquee ActiveX control and fill it with content:

<OBJECT
ALIGN=CENTER CLASSID="clsid:1a4da620-6217-11cf-be62-0080c72edd2d"
WIDTH=200 HEIGHT=200 BORDER=1 HSPACE=5
ID=marquee>
<PARAM NAME="ScrollStyleX" VALUE="Circular">
<PARAM NAME="ScrollStyleY" VALUE="Circular">
<PARAM NAME="szURL" VALUE="marqcont.htm">
<PARAM NAME="ScrollDelay" VALUE=60>
<PARAM NAME="LoopsX" VALUE=-1>
<PARAM NAME="LoopsY" VALUE=-1>
<PARAM NAME="ScrollPixelsX" VALUE=0>
<PARAM NAME="ScrollPixelsY" VALUE=-3>
<PARAM NAME="DrawImmediately" VALUE=0>
<PARAM NAME="Whitespace" VALUE=0>
<PARAM NAME="PageFlippingOn" VALUE=0>
<PARAM NAME="Zoom" VALUE=100>
<PARAM NAME="WidthOfPage" VALUE=400>
</OBJECT>

In this example, the OBJECT tag specifies the class identifier of the control (assumed to be already installed and registered) and the alignment, width, height, and other attributes of the control. The series of PARAM tags sets the values for the individual properties of the control, determining how and when the contents are scrolled. The "szURL" property determines which HTML document is used as content.

A matching end tag is required for each OBJECT tag. Within these tags, you may place one or more PARAM tags. You can also place any tags and text that you would ordinarily use in the body of the HTML document, but these tags and text are not processed and displayed unless the HTML viewer does not process the OBJECT tag.

For detailed information about the HTML 3.0 object model, see the document at http://www.w3.org/pub/WWW/TR/WD-object.html.

Client Pull

Client pull provides the ability to automatically load a new document in the specified time or reload a document on a regular basis. Internet Explorer supports client pull using the META tag. The META tag must be inside the HEAD tag of the HTML document.

Character Set

This following information is described here:

ISO Latin-1 Character Set

Character HTML Alternate HTML Explanation
À &#192; &Agrave; Capital A, grave accent
à &#224; &agrave; Small a, grave accent
Á &#193; &Aacute; Capital A, acute accent
á &#225; &aacute; Small a, acute accent
 &#194; &Acirc; Capital A, circumflex
â &#226; &acirc; Small a, circumflex
à &#195; &Atilde; Capital A, tilde
ã &#227; &atilde; Small a, tilde
Ä &#196; &Auml; Capital A, diæresis / umlaut
ä &#228; &auml; Small a, diæresis / umlaut
Å &#197; &Aring; Capital A, ring
å &#229; &aring; Small a, ring
Æ &#198; &AElig; Capital AE ligature
æ &#230; &aelig; Small ae ligature
Ç &#199; &Ccedil; Capital C, cedilla
ç &#231; &ccedil; Small c, cedilla
È &#200; &Egrave; Capital E, grave accent
è &#232; &egrave; Small e, grave accent
É &#201; &Eacute; Capital E, acute accent
é &#233; &eacute; Small e, acute accent
Ê &#202; &Ecirc; Capital E, circumflex
ê &#234; &ecirc; Small e, circumflex
Ë &#203; &Euml; Capital E, diæresis / umlaut
ë &#235; &euml; Small e, diæresis / umlaut
Ì &#204; &Igrave; Capital I, grave accent
ì &#236; &igrave; Small i, grave accent
Í &#205; &Iacute; Capital I, acute accent
í &#237; &iacute; Small i, acute accent
Î &#206; &Icirc; Capital I, circumflex
î &#238; &icirc; Small i, circumflex
Ï &#207; &Iuml; Capital I, diæresis / umlaut
ï &#239; &iuml; Small i, diæresis / umlaut
Ð &#208; &ETH; Capital Eth, Icelandic
ð &#240; &eth; Small eth, Icelandic
Ñ &#209; &Ntilde; Capital N, tilde
ñ &#241; &ntilde; Small n, tilde
Ò &#210; &Ograve; Capital O, grave accent
ò &#242; &ograve; Small o, grave accent
Ó &#211; &Oacute; Capital O, acute accent
ó &#243; &oacute; Small o, acute accent
Ô &#212; &Ocirc; Capital O, circumflex
ô &#244; &ocirc; Small o, circumflex
Õ &#213; &Otilde; Capital O, tilde
õ &#245; &otilde; Small o, tilde
Ö &#214; &Ouml; Capital O, diæresis / umlaut
ö &#246; &ouml; Small o, diæresis / umlaut
Ø &#216; &Oslash; Capital O, slash
ø &#248; &oslash; Small o, slash
Ù &#217; &Ugrave; Capital U, grave accent
ù &#249; &ugrave; Small u, grave accent
Ú &#218; &Uacute; Capital U, acute accent
ú &#250; &uacute; Small u, acute accent
Û &#219; &Ucirc; Capital U, circumflex
û &#251; &ucirc; Small u, circumflex
Ü &#220; &Uuml; Capital U, diæresis / umlaut
ü &#252; &uuml; Small u, diæresis / umlaut
Ý &#221; &Yacute; Capital Y, acute accent
ý &#253; &yacute; Small y, acute accent
Þ &#222; &THORN; Capital Thorn, Icelandic
þ &#254; &thorn; Small thorn, Icelandic
ß &#223; &szlig; Small sharp s, German sz
ÿ &#255; &yuml; Small y, diæresis / umlaut

Complete Character Set

This is the complete character set for Internet Explorer 2.0 English (US.)
Character HTML Alternate HTML Explanation
&#00; - &#08; Unused
&#09; Horizontal tab
&#10; Line feed
&#11; - &#12; Unused
&#13; Carriage Return
&#14; - &#31; Unused
&#32; Space
! &#33; Exclamation mark
" &#34; &quot; Quotation mark
# &#35; Number sign
$ &#36; Dollar sign
% &#37; Percent sign
& &#38; &amp; Ampersand
' &#39; Apostrophe
( &#40; Left parenthesis
) &#41; Right parenthesis
* &#42; Asterisk
+ &#43; Plus sign
, &#44; Comma
- &#45; Hyphen
. &#46; Period (fullstop)
/ &#47; Solidus (slash)
0 &#48; Digit 0
1 &#49; Digit 1
2 &#50; Digit 2
3 &#51; Digit 3
4 &#52; Digit 4
5 &#53; Digit 5
6 &#54; Digit 6
7 &#55; Digit 7
8 &#56; Digit 8
9 &#57; Digit 9
: &#58; Colon
; &#59; Semi-colon
< &#60; &lt; Less than
= &#61; Equals sign
> &#62; &gt; Greater than
? &#63; Question mark
@ &#64; Commercial at
A &#65; Capital A
B &#66; Capital B
C &#67; Capital C
D &#68; Capital D
E &#69; Capital E
F &#70; Capital F
G &#71; Capital G
H &#72; Capital H
I &#73; Capital I
J &#74; Capital J
K &#75; Capital K
L &#76; Capital L
M &#77; Capital M
N &#78; Capital N
O &#79; Capital O
P &#80; Capital P
Q &#81; Capital Q
R &#82; Capital R
S &#83; Capital S
T &#84; Capital T
U &#85; Capital U
V &#86; Capital V
W &#87; Capital W
X &#88; Capital X
Y &#89; Capital Y
Z &#90; Capital Z
[ &#91; Left square bracket
\ &#92; Reverse solidus (backslash)
] &#93; Right square bracket
^ &#94; Caret
_ &#95; Horizontal bar (underscore)
` &#96; Acute accent
a &#97; Small a
b &#98; Small b
c &#99; Small c
d &#100; Small d
e &#101; Small e
f &#102; Small f
g &#103; Small g
h &#104; Small h
i &#105; Small i
j &#106; Small j
k &#107; Small k
l &#108; Small l
m &#109; Small m
n &#110; Small n
o &#111; Small o
p &#112; Small p
q &#113; Small q
r &#114; Small r
s &#115; Small s
t &#116; Small t
u &#117; Small u
v &#118; Small v
w &#119; Small w
x &#120; Small x
y &#121; Small y
z &#122; Small z
{ &#123; Left curly brace
| &#124; Vertical bar
} &#125; Right curly brace
~ &#126; Tilde
&#127; - &#129; Unused
&#130; Low single comma quotation mark
ƒ &#131; Function sign
&#132; Low double comma quotation mark
&#133; Ellipses
&#134; Dagger
&#135; Double dagger
ˆ &#136; Caret
&#137; Per mile sign
Š &#138; Capital S Hacek
&#139; Less-than sign
Π&#140; Capital OE ligature
&#141; - &#144; Unused
&#145; Single beginning quotation mark
&#146; Single ending quotation mark
&#147; Double beginning quotation mark
&#148; Double ending quotation mark
&#149; Dot, middle
&#150; En dash
&#151; Em dash
˜ &#152; Tilde
&#153; Trademark symbol
š &#154; Small s Hacek
&#155; Greater-than sign
œ &#156; Small oe ligature
&#157; - &#158; Unused
Ÿ &#159; Capital Y, diæresis / umlaut
  &#160; &nbsp; Non-breaking Space
¡ &#161; Inverted exclamation
¢ &#162; Cent sign
£ &#163; Pound sterling
¤ &#164; General currency sign
¥ &#165; Yen sign
¦ &#166; Broken vertical bar
§ &#167; Section sign
¨ &#168; Diæresis / Umlaut
© &#169; Copyright
ª &#170; Feminine ordinal
« &#171; Left angle quote, guillemot left
¬ &#172; Not sign
­ &#173; &shy; Soft hyphen
® &#174; Registered trademark
¯ &#175; Macron accent
° &#176; Degree sign
± &#177; Plus or minus
² &#178; Superscript two
³ &#179; Superscript three
´ &#180; Acute accent
µ &#181; Micro sign
&#182; Paragraph sign
· &#183; Middle dot
¸ &#184; Cedilla
¹ &#185; Superscript one
º &#186; Masculine ordinal
» &#187; Right angle quote, guillemot right
¼ &#188; Fraction one-fourth
½ &#189; Fraction one-half
¾ &#190; Fraction three-fourths
¿ &#191; Inverted question mark
À &#192; &Agrave; Capital A, grave accent
Á &#193; &Aacute; Capital A, acute accent
 &#194; &Acirc; Capital A, circumflex
à &#195; &Atilde; Capital A, tilde
Ä &#196; &Auml; Capital A, diæresis / umlaut
Å &#197; &Aring; Capital A, ring
Æ &#198; &AElig; Capital AE ligature
Ç &#199; &Ccedil; Capital C, cedilla
È &#200; &Egrave; Capital E, grave accent
É &#201; &Eacute; Capital E, acute accent
Ê &#202; &Ecirc; Capital E, circumflex
Ë &#203; &Euml; Capital E, diæresis / umlaut
Ì &#204; &Igrave; Capital I, grave accent
Í &#205; &Iacute; Capital I, acute accent
Î &#206; &Icirc; Capital I, circumflex
Ï &#207; &Iuml; Capital I, diæresis / umlaut
Ð &#208; &ETH; Capital Eth, Icelandic
Ñ &#209; &Ntilde; Capital N, tilde
Ò &#210; &Ograve; Capital O, grave accent
Ó &#211; &Oacute; Capital O, acute accent
Ô &#212; &Ocirc; Capital O, circumflex
Õ &#213; &Otilde; Capital O, tilde
Ö &#214; &Ouml; Capital O, diæresis / umlaut
× &#215; Multiply sign
Ø &#216; &Oslash; Capital O, slash
Ù &#217; &Ugrave; Capital U, grave accent
Ú &#218; &Uacute; Capital U, acute accent
Û &#219; &Ucirc; Capital U, circumflex
Ü &#220; &Uuml; Capital U, diæresis / umlaut
Ý &#221; &Yacute; Capital Y, acute accent
Þ &#222; &THORN; Capital Thorn, Icelandic
ß &#223; &szlig; Small sharp s, German sz
à &#224; &agrave; Small a, grave accent
á &#225; &aacute; Small a, acute accent
â &#226; &acirc; Small a, circumflex
ã &#227; &atilde; Small a, tilde
ä &#228; &auml; Small a, diæresis / umlaut
å &#229; &aring; Small a, ring
æ &#230; &aelig; Small ae ligature
ç &#231; &ccedil; Small c, cedilla
è &#232; &egrave; Small e, grave accent
é &#233; &eacute; Small e, acute accent
ê &#234; &ecirc; Small e, circumflex
ë &#235; &euml; Small e, diæresis / umlaut
ì &#236; &igrave; Small i, grave accent
í &#237; &iacute; Small i, acute accent
î &#238; &icirc; Small i, circumflex
ï &#239; &iuml; Small i, diæresis / umlaut
ð &#240; &eth; Small eth, Icelandic
ñ &#241; &ntilde; Small n, tilde
ò &#242; &ograve; Small o, grave accent
ó &#243; &oacute; Small o, acute accent
ô &#244; &ocirc; Small o, circumflex
õ &#245; &otilde; Small o, tilde
ö &#246; &ouml; Small o, diæresis / umlaut
÷ &#247; Division sign
ø &#248; &oslash; Small o, slash
ù &#249; &ugrave; Small u, grave accent
ú &#250; &uacute; Small u, acute accent
û &#251; &ucirc; Small u, circumflex
ü &#252; &uuml; Small u, diæresis / umlaut
ý &#253; &yacute; Small y, acute accent
þ &#254; &thorn; Small thorn, Icelandic
ÿ &#255; &yuml; Small y, diæresis / umlaut

Compatibility

The following table lists the tags and attributes supported by Internet Explorer 3.0 and identifies either the first version of the HTML specification in which a tag or attribute is defined or the name of the HTML viewer in which the tags or attribute first appeared.
Tag Attribute Compatible With
A
A HREF HTML 2
A NAME HTML 2
A TARGET Netscape
ADDRESS HTML 2
AREA
AREA COORDS IExplore
AREA HREF IExplore
AREA NOHREF IExplore
AREA SHAPE IExplore
AREA TARGET Netscape
B HTML 2
BASE
BASE HREF HTML 2
BASE TARGET Netscape
BASEFONT
BASEFONT SIZE Netscape
BGSOUND
BGSOUND LOOP IExplore
BGSOUND SRC IExplore
BIG HTML 3
BLOCKQUOTE HTML 2
BODY HTML 2
BODY BACKGROUND HTML 3
BODY BGCOLOR Netscape
BODY BGPROPERTIES IExplore 2.0
BODY LEFTMARGIN IExplore 2.0
BODY LINK Netscape
BODY TEXT Netscape
BODY TOPMARGIN IExplore 2.0
BODY VLINK Netscape
BR
BR CLEAR HTML 3
CAPTION
CAPTION ALIGN HTML 3
CENTER Netscape
CITE HTML 2
CODE HTML 2
COL HTML 3
COL ALIGN HTML 3
COL SPAN HTML 3
COLGROUP HTML 3
COLGROUP ALIGN HTML 3
COLGROUP VALIGN HTML 3
COMMENT HTML 2
DD HTML 2
DFN HTML 2
DIR HTML 2
DL HTML 2
DT HTML 2
EM HTML 2
FONT
FONT COLOR IExplore
FONT FACE IExplore
FONT SIZE Netscape
FORM
FORM ACTION HTML 2
FORM METHOD HTML 2
FORM TARGET Netscape
FRAME
FRAME FRAMEBORDER IExplore
FRAME MARGINHEIGHT Netscape
FRAME MARGINWIDTH Netscape
FRAME NAME Netscape
FRAME NORESIZE Netscape
FRAME SCROLLING Netscape
FRAME SRC Netscape
FRAMESET
FRAMESET COLS Netscape
FRAMESET FRAMEBORDER IExplore
FRAMESET FRAMESPACING IExplore
FRAMESET ROWS Netscape
Hn HTML 2
Hn ALIGN HTML 3
HR HTML 2
HR ALIGN HTML 3
HR COLOR IExplore
HR NOSHADE Netscape
HR SIZE Netscape
HR WIDTH Netscape
HTML HTML 2
I HTML 2
IMG
IMG ALIGN HTML 3
IMG ALT HTML 2
IMG BORDER Netscape
IMG CONTROLS IExplore
IMG DYNSRC IExplore
IMG HEIGHT HTML 3
IMG HSPACE Netscape
IMG ISMAP HTML 2
IMG LOOP IExplore
IMG SRC HTML 2
IMG START IExplore
IMG USEMAP IExplore
IMG VSPACE Netscape
IMG WIDTH HTML 3
INPUT
INPUT ALIGN HTML 2
INPUT CHECKED HTML 2
INPUT MAXLENGTH HTML 2
INPUT NAME HTML 2
INPUT SIZE HTML 2
INPUT SRC HTML 2
INPUT TYPE HTML 2
INPUT TYPE=CHECKBOX HTML 2
INPUT TYPE=HIDDEN HTML 2
INPUT TYPE=IMAGE HTML 2
INPUT TYPE=PASSWORD HTML 2
INPUT TYPE=RADIO HTML 2
INPUT TYPE=RESET HTML 2
INPUT TYPE=SUBMIT HTML 2
INPUT TYPE=TEXT HTML 2
INPUT TYPE=TEXTAREA HTML 2
INPUT VALUE HTML 2
ISINDEX HTML 2
ISINDEX ACTION Netscape
ISINDEX PROMPT HTML 3
KBD HTML 2
LI HTML 2
LI TYPE Netscape
LI VALUE Netscape
LISTING HTML 2
MAP
MAP NAME IExplore
MARQUEE IExplore
MARQUEE ALIGN IExplore
MARQUEE BEHAVIOR IExplore
MARQUEE BGCOLOR IExplore
MARQUEE DIRECTION IExplore
MARQUEE HEIGHT IExplore
MARQUEE HSPACE IExplore
MARQUEE LOOP IExplore
MARQUEE SCROLLAMOUNT IExplore
MARQUEE SCROLLDELAY IExplore
MARQUEE VSPACE IExplore
MARQUEE WIDTH IExplore
MENU HTML 2
META
META CONTENT Netscape
META HTTP-EQUIV Netscape
NOBR Netscape
NOFRAMES Netscape
OL HTML 2
OL START Netscape
OL TYPE Netscape
OPTION HTML 2
OPTION SELECTED HTML 2
OPTION VALUE HTML 2
P HTML 2
P ALIGN HTML 3
PLAINTEXT HTML 2
PRE HTML 2
S HTML 2
SAMP HTML 2
SELECT HTML 2
SELECT MULTIPLE HTML 2
SELECT NAME HTML 2
SELECT SIZE HTML 2
SMALL HTML 3
STRIKE HTML 2
STRONG HTML 2
SUB HTML 3
SUP HTML 3
TABLE
TABLE ALIGN HTML 3
TABLE BACKGROUND IExplore
TABLE BGCOLOR IExplore
TABLE BORDERCOLOR IExplore
TABLE BORDERCOLORDARK IExplore
TABLE BORDERCOLORLIGHT IExplore
TABLE FRAME HTML 3
TABLE RULES HTML 3
TBODY HTML 3
TD
TD ALIGN HTML 3
TD BGCOLOR IExplore
TD BORDERCOLOR IExplore
TD BORDERCOLORDARK IExplore
TD BORDERCOLORLIGHT IExplore
TD VALIGN IExplore
TFOOT HTML 3
TH
TH ALIGN HTML 3
TH BGCOLOR IExplore
TH BORDERCOLOR IExplore
TH BORDERCOLORDARK IExplore
TH BORDERCOLORLIGHT IExplore
TH VALIGN IExplore
THEAD HTML 3
TITLE HTML 2
TR
TR
TR ALIGN HTML 3
TR BGCOLOR IExplore
TR BORDERCOLOR IExplore
TR BORDERCOLORDARK IExplore
TR BORDERCOLORLIGHT IExplore
TR VALIGN IExplore
TT HTML 2
U HTML 2
UL HTML 2
VAR HTML 2
WBR Netscape
XMP HTML 2


[Index] [Next]