This appendix is a reference to the HTML tags you can use in your documents, according to the HTML 2.0 Specification. In addition, tags defined in both the HTML 3.2 and Netscape Navigator 2 specification are listed. Tag supported by HTML 3.2 and Navigator 2 are listed as (HTML 3.2), while tags that are currently only available in Navigator 2 are listed as (NHTML). There are also several of tags listed that Navigator 2.0 does not yet support. These are listed as (HTML 3.2 only).
Note:
If you are new to HTML and Web publishing, you should obtain a copy of my book Teach Yourself Netscape 2 Web Publishing in a Week for a more detailed coverage of Web publishing techniques.
This section covers all of the major tags relating to publishing text on a Web page. This includes all the document formatting tags, character formatting tags, and paragraph formatting tags.
Comments tags are special tags that have no effect on the appearance or content of a Web page. They exist entirely for descriptive or informative purposes.
Any text enclosed within a comment tag is completely ignored by the Web browser. This includes tags, elements, and entities.
Used with HTML document validation systems such as Halsoft at http://www.halsoft.com/html-val-svc/ to indicate the level of HTML support included in a document. If included in a document, this tag must be placed on the very first line, before the <HTML> tag.
Used to indicate a more strict set of compliance tests for validation systems such as Halsoft. For more information, visit the Halsoft site listed previously. This site contains both the document validation system and a range of files covering document type definitions (DTD) and HTML standards.
The structure tags do not affect the actual appearance of a Web page, but are instead used to define separate section of the HTML code used when writing a Web page.
Encloses the entire HTML document.
Can Include: <HEAD> <BODY> <FRAMESET>
Encloses the head of the HTML document.
Can Include: <TITLE> <ISINDEX> <BASE> <NEXTID> <LINK> <META> <SCRIPT>
Encloses the body (text and tags) of the HTML document.
Attributes:
BACKGROUND=". . ." | (HTML 3.2) The name or URL for an image to tile on the page background |
BGCOLOR=". . ." | (NHTML) The color of the page background |
TEXT=". . ." | (NHTML) The color of the page's text |
LINK=". . ." | (NHTML) The color of unfollowed links |
ALINK=". . ." | (NHTML) The color of activated links |
VLINK=". . ." | (NHTML) The color of followed links |
Can Include: <H1> <H2> <H3> <H4> <H5> <H6> <P> <OL> <UL> <DIR> <MENU> <DL> <PRE> <BLOCKQUOTE> <FORM> <ISINDEX> <HR> <ADDRESS> <TABLE> <SCRIPT> <APPLET> <EMBED>
The <HEAD> block traditionally contains tags that describe the contents of a Web page but which have no actually effect on the Web pages appearance.
Indicates the title of the document.
Defines base values for the current document. Required in HTML 3.2.
Attributes:
HREF=". . ." | Override the base URL of the current document. |
TARGET=". . ." | Define a default target window for all links in the current document. |
Indicates that this document is a gateway script that enables searches.
Attributes:
PROMPT=". . ." | (HTML 3.2) The prompt for the search field. |
Allowed Inside: <BLOCKQUOTE> <BODY> <DD> <FORM> <HEAD> <LI> <TABLE>
Indicates the relationship between this document and some other document. Generally used only by HTML-generating tools.
Attributes:
HREF=". . ." | The URL of the referenced HTML document |
REL=". . ." | The forward relationship |
REV=". . ." | A reverse relationship, usually the mailto: address of the document's author |
TITLE=". . ." | The link's title |
Used to simulate HTTP response header messages in a HTML document.
Attributes:
HTTP-EQUIV=". . ." | HTTP response header name |
CONTENT=". . ." | Value assigned to the response header |
NAME=". . ." | Meta information name |
Indicates the "next" document to this one (as might be defined by a tool to manage HTML documents in series).
Attributes:
N=". . ."
Heading tags are used to format the appearance of text that represent headings on a Web page. All heading tags have the following characteristics:
Attributes:
ALIGN="CENTER" | (HTML 3.2) Centers the heading |
ALIGN="LEFT" | (HTML 3.2) Left justifies the heading |
ALIGN="RIGHT" | (HTML 3.2) Right justifies the heading |
ALIGN="JUSTIFY" | (HTML 3.2 only) Block justifies the heading where possible |
Can Include: <A> <IMG> <BR> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR>
Allowed Inside: <BLOCKQUOTE> <BODY> <FORM>
Block of text displayed on a Web page can be physically separated using paragraph formatting tags. These tags also can be used to define the justification of text within a paragraph.
A plain paragraph. The closing tag (</P>) is optional.
ALIGN=CENTER | (HTML 3.2) Centers the paragraph |
ALIGN=LEFT | (HTML 3.2) Left justifies the paragraph |
ALIGN=RIGHT | (HTML 3.2) Right justifies the paragraph |
ALIGN=JUSTIFY | (HTML 3.2 only) Block justifies the paragraph where possible |
Can Include: <A> <IMG> <BR> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR>
Allowed Inside: <BLOCKQUOTE> <BODY> <DD> <FORM> <LI> <TABLE>
Declares a block of text, but unlike the <P> tag, the <DIV> tag does not add a trailing double-line space.
ALIGN=CENTER | (HTML 3.2) Centers the text defined by the division |
ALIGN=LEFT | (HTML 3.2) Left justifies the text defined by the division |
ALIGN=RIGHT | (HTML 3.2) Right justifies the text defined by the division |
ALIGN=JUSTIFY | (HTML 3.2 only) Block justifies the text defined by the division where possible |
Can Include: <A> <IMG> <BR> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <TABLE>
Allowed Inside: <BLOCKQUOTE> <BODY> <DD> <FORM> <LI> <TABLE>
Hyperlinks form the basis of the navigation system used by the World Wide Web to move from Web page to Web page and Web site to Web site. The link tag <A> is use to indicate which text and or images on a Web page are used as links.
When used with the HREF attribute the <A> tag creates a hyperlink to another document or anchor. Alternatively, when it is used with the NAME attribute, creates an anchor which can be linked to.
Attributes:
HREF=". . ." | The URL pointed to by a link |
TARGET=". . ." | The target window for the new document |
NAME=". . ." | The anchor name for a reference anchor |
Can Include: <IMG> <BR> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <TABLE>
Allowed Inside: <ADDRESS> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <BLOCKQUOTE> <DD> <FORM> <LI> <TABLE>
To create either a numbered list, a bullet list, or a definition list on a Web page, you need to use a combination of the following list tags.
An ordered (numbered) list.
Attributes:
TYPE=". . ." | (NHTML) The type of numerals to label the list with. Possible values are A, a, I, i, and 1. |
START=". . ." | (NHTML) The value to start this list with |
Can Include: <LI>
Allowed Inside: <BLOCKQUOTE> <BODY> <DD> <FORM> <LI> <TABLE>
An unordered (bulleted) list.
Attributes:
TYPE=". . ." | (NHTML) the bullet dingbat to use to mark list items. Possible values are DISC, CIRCLE, and SQUARE. |
Can Include: <LI>
Allowed Inside: <BLOCKQUOTE> <BODY> <DD> <FORM> <LI> <TABLE>
A menu list of items. (Note: Removed from the HTML 3.2 specification.)
Can Include: <LI>
Allowed Inside: <BLOCKQUOTE> <BODY> <DD> <FORM> <LI> <TABLE>
A directory listing; items are generally smaller than 20 characters. (Note: No longer supported in the HTML 3.2 specification.)
Can Include: <LI>
Allowed Inside: <BLOCKQUOTE> <BODY> <DD> <FORM> <LI> <TABLE>
A list item for use with <OL>, <UL>, <MENU>, or <DIR>
Attributes:
TYPE=". . ." | (NHTML) The type of bullet or number to label this item with. Possible values are DISC, CIRCLE, SQUARE, A, a, I, i, and 1. |
VALUE=". . ." | (NHTML) The numeric value this list item should have (affects this item and all below it in <OL> lists). |
Can Include: <A> <IMG> <BR> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <P> <DIV> <OL> <UL> <DIR> <MENU> <DL> <PRE> <BLOCKQUOTE>
Allowed Inside: <DIR> <MENU> <OL> <UL>
A definition or glossary list. The COMPACT attribute specifies a formatting that takes less whitespace to present.
Attributes: COMPACT
Can Include: <DT> <DD>
Allowed Inside: <BLOCKQUOTE> <BODY> <DD> <FORM> <LI> <TABLE>
A definition term, as part of a definition list.
Can Include: <A> <IMG> <BR> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR>
The corresponding definition to a definition term, as part of a definition list.
Can Include: <A> <IMG> <BR> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <P> <OL> <UL> <DIR> <MENU> <DL> <PRE> <BLOCKQUOTE> <FORM> <ISINDEX> <TABLE>
Character formatting tags are used to indicate that a section or block of text on a Web page should be displayed in a special style. All the character formatting tags have these features:
Can Include: <A> <IMG> <BR> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR>
Allowed Inside: <A> <ADDRESS> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <DD> <DT> <H1> <H2> <H3> <H4> <H5> <H6> <LI> <P> <PRE> <TABLE>
Big text: Text uses larger font than standard text.
Small Text: Text uses smaller font than standard text
Subscript: Text is subscripted
Superscript: Text is superscripted
Typewriter: Text uses monospaced typewriter font
Citation: For quotes and references
Program code: For computer program source code
Emphasis: When italic emphasis is required
Keyboard: When showing text people need to type in (like a typewriter)
Strong: When bold text is required
Variable: For names of program variables
The following text layout tags don't fall into any pre-defined category. However, they can all be used to affect the appearance or layout of a Web page.
A horizontal rule line.
Attributes:
SIZE=". . ." | (NHTML) The thickness of the rule, in pixels. |
WIDTH=". . ." | (NHTML) The width of the rule, in pixels. |
ALIGN=". . ." | (NHTML) How the rule line is aligned on the page. Possible values are LEFT, RIGHT, and CENTER. |
NOSHADE=". . ." | (NHTML) Causes the rule line to be drawn as a solid color with no shading. |
Allowed Inside: <BLOCKQUOTE> <BODY> <FORM> <PRE> <TABLE>
A line break.
Attributes:
CLEAR=". . ." | (HTML 3.2) causes the text to stop flowing around any images. Possible values are RIGHT, LEFT, and ALL. |
Allowed Inside: <A> <ADDRESS> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <DD> <DT> <H1> <H2> <H3> <H4> <H5> <H6> <LI> <P> <PRE> <TABLE>
Causes the enclosed text not to wrap at the edge of the page.
Allowed Inside: <A> <ADDRESS> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <DD> <DT> <H1> <H2> <H3> <H4> <H5> <H6> <LI> <P> <PRE> <TABLE>
Wrap the text at this point only if necessary.
Allowed Inside: <A> <ADDRESS> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <DD> <DT> <H1> <H2> <H3> <H4> <H5> <H6> <LI> <P> <PRE> <TABLE>
Used for long quotes or citations.
Can Include: <BLOCKQUOTE> <IMG> <H1> <H2> <H3> <H4> <H5> <H6> <P> <OL> <UL> <DIR> <MENU> <DL> <PRE> <FORM> <ISINDEX> <HR> <ADDRESS> <TABLE>
Allowed Inside: <BLOCKQUOTE> <BODY> <DD> <FORM> <LI> <TABLE>
All the content enclosed within these tags is centered. This tag is being phased out in favor of <P ALIGN=CENTER> and <DIV ALIGN=CENTER>.
Can Include: <A> <IMG> <ADDRESS> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <DD> <DT> <H1> <H2> <H3> <H4> <H5> <H6> <LI> <P> <PRE> <TABLE>
Allowed Inside: <BLOCKQUOTE> <BODY> <DD> <FORM> <LI> <TABLE>
Used for signatures or general information about a document's author.
Can Include: <A> <IMG> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <DD> <DT> <H1> <H2> <H3> <H4> <H5> <H6> <LI> <P> <PRE> <TABLE>
Allowed Inside: <BLOCKQUOTE> <BODY> <FORM>
The <FONT> tag introduced by Netscape Communications enables you to define the size and color of blocks of text displayed on a Web page.
Changes the size or color of the font for the enclosed text.
Attributes:
SIZE=". . ." | The size of the font, from 1 to 7. Default is 3. Can also be specified as a value relative to the current size, for example, +2. |
COLOR=". . ." | The color of the font. See Appendix E, "Colors by Name and Hex Value," for more information. |
Can Include: <A> <IMG> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <DD> <DT> <LI> <P> <PRE> <TABLE>
Allowed Inside: <A> <ADDRESS> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <DD> <DT> <H1> <H2> <H3> <H4> <H5> <H6> <LI> <P> <PRE> <TABLE>
Sets the default size of the font for the current page.
Attributes:
SIZE=". . ." | The default size of the font, from 1 to 7. Default is 3. |
Allowed Inside: <A> <ADDRESS> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <DD> <DT> <LI> <P> <PRE> <TABLE>
Text is not the only type of information that your can include on a Web page. The tags in this section let you place images on a Web page and describe the layout of image maps.
Insert an inline image into the document.
Attributes:
ISMAP | This image is a clickable image map. |
SRC=". . ." | The URL of the image. |
ALT=". . ." | A text string that is displayed in browsers that cannot support images. |
ALIGN=". . ." | Determines the alignment of the given image. If LEFT or RIGHT (HTML 3.2, NHTML), the image is aligned to the left or right column, and all following text flows beside that image. All other values, such as TOP, MIDDLE, BOTTOM, or (NHTML) TEXTTOP, ABSMIDDLE, BASELINE, and ABSBOTTOM, determine the vertical alignment of this image with other items in the same line. |
VSPACE=". . ." | The space between the image and the text above or below it. |
HSPACE=". . ." | The space between the image and the text to its left or right. |
WIDTH=". . ." | (HTML 3.2) The width, in pixels, of the image. If WIDTH is not the actual width, the image is scaled to fit. |
HEIGHT=". . ." | (HTML 3.2) The width, in pixels, of the image. If HEIGHT is not the actual height, the image is scaled to fit. |
BORDER=". . ." | (NHTML) Draws a border of the specified value in pixels to be drawn around the image. In the case of images that are also links, BORDER changes the size of the default link border. |
LOWSRC=". . ." | (NHTML) The path or URL of an image that is loaded first, before the image specified in SRC. The value of LOWSRC is usually a smaller or lower-resolution version of the actual image. |
USEMAP=". . . | (NHTML) Used to associate an image with a client-side image map specified by <MAP NAME=mapname>. |
Allowed Inside: <A> <ADDRESS> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <DD> <DT> <H1> <H2> <H3> <H4> <H5> <H6> <LI> <P> <PRE> <TABLE>
Define a map for a client side image map.
Attributes:
NAME=". . ." | Used to define the map's name. |
Can Include: <AREA>
Define a clickable region for a client side image map.
Attributes:
TYPE=". . ." | Used to indicate the type of region bounded by the <AREA> tag. Possible values are RECT, POLY, and CIRCLE. |
COORDS=". . ." | This attribute describes the points bounding the region described by the <AREA> tag. |
HREF=". . ." | The URL to load when the region bounded by the <AREA> tag is clicked on. |
The most common way to obtain information from users who visit a Web page is with forms. This section describes the tags you use to define a form and its contents.
Indicates a form.
Attributes:
ACTION=". . ." | The URL of the script to process this form input. |
METHOD=". . ." | How the form input is sent to the gateway on the server side. Possible values are GET and POST. |
ENCTYPE=". . ." | Only values currently supported are application/x-www-form-urlencoded and multipart/form-data (NHTML). |
TARGET=". . ." | (NHTML) Target window for response following form submission. |
Can Include: <H1> <H2> <H3> <H4> <H5> <H6> <P> <OL> <UL> <DIR> <MENU> <DL> <PRE> <BLOCKQUOTE> <ISINDEX> <HR> <ADDRESS> <INPUT> <SELECT> <TEXTAREA> <TABLE>
Allowed Inside: <BLOCKQUOTE> <BODY> <DD> <LI>
An input widget for a form.
Attributes:
TYPE=". . ." | The type for this input widget. Possible values are CHECKBOX, FILE (NHTML), HIDDEN, PASSWORD, RADIO, RESET, SUBMIT, TEXT, or IMAGE (HTML 3.2 only.) |
NAME=". . ." | The name of this item, as passed to the gateway script as part of a name/value pair. |
VALUE=". . ." | For a text or hidden widget, the default value; for a checkbox or radio button, the value to be submitted with the form; for Reset or Submit buttons, the label for the button itself. |
SRC=". . ." | The source file for an image. |
CHECKED | For checkboxes and radio buttons, indicates that the widget is checked. |
SIZE=". . ." | The size, in characters, of a text widget. |
MAXLENGTH=". . ." | The maximum number of characters that can be entered into a text widget. |
ALIGN=". . ." | For images in forms, determines how the text and image align (same as with the <IMG> tag). |
Indicates a multi-line text entry widget.
Attributes:
NAME=". . ." | The name to be passed to the gateway script as part of the name/value pair. |
ROWS=". . ." | The number of rows this text area displays. |
COLS=". . ." | The number of columns (characters) this text area displays. |
WRAP="OFF" | Wrapping doesn't happen. Lines are sent exactly as typed. |
WRAP="VIRTUAL" | The display word wraps, but long lines are sent as one line without new lines. |
WRAP="PHYSICAL" | The display word wraps, and the text is transmitted at all wrap points. |
Creates a menu or scrolling list of possible items.
Attributes:
NAME=". . ." | The name passed to the gateway script as part of the name/value pair. |
SIZE=". . ." | The number of elements to display. If SIZE is indicated, the selection becomes a scrolling list. If no SIZE is given, the selection is a pop-up menu. |
MULTIPLE | Enables multiple selections from the list. |
Can Include: <OPTION>
Indicates a possible item within a <SELECT> widget.
Attributes:
SELECTED | With this attribute included, the <OPTION> is selected by default in the list. |
VALUE=". . ." | The value to submit if this <OPTION> is selected when the form is submitted. |
Before the <TABLE> was introduced to the HTML 3.2 specification, there was no easy way to reliably format lists or tables on a Web page. This section describes the tags used to describe the contents and appearance of a table.
Creates a table, which can contain a caption (<CAPTION>) and any number of rows (<TR>).
Attributes:
BORDER=". . ." | Indicates whether the table should be drawn with or without a border. In Netscape, BORDER can also have a value indicating the width of the border. |
CELLSPACING=". . ." | (NHTML) The amount of space between the cells in the table |
CELLPADDING=". . ." | (NHTML) The amount of space between the edges of the cell and its contents. |
WIDTH=". . ." | (NHTML) The width of the table on the page, in either exact pixel values or as a percentage of page width. |
ALIGN=". . ." | Determines the alignment of the given table. If LEFT or RIGHT (HTML 3.2, NHTML), the image is aligned to the left or right column, and all following text flows beside that image. If CENTER, then table is aligned with the center of the page (HTML 3.2 only.) |
BGCOLOR=". . ." | The color of the background for the entire table. See Appendix E, "Colors by Name and Hex Value," for more information. |
Can Include: <CAPTION> <TR>
Allowed Inside: <BLOCKQUOTE> <BODY> <DD> <LI> <TABLE>
The caption for the table.
Attributes:
ALIGN=". . ." | The position of the caption. Possible values are TOP and BOTTOM. |
Defines a table row, containing headings and data (<TR> and <TH> tags).
Attributes:
BGCOLOR=". . ." | The color of the background for an entire rowoverrides the table color. See Appendix E, "Colors by Name and Hex Value," for more information. |
ALIGN=". . ." | The horizontal alignment of the contents of the cells within this row. Possible values are LEFT, RIGHT, and CENTER. |
VALIGN=". . ." | The vertical alignment of the contents of the cells within this row. Possible values are TOP, MIDDLE, BOTTOM, and BASELINE (NHTML). |
Can Include: <TH> TD>
Defines a table heading cell.
Attributes:
BGCOLOR=". . ." | The color of the background for the indicated heading rowoverrides the table color. See Appendix E, "Colors by Name and Hex Value," for more information. |
ALIGN=". . ." | The horizontal alignment of the contents of the cell. Possible values are LEFT, RIGHT, and CENTER. |
VALIGN=". . ." | The vertical alignment of the contents of the cell. Possible values are TOP, MIDDLE, BOTTOM, and BASELINE (NHTML). |
ROWSPAN=". . ." | The number of rows this cell will span. |
COLSPAN=". . ." | The number of columns this cell will span. |
NOWRAP | Do not automatically wrap the contents of this cell. |
WIDTH=". . ." | (NHTML) The width of this column of cells, in exact pixel values or as a percentage of the table width. |
Can Include: <H1> <H2> <H3> <H4> <H5> <H6> <P> <OL> <UL> <DIR> <MENU> <DL> <PRE> <BLOCKQUOTE> <FORM> <ISINDEX> <HR> <ADDRESS> <TABLE>
Defines a table data cell.
Attributes:
ALIGN=". . ." | The horizontal alignment of the contents of the cell. Possible values are LEFT, RIGHT, and CENTER. |
VALIGN=". . ." | The vertical alignment of the contents of the cell. Possible values are TOP, MIDDLE, BOTTOM, and BASELINE (NHTML). |
BGCOLOR=". . ." | The color of the background for the indicated celloverrides table, row and heading colors. See Appendix E, "Colors by Name and Hex Value," for more information. |
ROWSPAN=". . ." | The number of rows this cell will span. |
COLSPAN=". . ." | The number of columns this cell will span. |
NOWRAP | Do not automatically wrap the contents of this cell. |
WIDTH=". . ." | (NHTML) The width of this column of cells, in exact pixel values or as a percentage of the table width. |
Can Include: <H1> <H2> <H3> <H4> <H5> <H6> <P> <OL> <UL> <DIR> <MENU> <DL> <PRE> <BLOCKQUOTE> <FORM> <ISINDEX> <HR> <ADDRESS>
The use of frames within a Web pages introduces a new level usability to the World Wide Web. With frames, parts of Web page can be updated while other sections remain on screen. This section discusses the tags used to format frames.
Encloses a frameset definition in an HTML document.
Attributes:
COLS=". . ." | (NHTML) Defines the number of frame columns and their width in a frameset. |
ROWS=". . ." | (NHTML) Defines the number of frame rows and their height in a frameset. |
Can Include: <FRAME> <NOFRAMES>
Used to define the contents of a frame within a frameset.
Attributes:
SRC=". . ." | The URL of the document to be displayed inside the frame. |
MARGINWIDTH=". . ." | The size in pixels of the margin on each side of a frame. |
MARGINHEIGHT=". . ." | The size in pixels of the margin above and below the contents of a frame. |
SCROLLING=". . ." | Enable or disable the display of scroll bars for a frame. Values are YES, NO, and AUTO. |
NORESIZE | Don't enable the user to resize frames. |
Used to define a block of text that will be displayed by Web browsers that don't support frames.
Allowed Inside: <FRAMESET>
Can Include: <A> <IMG> <ADDRESS> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <DD> <DT> <H1> <H2> <H3> <H4> <H5> <H6> <LI> <P> <PRE> <TABLE>
This section discusses the tags used to include JavaScript code, Java applets, and plug-in elements on a Web page.
Encloses a Client JavaScript program definition and related functions. (Note that Client side code is ignored by Web servers.)
Attributes:
LANGUAGE=". . ." | Either JavaScript or LiveScript. |
SRC=". . ." | The URL of a JavaScript program stored in a separate file. |
Used to define a block of text that will be displayed by Web browsers that don't support JavaScript or which have JavaScript support disabled.
Allowed Inside: <HEAD> <BODY>
Can Include: <A> <IMG> <ADDRESS> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <DD> <DT> <H1> <H2> <H3> <H4> <H5> <H6> <LI> <P> <PRE> <TABLE>
Encloses a Server JavaScript program definition and related functions. (Note that Server side code is treated as plain text by Client JavaScript.)
Attributes:
LANGUAGE=". . ." | Either JavaScript or LiveScript. |
SRC=". . ." | The URL of a JavaScript program stored in a separate file. |
Used to incorporate a Java applet into a Web page.
Attributes:
CODE=". . ." | The name of the Java class to be included. |
CODEBASE=". . ." | The URL of the directory where the Java class is stored if it is not located in the same directory as the HTML document. |
WIDTH=". . ." | The width in pixels of the area taken up by the applet. |
HEIGHT=". . ." | The height in pixels of the area taken up by the applet. |
Can Include: <PARAM>
Used to define values (or parameter) to be passed to the Java applet.
Attributes:
NAME=". . ." | The name of the parameter to be passed to the Java class. |
VALUE=". . ." | The value of the parameter. |
Use to embed files supported by plug-ins. Netscape calls such files live objects.
Attributes:
SRC=". . ." | A URL that describes the location and file name to be handled by a plug-in. The file extension specified in this attribute determines which plug-in module is loaded. |
WIDTH=". . ." | The width in pixels of the area taken up by the live object. |
HEIGHT=". . ." | The height in pixels of the area taken up by the live object. |
Plug-in specific | Each individual plug-in defines its own list of attributes. Refer to the appropriate documentation for additional information. |
Allowed Inside: <BODY> <TABLE>
Used to define a block of text that will be displayed by Web browsers that don't support plug-ins.
Allowed Inside: <BODY>
Can Include: <A> <IMG> <ADDRESS> <BIG> <B> <BLINK> <I> <SMALL> <SUB> <SUP> <TT> <CITE> <CODE> <DFN> <EM> <KBD> <SAMP> <STRONG> <VAR> <DD> <DT> <H1> <H2> <H3> <H4> <H5> <H6> <LI> <P> <PRE> <TABLE>