(logo)  AWeb supported HTML

Tags (A-D)

The Mode column in the tables below contains the HTML mode that recognizes the tag or attribute. Elements recognized in strict mode will also be recognized in tolerant mode, but elements marked as tolerant will not be recognized in strict mode.

comment

TagExplanationMode
<!--comment--> Includes a comment in the HTML source. Any text or tags within the comment are ignored by the browser. Strict
<!--comment-- [--comment--] > The correct format of a HTML comment construct:
  1. The comment starts with <!--
  2. Any number of characters not containing --
  3. The first comment is terminated by --
  4. Optional whitespace (spaces, newlines)
  5. Either another comment starting with --, continue with step 2
    or the terminating >
So this is a correct comment:
<!--This is a comment-- -->this<- is another comment-- >
But this is not:
<!--This is a comment---->
(The second comment was started but never ended).
Strict
<!--comment-> An incorrect comment format, unfortunately used on many pages. The comment is terminated by the first -> found. AWeb recognizes this comment format only in compatible mode. Compatible

A

TagExplanationMode
<A> ... </A> Hyperlink anchor, specifies either a link to another location, or a named location within a page. Strict
AttributeExplanationMode
COORDS="nn,nn,nn,..." Can only appear within a OBJECT element
Lists the coordinates that describe the hot area of the object. The number of coordinates depends on the shape:
SHAPECOORDS
RECT needs 4 coordinates: x,y of upper left and x,y of bottom right corners if the rectangle
CIRC needs 3 coordinates: x,y of the center of the circle and a radius
POLY needs at least 3 pairs of x,y coordinates of the corners of the polygon
DEFAULT no coordinates are needed for default
Strict
HREF="url" Specifies a destination for the hyperlink. "url" can be one of the following:
Full URL
a fully specified (absolute) URL, like http://www.amitrix.com/index.html
Filename
a filename (or path with filename). This specifies a location relative to the address of the page (but see BASE).
#name
the name of a location in the same page
Strict
NAME="name" Defines a name in this page. You can point directly to this name using an anchor with HREF="url#name" Strict
SHAPE=RECT
SHAPE=CIRC
SHAPE=POLY
SHAPE=DEFAULT
Can only appear within a OBJECT element
Specifies the shape of the hot area of the object. Instead of the 4-letter abbreviations, the full words may be used (RECTANGLE, CIRCLE, POLYGON).

DEFAULT becomes active if no other area was selected.

Strict
TARGET="name" The name of the frame where to display the document linked to. If the name does not exist, a new window will be opened.

The following magic names, beginning with an underscore character, are recognized:
_blankThe document is displayed in a new window.
_selfTarget is the same window or frame that the anchor appears in. This is the default, unless overridden by the BASE tag.
_parentTarget is the window or frame containing the frame that contains the anchor.
_topTarget is the entire browser window.

Strict
TITLE="title" Defines the title to show when the mouse is over the hyperlink. By default the URL of the destination is shown. Strict
ONCLICK="script"
ONMOUSEOUT="script"
ONMOUSEOVER="script"
Standard JavaScript event handlers. Strict
METHOD=GET
METHOD=POST
This attribute is an experimental addition to AWeb and is not supported by other browsers.
Specifies with what HTTP method the link should be accessed. If METHOD=POST is specified and the URL contains a query part, that data is sent as the request message body.
Tolerant (AWeb)

ADDRESS

TagExplanationMode
<ADDRESS> ... </ADDRESS> Specifies a (mail) address. Typically rendered in italics. Strict

AREA

TagExplanationMode
<AREA> Can only appear within a MAP element
Specifies a hot area with a client-side image map.
Strict
AttributeExplanationMode
COORDS="nn,nn,nn,..." Lists the coordinates that describe this area. The number of coordinates depends on the shape:
SHAPECOORDS
RECT needs 4 coordinates: x,y of upper left and x,y of bottom right corners if the rectangle
CIRC needs 3 coordinates: x,y of the center of the circle and a radius
POLY needs at least 3 pairs of x,y coordinates of the corners of the polygon
DEFAULT no coordinates are needed for default
Strict
HREF="url" Specifies the URL that this area of the map links to. Strict
NOHREF Specifies that this area does not link to an URL. Strict
ONMOUSEOUT="script"
ONMOUSEOVER="script"
Standard JavaScript event handlers. Strict
SHAPE=RECT
SHAPE=CIRC
SHAPE=POLY
SHAPE=DEFAULT
Specifies the shape of the hot area. Instead of the 4-letter abbreviations, the full words may be used (RECTANGLE, CIRCLE, POLYGON).

DEFAULT becomes active if no other area was selected.

Strict
TARGET="name" The name of the frame where to display the document linked to. If the name does not exist, a new window will be opened.

See A for a list of magic target names.

Strict

B

TagExplanationMode
<B> ... </B> Renders text in bold. Usually it is better to use one of the logical styles (like STRONG) instead of phisycal styles like B. Strict

BASE

TagExplanationMode
<BASE> Can only appear within a HEAD element
Defines the base URL for this page. The base URL is the address to use when resolving relative URL references (partial URLs). By default the base URL is the page's address.
Strict
AttributeExplanationMode
HREF="url" Specifies the URL to use as the base Strict
TARGET="name" The name of the frame where to display documents linked to by A hyperlink anchors. See A for details. Strict

BASEFONT

TagExplanationMode
<BASEFONT> Sets the size normal text is rendered in, and that relative FONT sizes refer to. Strict
AttributeExplanationMode
COLOR=#rrggbb
COLOR=colourname
Specifies the colour to render the text in.
See colour specifications for a list of valid names.
Strict
SIZE=nn
SIZE=+nn
SIZE=-nn
Specifies the font size.

If nn is given, it is an absolute size. Valid sizes are 1 to 7, 1 being the smallest and 7 the largest.

If +nn or -nn is given, it is a change relative to the current BASEFONT size. Valid range is -6 to +6, but the resulting font size will be adjusted to fall within the range 1 to 7.

Strict

BGSOUND

TagExplanationMode
<BGSOUND> Defines a sound to play when this page is displayed. Tolerant (MS)
AttributeExplanationMode
SRC="url" Specifies the URL where the sound can be found. Tolerant (MS)
LOOP=n
LOOP=INFINITE
The number of times the sound should be played. If the number is negative, or if "INFINITE" is given, the sound will be repeated forever while the page is being displayed. Tolerant (MS)

BIG

TagExplanationMode
<BIG> ... </BIG> Renders text in a large font. Strict

BLINK

TagExplanationMode
<BLINK> ... </BLINK> Specifies blinking text. Tolerant (NS)

BQ or BLOCKQUOTE

TagExplanationMode
<BQ> ... </BQ>
<BLOCKQUOTE> ... </BLOCKQUOTE>
Specifies a text as long quotation. Typically rendered in italics. Strict

BODY

TagExplanationMode
<BODY> ... </BODY> Specifies the body if an HTML document. Each HTML document must have exactly 1 body or FRAMESET element.

Both the start and end tags are optional.

Strict
AttributeExplanationMode
BACKGROUND="url" Specifies a background image. The image is tiled in the background of the page. Strict
BGCOLOR=#rrggbb
BGCOLOR=colourname
Specifies the pages background colour if no background image is given, or the background image is not (yet) loaded.
See colour specifications for a list of valid names.
Strict
TEXT=#rrggbb
TEXT=colourname
Specifies colour to render normal text in.
See colour specifications for a list of valid names.
Strict
LINK=#rrggbb
LINK=colourname
Specifies colour to render unvisited hyperlinks in.
See colour specifications for a list of valid names.
Strict
VLINK=#rrggbb
VLINK=colourname
Specifies colour to render already visited hyperlinks in.
See colour specifications for a list of valid names.
Strict
ALINK=#rrggbb
ALINK=colourname
Specifies colour to render selected (highlighted) hyperlinks in.
See colour specifications for a list of valid names.
Strict
TOPMARGIN=nn
LEFTMARGIN=nn
Specifies the top (and bottom) margin, or the left (and right) margin in pixels. This overrides the default margins. Tolerant (MS)
ONBLUR="script"
ONFOCUS="script"
ONLOAD="script"
ONUNLOAD="script"
Standard JavaScript event handlers. Strict

BR

TagExplanationMode
<BR> Specifies a line break. Strict
AttributeExplanationMode
CLEAR=LEFT
CLEAR=RIGHT
CLEAR=ALL
Places the following text after left aligned, right aligned or all floating images. Strict

BUTTON

TagExplanationMode
<BUTTON> ... <BUTTON/> Can only appear within a FORM element
Defines a button with custom imagery in a form.

The BUTTON element can contain text and images, and these will be rendered in the button.

Strict
AttributeExplanationMode
TYPE=BUTTON
TYPE=RESET
TYPE=SUBMIT
Defines the type of button:
TYPEMeaning
BUTTONA general purpose button
RESETButton to reset all fields to their initial state
SUBMITButton to send the form data
A general purpose button will generally have an ONCLICK attribute specified to define the action to be taken when the user clicks the button.
Strict
NAME="name" Gives this field a name. Fields without a name will not be included in the form data sent. Strict
VALUE="value" This specifies the value (data) to be included when the form is sent.
Strict
ONBLUR="script"
ONCLICK="script"
ONFOCUS="script"
Standard JavaScript event handlers. Strict

CAPTION

TagExplanationMode
<CAPTION> ... </CAPTION> Can only appear within a TABLE element
Specifies a caption for a table.
Strict
AttributeExplanationMode
ALIGN=TOP
ALIGN=BOTTOM
Specifies whether the caption should appear above the table (ALIGN=TOP) or below the table (ALIGN=BOTTOM). Strict
ALIGN=LEFT
ALIGN=CENTER
ALIGN=RIGHT
Specifies the alignment of the caption relative to the table width. Tolerant (MS)
VALIGN=TOP
VALIGN=BOTTOM
Specifies whether the caption should appear above the table (VALIGN=TOP) or below the table (VALIGN=BOTTOM). Tolerant (MS)

CENTER

TagExplanationMode
<CENTER> ... </CENTER> Renders text and other elements centered within the window width.
Is a shorthand notation for <DIV ALIGN=CENTER>
Strict

CITE

TagExplanationMode
<CITE> ... </CITE> Specifies a citation. Typically rendered in italics. Strict

CODE

TagExplanationMode
<CODE> ... </CODE> Specifies a short code sample. Typically rendered in a fixed width font. Strict

COL

TagExplanationMode
<COL> Can only appear within a TABLE element
Declares a column within a table.
Strict
AttributeExplanationMode
SPAN=nn The number of columns declared with this tag. Default is 1. Strict
WIDTH=nn
WIDTH=nn*
WIDTH=nn%
Specifies the width of this column, in pixels, in relative units or as a percentage. Strict
ALIGN=LEFT
ALIGN=CENTER
ALIGN=RIGHT
Renders the text and other elements within this column left aligned, centered within the cell width, or right aligned with the cell border.

This attribute overrides the ALIGN attribute of the COLGROUP, THEAD, TBODY, TFOOT and TR elements.

Strict
VALIGN=TOP
VALIGN=MIDDLE
VALIGN=BOTTOM
VALIGN=BASELINE
Specifies the vertical alignment of the cell contents in this column:
ALIGNMeaning
TOPplaces the cell contents at the top of the cell
MIDDLEplaces the cell contents vertically centered within the cell
BOTTOMplaces the cell contents at the bottom of the cell
BASELINEaligns the text in this cell with the text in other cells in the same row that have VALIGN=BASELINE specified
Strict

COLGROUP

TagExplanationMode
<COL> Can only appear within a TABLE element
Declares a column group within a table. The COLGROUP element may contain one or more COL elements to declare the individual columns in this group.
Strict
AttributeExplanationMode
SPAN=nn The number of columns within this group. Default is 1. This can be overridden by declaring one or more COL elements. Strict
WIDTH=nn
WIDTH=nn*
WIDTH=nn%
Specifies the width of each column in this group, in pixels, in relative units or as a percentage. Strict
ALIGN=LEFT
ALIGN=CENTER
ALIGN=RIGHT
Renders the text and other elements within this column group left aligned, centered within the cell width, or right aligned with the cell border.

This attribute overrides the ALIGN attribute of the THEAD, TBODY, TFOOT and TR elements.

Strict
VALIGN=TOP
VALIGN=MIDDLE
VALIGN=BOTTOM
VALIGN=BASELINE
Specifies the vertical alignment of the cell contents in this column group:
ALIGNMeaning
TOPplaces the cell contents at the top of the cell
MIDDLEplaces the cell contents vertically centered within the cell
BOTTOMplaces the cell contents at the bottom of the cell
BASELINEaligns the text in this cell with the text in other cells in the same row that have VALIGN=BASELINE specified
Strict

DD

TagExplanationMode
<DD> Can only appear within a DL element
Specifies a description in a definition list. The description is rendered indented.
Strict

DFN

TagExplanationMode
<DFN> ... </DFN> Specifies a definition. Typically rendered in italics. Strict

DIR

TagExplanationMode
<DIR> ... </DIR> Specifies a directory list. AWeb renders a DIR list exactly the same as a UL list. Strict

DIV

TagExplanationMode
<DIV> ... </DIV> Specifies a division of the document for aligning purposes. Strict
AttributeExplanationMode
ALIGN=LEFT
ALIGN=CENTER
ALIGN=RIGHT
Renders the text and other elements within the division left aligned, centered within the window width, or right aligned with the window border. Strict

DL

TagExplanationMode
<DL> ... </DL> Specifies a definition list. Each entry in the list contains one or more DT elements to specify the term, and one DD element that contains the desciption of that term Strict

DT

TagExplanationMode
<DT> Can only appear within a DL element
Specifies a term in a definition list. The term is rendered non-indented as opposed to the definition of the term.
Strict


Back to overview
More HTML tags: E-J, K-S, T-Z

<- Back to index.