![]() |
|
developerdirect.com htmlgoodies.com javagoodies.com jars.com intranetjournal.com javascripts.com |
|
<EMBED> (Netscape
only) Embeds a file to be read or displayed by a plug-in application.
Note |
In addition to the following standard attributes, you can specify applet-specific attributes to be interpreted by the plug-in that displays the embedded object. |
Attributes:
SRC="..." The URL of the file to embed.
WIDTH="..." The width of the embedded object in pixels.
HEIGHT="..." The height of the embedded object in pixels.
ALIGN="..." Determines the alignment of the media window. Values are the same as for the <IMG> tag.
VSPACE="..." The space between the media and the text above or below it.
HSPACE="..." The space between the media and the text to its left or right.
BORDER="..." Draws a border of the specified size in pixels to be drawn around the media.
<NOEMBED>...</NOEMBED>
(N) Alternate text or images to be shown to users who do not
have a plug-in installed.
<OBJECT> (MS)
Inserts an embedded program, control, or other object.
<MAP>...</MAP> A
client-side image map, referenced by <IMG
USEMAP="...">. Includes one or more <AREA>
tags.
<AREA> Defines
a clickable link within a client-side image map.
Attributes:
SHAPE="..." The shape of the clickable area. Currently, only RECT is supported.
COORDS="..." The left, top, right, and bottom coordinates of the clickable region within an image.
HREF="..." The URL that should be loaded when the area is clicked.
NOHREF Indicates that no action should be taken when this area of the image is clicked.
<FORM>...</FORM> Indicates an input form.
Attributes:
ACTION="..." The URL of the script to process this form input.
METHOD="..." How the form input will be sent to the gateway on the server side. Possible values are GET and POST.
ENCTYPE="..." Normally has the value application/x-www-form-urlencoded. For file uploads, use multipart/form-data.
NAME="..." A name by which JavaScript scripts can refer to the form.
<INPUT> An input element for a form.
Attributes:
TYPE="..." The type for this input widget. Possible values are CHECKBOX, HIDDEN, RADIO, RESET, SUBMIT, TEXT, SEND FILE, or IMAGE.
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).
<TEXTAREA>...</TEXTAREA> Indicates a multiline text entry form element. Default text can be included.
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="..." (N) Control text wrapping. Possible values are OFF, VIRTUAL, and PHYSICAL.
<SELECT>...</SELECT> Creates a menu or scrolling list of possible items.
Attributes:
NAME="..." The name that is 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 Allows multiple selections from the list.
<OPTION> Indicates a possible item within a <SELECT> element.
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.
<TABLE>...</TABLE> Creates a table that 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="..." The amount of space between the cells in the table.
CELLPADDING="..." The amount of space between the edges of the cell and its contents.
WIDTH="..." The width of the table on the page, in either exact pixel values or as a percentage of page width.
ALIGN="..." (MS) Alignment (works like IMG ALIGN). Values are LEFT or RIGHT.
BACKGROUND="..." (MS) Background image to tile within all cells in the table that don't contain their own BACKGROUND or BGCOLOR attribute.
BGCOLOR="..." (MS) Background color of all cells in the table that don't contain their own BACKGROUND or BGCOLOR attribute.
BORDERCOLOR="..." (MS) Border color (used with BORDER="...").
BORDERCOLORLIGHT="..." (MS) Color for light part of 3D-look borders (used with BORDER="...").
BORDERCOLORDARK="..." (MS) Color for dark part of 3D-look borders (used with BORDER="...").
VALIGN="..." (MS) Alignment of text within the table. Values are TOP and BOTTOM.
FRAME="..." (MS) Controls which external borders appear around a table. Values are void (no frames), above (top border only), below (bottom border only), hsides (top and bottom), lhs (left-hand side), rhs (right-hand side), vsides (left and right sides), and box (all sides).
RULES="..." (MS) Controls which internal borders appear in the table. Values are none, basic (rules between THEAD, TBODY, and TFOOT only), rows (horizontal borders only), cols (vertical borders only), and all.
<CAPTION>...</CAPTION> The caption for the table.
Attribute:
ALIGN="..." The position of the caption. Possible values are TOP and BOTTOM.
<TR>...</TR> Defines a table row, containing headings and data (<TR> and <TH> tags).
Attributes:
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.
BACKGROUND="..."(MS) Background image to tile within all cells in the row that don't contain their own BACKGROUND or BGCOLOR attributes.
BGCOLOR="..." Background color of all cells in the row that don't contain their own BACKGROUND or BGCOLOR attributes.
BORDERCOLOR="..."(MS) Border color (used with BORDER="...").
BORDERCOLORLIGHT="..."(MS) Color for light part of 3D-look borders (used with BORDER="...").
BORDERCOLORDARK="..."(MS) Color for dark part of 3D-look borders (used with BORDER="...").
<TH>...</TH> Defines a table heading 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.
ROWSPAN="..." The number of rows this cell will span.
COLSPAN="..." The number of columns this cell will span.
NOWRAP Does not automatically wrap the contents of this cell.
WIDTH="..." The width of this column of cells, in exact pixel values or as a percentage of the table width.
BACKGROUND="..." (MS) Background image to tile within the cell.
BGCOLOR="..." (MS) Background color of the cell.
BORDERCOLOR="..." (MS) Border color (used with BORDER="...").
BORDERCOLORLIGHT="..." (MS) Color for light part of 3D-look borders (used with BORDER="...").
BORDERCOLORDARK="..." (MS) Color for dark part of 3D-look borders (used with BORDER="...").
<TD>...</TD> 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.
ROWSPAN="..." The number of rows this cell will span.
COLSPAN="..." The number of columns this cell will span.
NOWRAP Does not automatically wrap the contents of this cell.
WIDTH="..." The width of this column of cells, in exact pixel values or as a percentage of the table width.
BACKGROUND="..." (MS) Background image to tile within the cell.
BGCOLOR="..." (MS) Background color of the cell.
BORDERCOLOR="..." (MS) Border color (used with BORDER="...").
BORDERCOLORLIGHT="..." (MS) Color for light part of 3D-look borders (used with BORDER="...").
BORDERCOLORDARK="..." (MS) Color for dark part of 3D-look borders (used with BORDER="...").
<THEAD>
(MS) Begins the header section of a table. The closing
</THEAD> tag is optional.
<TBODY>
(MS) Begins the body section of a table. The closing
</TBODY> tag is optional.
<TFOOT>
(MS) Begins the footer section of a table. The closing
</TFOOT> tag is optional.
<COL>...</COL> (MS)
Sets width and alignment properties for one or more columns.
Attributes:
WIDTH="..." Width of column(s) in pixels or relative width followed by a * ("2*" columns will be twice as wide as "1*" columns, for example).
ALIGN="..." Text alignment within the column(s). Valid values are center, justify, left, and right.
SPAN="..." Number of columns that the properties specified in this <COL> tag apply to.
<COLGROUP>...</COLGROUP> Sets properties of a group of columns all at once (should enclose one or more <COL> tags).
Attributes:
ALIGN="..." Text alignment within the columns. Valid values are center, justify, left, and right.
VALIGN="..." Vertical alignment of text within the columns. Valid values are baseline, bottom, middle, and top.
<FRAMESET>...</FRAMESET> Divides the main window into a set of frames that can each display a separate document.
Attributes:
ROWS="..." Splits the window or frameset vertically into a number of rows specified by a number (such as 7), a percentage of the total window width (such as 25%), or as an asterisk (*) indicating that a frame should take up all the remaining space or divide the space evenly between frames (if multiple * frames are specified).
COLS="..." Works similar to ROWS, except that the window or frameset is split horizontally into columns.
<FRAME> Defines a single frame within a <FRAMESET>.
Attributes:
SRC="..." The URL of the document to be displayed in this frame.
NAME="..." A name to be used for targeting this frame with the TARGET attribute in <A HREF> links.
<MARGINWIDTH> The amount of space to leave to the left and right side of a document within a frame, in pixels.
<MARGINHEIGHT> The amount of space to leave above and below a document within a frame, in pixels.
SCROLLING="..." Determines whether a frame has scroll bars. Possible values are YES, NO, and AUTO.
NORESIZE Prevents the user from resizing this frame (and possibly adjacent frames) with the mouse.
FRAMEBORDER="..." (MS) Specifies whether to display a border for a frame. Options are YES and NO.
FRAMESPACING="..." (MS) Space between frames, in pixels.
</NOFRAME>...</NOFRAMES> Provides an alternative document body in <FRAMESET> documents for browsers that do not support frames (usually encloses <BODY>...</BODY>).
<APPLET> Inserts
a self-running Java applet.
Note |
In addition to the following standard attributes, you can specify applet-specific attributes to be interpreted by the Java applet itself. |
Attributes:
CLASS="..." The name of the applet.
SRC="..." The URL of the directory where the compiled applet can be found (should end in a slash / as in "http://mysite/myapplets/"). Do not include the actual applet name, which is specified with the CLASS attribute.
ALIGN="..." Indicates how the applet should be aligned with any text that follows it. Current values are TOP, MIDDLE, and BOTTOM.
WIDTH="..." The width of the applet output area in pixels.
HEIGHT="..." The height of the applet output area in pixels.
<SCRIPT> An interpreted script program.
Attributes:
LANGUAGE="..." Currently only JAVASCRIPT is supported by Netscape. Both JAVASCRIPT and VBSCRIPT are supported by Microsoft.
SRC="..." Specifies the URL of a file that includes the script program.
<MARQUEE>...</MARQUEE> (MS) Displays text in a scrolling marquee.
Attributes:
WIDTH="..." The width of the embedded object in pixels or a percentage of window width.
HEIGHT="..." The height of the embedded object in pixels or a percentage of window height.
ALIGN="..." Determines the alignment of the text outside the marquee. Values are TOP, MIDDLE, and BOTTOM.
BORDER="..." Draws a border of the specified size in pixels to be drawn around the media.
BEHAVIOR="..." How the text inside the marquee should behave. Options are SCROLL (continuous scrolling), SLIDE (slide text in and stop), and ALTERNATE (bounce back and forth).
BGCOLOR="..." Background color for the marquee.
DIRECTION="..." Direction for text to scroll (LEFT or RIGHT).
VSPACE="..."
Space above and below the marquee, in pixels.
HSPACE="..." Space on each side of the marquee, in pixels.
SCROLLAMOUNT="..." Number of pixels to move each time text in the marquee is redrawn.
SCROLLDELAY="..." Number of milliseconds between each redraw of marquee text.
LOOP="..." (MS) The number of times marquee will loop. (-1 or INFINITE means to loop indefinitely.)
Table E.1 contains the possible numeric and character entities
for the ISO-Latin-1 (ISO8859-1) character set. Where possible,
the character is shown.
Note |
Not all browsers can display all characters, and some browsers may even display characters different from those that appear in the table. Newer browsers seem to have a better track record for handling character entities, but be sure to test your HTML files extensively with multiple browsers if you intend to use these entities. |
Description | |||
Unused | |||
Horizontal tab | |||
Line feed | |||
Unused | |||
Space | |||
Exclamation mark | |||
Quotation mark | |||
Number sign | |||
Dollar sign | |||
Percent sign | |||
Ampersand | |||
Apostrophe | |||
Left parenthesis | |||
Right parenthesis | |||
Asterisk | |||
Plus sign | |||
Comma | |||
Hyphen | |||
Period (fullstop) | |||
Solidus (slash) | |||
Digits 0-9 | |||
Colon | |||
Semi-colon | |||
Less than | |||
Equals sign | |||
Greater than | |||
Question mark | |||
Commercial at | |||
Letters A-Z | |||
Left square bracket | |||
Reverse solidus (backslash) | |||
Right square bracket | |||
Caret | |||
Horizontal bar | |||
Grave accent | |||
Letters a-z | |||
Left curly brace | |||
Vertical bar | |||
Right curly brace | |||
Tilde | |||
Unused | |||
Inverted exclamation | |||
Cent sign | |||
Pound sterling | |||
General currency sign | |||
Yen sign | |||
Broken vertical bar | |||
Section sign | |||
Umlaut (dieresis) | |||
Copyright | |||
Feminine ordinal | |||
Left angle quote, guillemet left | |||
Not sign | |||
Soft hyphen | |||
Registered trademark | |||
Macron accent | |||
Degree sign | |||
Plus or minus | |||
Superscript two | |||
Superscript three | |||
Acute accent | |||
Micro sign | |||
Paragraph sign | |||
Middle dot | |||
Cedilla | |||
Superscript one | |||
Masculine ordinal | |||
Right angle quote, guillemet right | |||
Fraction one-fourth | |||
Fraction one-half | |||
Fraction three-fourths | |||
Inverted question mark | |||
Capital A, grave accent | |||
Capital A, acute accent | |||
Capital A, circumflex accent | |||
Capital A, tilde | |||
Capital A, dieresis or umlaut mark | |||
Capital A, ring | |||
Capital AE dipthong (ligature) | |||
Capital C, cedilla | |||
Capital E, grave accent | |||
Capital E, acute accent | |||
Capital E, circumflex accent | |||
Capital E, dieresis or umlaut mark | |||
Capital I, grave accent | |||
Capital I, acute accent | |||
Capital I, circumflex accent | |||
Capital I, dieresis or umlaut mark | |||
Capital Eth, Icelandic | |||
Capital N, tilde | |||
Capital O, grave accent | |||
Capital O, acute accent | |||
Capital O, circumflex accent | |||
Capital O, tilde | |||
Capital O, dieresis or umlaut mark | |||
Multiply sign | |||
Capital O, slash | |||
Capital U, grave accent | |||
Capital U, acute accent | |||
Capital U, circumflex accent | |||
Capital U, dieresis or umlaut mark | |||
Capital Y, acute accent | |||
Capital THORN, Icelandic | |||
Small sharp s, German (sz ligature) | |||
Small a, grave accent | |||
Small a, acute accent | |||
Small a, circumflex accent | |||
Small a, tilde | |||
Small a, dieresis or umlaut mark | |||
Small a, ring | |||
Small ae dipthong (ligature) | |||
Small c, cedilla | |||
Small e, grave accent | |||
Small e, acute accent | |||
Small e, circumflex accent | |||
Small e, dieresis or umlaut mark | |||
Small i, grave accent | |||
Small i, acute accent | |||
Small i, circumflex accent | |||
Small i, dieresis or umlaut mark | |||
Small eth, Icelandic | |||
Small n, tilde | |||
Small o, grave accent | |||
Small o, acute accent | |||
Small o, circumflex accent | |||
Small o, tilde | |||
Small o, dieresis or umlaut mark | |||
Division sign | |||
Small o, slash | |||
Small u, grave accent | |||
Small u, acute accent | |||
Small u, circumflex accent | |||
Small u, dieresis or umlaut mark | |||
Small y, acute accent | |||
Small thorn, Icelandic | |||
Small y, dieresis or umlaut mark |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Use of this site is subject to certain
Terms & Conditions. Copyright (c) 1996-1998 EarthWeb, Inc.. All rights reserved. Reproduction in whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Please read the Acceptable Usage Statement. Contact reference@developer.com with questions or comments. Copyright 1998 Macmillan Computer Publishing. All rights reserved. |