!...
|
|
<!-- ... >
|
|
Specifies that the enclosed text is an author's comment.
|
|
Example:
<!-- This line of text will not display -->
|
|
!DOCTYPE
|
|
<!DOCTYPE>
|
|
Specifies the version used in the document. It's the first element of any HTML 3.2 compliant document.
|
|
Example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
A
|
|
<A HREF=reference NAME=name TARGET=window TITLE=title>
|
|
A is used to attach a hyper link to text or graphics using the HREF attribute or to specify text or graphics as a named reference using the NAME attribute.
|
|
Attributes:
HREF=reference
Specifies a destination address (in URL format) or a destination file.
NAME=name
Specifies a named reference within an HTML document. The name can be referenced in a hyper link by prefacing it with a pound sign (#).
TARGET=window | _blank | _parent | _self | _top
Specifies to load the link into the targeted window. This attribute can be used with a frameset where the frame has been named with the FRAME element.
_blank - specifies to load the link into a new blank window.
_parent - loads the link into the immediate parent of the current frame the link is in.
_self - loads the link into the current window.
_top - specifies to load the link into the full body of the window.
TITLE=title
Specifies the title that appears when the hyper link is selected.
|
|
Examples:
<A HREF="http://www.geocities.com/">Link to GeoCities</A>
<A NAME="topic1">Here's a named reference</A>
<A HREF="mainpage.html" TARGET="view1">Open mainpage.html in the "view1" window</A>
|
|
ADDRESS
|
|
<ADDRESS>
|
|
Specifies a mailing address. Text is displayed in italics.
|
|
Example:
<ADDRESS>Mailing address in italics</ADDRESS>
|
|
APPLET
|
|
<APPLET ALIGN=LEFT | CENTER | RIGHT ALT=alternateText CODE=appletFile CODEBASE=codebaseURL HEIGHT=pixels HSPACE=pixels NAME=appletInstanceName VSPACE=pixels WIDTH=pixels>
|
|
Embeds a Java applet in an HTML document
|
|
Attributes:
ALIGN=alignment
Alignment of an object to text.
ALT=alternateText
Alternate text for browsers that don't support Java.
CODE=appletFile
The name of the Java applet.
CODEBASE=codebaseURL
The directory in which the applet is located.
HEIGHT=pixels
Initial height of the applet display area.
HSPACE=pixels
Horizontal space
NAME=appletInstanceName
Use it to identify the applet to other objects within the HTML page.
VSPACE=pixels
Space above the object.
WIDTH=pixels
Initial width of the applet display area.
|
|
AREA
|
|
<AREA COORDS=coords HREF=url NOHREF SHAPE=shape-type TARGET=window>
|
|
Specifies the shape of a "hot spot" in a client-side image map.
|
|
Attributes:
SHAPE=shape-type
Denotes the type of shape. One of the following:
RECT - Rectangle. Takes 4 coordinates: x1, y1, x2 and y2.
CIRC - Circle. Takes 3 coordinates: centerx, centery and radius
POLY - Polygon. Takes three or more pairs of coordinates denoting a polygonal region.
DEFAULT - Specifies the region not defined by other AREA tags in a client-side map.
COORDS=coords
Specifies coordinates that define the hot-spot's shape.
NOHREF
Indicates that clicks in this region should cause no action.
TARGET=window
Specifies to load the link into the targeted window.
|
|
Examples:
<AREA SHAPE="RECT" COORDS="50,25,100,125 HREF="mainpage.html">
<AREA SHAPE="DEFAULT" NOHREF>
<AREA SHAPE="RECT" COORDS="50,25,100,125 HREF="mainpage.html" TARGET="_top">
|
|
B
|
|
<B>
|
|
Renders text in bold.
|
|
Example:
<B>In a boldface typefont</B>
|
|
BASE
|
|
<BASE HREF=url TARGET=window>
|
|
Specifies the document URL.
|
|
Parameters:
HREF=url
Specifies the document's full URL in case the document gets read out of context.
TARGET=window
Specifies to load all the links on the page into the targeted window.
|
|
Examples:
<BASE HREF="http://www.geocities.com/SiliconValley/">
<BASE HREF="http://www.yahoo.com/" TARGET="_parent">
|
|
BASEFONT
|
|
<BASEFONT COLOR=color FACE=name SIZE=n>
|
|
Sets the base font value that will be used as a default for any text not formatted with a style sheet or using the FONT element.
|
|
Parameters:
COLOR=color
Specifies the color of the base font.
FACE=name
Specifies the name of the base font.
SIZE=n
Specifies the size of the base font. Can be between 1 and 7 inclusive. 7 is largest and 3 is the default.
|
|
Example:
<BASEFONT COLOR="#800000" SIZE=3>
|
|
BGSOUND
|
|
<BGSOUND SRC=url LOOP=n>
|
|
Adds background sounds to a page. The sounds can be either samples (.wav or .au) or in MIDI format.
|
|
Parameters:
SRC=url
Specifies the address of the sound to play.
LOOP=n
Specifies how many times the sound will loop. If LOOP="-1" or LOOP="INFINITE" is specified, it will loop indefinitely.
|
|
Example:
<BGSOUND SRC="play.wav" LOOP="INFINITE">
<BGSOUND SRC="play.wav" LOOP=2>
|
|
BIG
|
|
<BIG>
|
|
Makes text one size larger.
|
|
Example:
<BIG>Larger text</BIG>
|
|
BLOCKQUOTE
|
|
<BLOCKQUOTE>
|
|
Indents both left and right margin. Used to mark quotations.
|
|
Example:
<BLOCKQUOTE>"Hi there!"</BLOCKQUOTE>
|
|
BODY
|
|
<BODY BACKGROUND=url BGCOLOR=color LINK=color VLINK=color ALINK=color TEXT=color LEFTMARGIN=n TOPMARGIN=n>
|
|
Specifies the beginning and end of the document body.
|
|
Parameters:
BACKGROUND=url
Specifies a background image that will be tiled behind the text and graphics on the page.
BGCOLOR=color
Sets the background color of the page.
LINK=color
Sets the color of hyper links that have not yet been visited.
VLINK=color
Sets the color of hyper links that already have been visited.
ALINK=color
Sets the color of hyper links when clicked with the mouse.
LEFTMARGIN=n
Specifies the left margin for the entire body of the page.
TOPMARGIN=n
Specifies the top margin for the entire body of the page.
|
|
Example:
<BODY BACKGROUND="/images/w.gif" LINK="#FF6600">...</BODY>
|
|
BR
|
|
<BR CLEAR= LEFT | RIGHT | ALL>
|
|
Inserts a line break.
|
|
Parameters:
CLEAR= LEFT | RIGHT | ALL
Inserts vertical space so that the next text displayed will be past left- or right-aligned "floating" images.
LEFT - inserts space so that the next text appears aligned with the left margin directly below a left-aligned floating image.
RIGHT - inserts space so that the next text appears aligned with the right margin directly below a right-aligned floating image.
ALL - places the next text past all floating images.
|
|
Example:
Text here!<BR CLEAR="all">
|
|
CAPTION
|
|
<CAPTION ALIGN=TOP | BOTTOM | LEFT | RIGHT>
|
|
Specifies a caption for a table.
|
|
Parameters:
ALIGN=TOP | BOTTOM | LEFT | RIGHT
Sets the alignment of the caption within the table.
|
|
Example:
<CAPTION ALIGN="bottom">Caption centered below the table</CAPTION>
|
|
CENTER
|
|
<CENTER>
|
|
Centers text and images.
|
|
Example:
<CENTER>Hello!</CENTER>
|
|
CITE
|
|
<CITE>
|
|
Indicates a citation.
|
|
Example:
<CITE>Book title</CITE>
|
|
CODE
|
|
<CODE>
|
|
Specifies a code sample. Text is rendered in a small, fixed-width font.
|
|
Example:
<CODE>if (a == 1) then b = 2;</CODE>
|
|
COL
|
|
<COL ALIGN=LEFT | CENTER | RIGHT SPAN=n>
|
Sets the properties of one or more columns. Used in conjunction with a COLGROUP element to set the properties of a column within a group of columns.
This element is valid only within a table. The end-tag is not required and is not recommended.
|
|
Parameters:
ALIGN=LEFT | CENTER | RIGHT
Specifies the text alignment in cells within the column.
SPAN=n
Sets the number of consecutive columns for which the properties are set.
|
|
Example:
<TABLE>
<COLGROUP>
<COL ALIGN="left">
<COL ALIGN="right">
<TBODY>
<TR>
<TD>First column, left-aligned.</TD>
<TD>First column, right-aligned.</TD>
</TR>
</TABLE>
|
|
COLGROUP
|
|
<COLGROUP ALIGN=LEFT | CENTER | RIGHT SPAN=n>
|
Sets the properties of one or more columns.
This element is valid only within a table. The end-tag is not required and is not recommended.
|
|
Parameters:
ALIGN=LEFT | CENTER | RIGHT
Specifies the text alignment in cells within the column(s).
SPAN=n
Sets the number of consecutive columns for which the properties are set.
|
|
Example:
<TABLE>
<COLGROUP ALIGN="right">
<COLGROUP ALIGN="left" SPAN=2>
<TBODY>
<TR>
<TD>Column in the first group, right-aligned.</TD>
<TD>Column in the second group, left-aligned.</TD>
<TD>Column in the second group, left-aligned.</TD>
</TR>
</TABLE>
|
|
COMMENT
|
|
<COMMENT>
|
|
Indicates a comment. Text is ignored, unless it contains HTML code.
|
|
Example:
<COMMENT>This text is ignored</COMMENT>
|
|
DD
|
|
<DD>
|
|
Specifies a definition in a definition list.
|
|
Example:
<DL>
<DT>HTML
<DD>Hyper Text Markup Language
</DL>
|
|
DFN
|
|
<DFN>
|
|
Specifies a definition. Formats a term for its first appearance in a document.
|
|
Example:
<DFN>HTML stands for hypertext markup language</DFN>
|
|
DD
|
|
<DD>
|
|
Specifies a definition in a definition list.
|
|
Example:
<DL>
<DT>HTML
<DD>Hyper Text Markup Language
</DL>
|
|
DIR
|
|
<DIR>
|
|
Denotes a directory list and specifies that de following block consists of items, beginning with a LI element and none containing more than 20 characters.
|
|
Example:
<DIR>
<LI>Sports
<LI>Music
</DIR>
|
|
DIV
|
|
<DIV ALIGN= LEFT | RIGHT | CENTER | JUSTIFY CLASS=container_type>
|
|
Represents different kinds of containers when used with the CLASS attribute. It allows the enclosed group of elements to be given a distinctive style.
|
|
Parameters:
ALIGN=LEFT | RIGHT | CENTER | JUSTIFY
Specifies the default horizontal alignment for the contents of the DIV element.
CLASS=container_type
Represents different kinds of containers, for example, chapter, section, abstract or appendix.
|
|
Example:
<DIV>
This text represents a section
</DIV>
|
|
DL
|
|
<DL>
|
|
Specifies that the following block is a definition list.
|
|
Example:
<DL>
<DT>HTML
<DD>Hyper Text Markup Language
</DL>
|
|
DT
|
|
<DT>
|
|
Specifies a term in a definition list. Indicates that the text is a term to be defined.
|
|
Example:
<DL>
<DT>HTML
<DD>Hyper Text Markup Language
</DL>
|
|
EM
|
|
<EM>
|
|
Emphasizes text by rendering it in italics.
|
|
Example:
<EM>Text in italics</EM>
|
|
EMBED
|
|
<EMBED HEIGHT=height WIDTH=width SRC=location NAME=name OPTIONAL PARAM=value PALETTE=FOREGROUND | BACKGROUND AUTOSTART=TRUE | FALSE HIDDEN=TRUE | FALSE>
|
|
Indicates an embedded object.
|
|
Parameters:
HEIGHT=height
The height of the object on the page, in pixels.
WIDTH=width
The width of the object on the page, in pixels.
SRC=location
The location of the object.
NAME=name
The name used by other objects to refer to this one.
OPTIONAL PARAM=value
Specifies any parameters that are specific to the object.
PALETTE=FOREGROUND | BACKGROUND
Sets the color palette to the foreground or background color.
AUTOSTART=TRUE | FALSE
Specifies if the browser should start the object immediately after download.
HIDDEN=TRUE | FALSE
Specifies if the browser should display the object.
|
|
Example:
<EMBED SRC="movie.avi" WIDTH=100 HEIGHT=250 AUTOSTART="true">
<EMBED SRC="s1.mid" AUTOSTART="true" HIDDEN="true">
|
|
FONT
|
|
<FONT FACE=name SIZE=n COLOR=color>
|
|
Sets the font, size and color of text.
|
|
Parameters:
FACE=name [,name [,name]]
Specifies a list of font names. If the first font is available on the system, it will be used; otherwise, the second will be tried, and so on. If none are available, a default font will be used.
SIZE=n
Specifies the font size between 1 and 7 (largest). A plus or minus before the number indicates a size relative to the current BASEFONT setting.
COLOR=color
Sets the font color (a hexadecimal RGB color value).
|
|
Example:
<FONT FACE="Arial" SIZE=4 COLOR="#FFFFFF">White text</FONT>
<FONT FACE="Arial, Helvetica">Arial or Helvetica</FONT>
|
|
FORM
|
|
<FORM ACTION=url METHOD=GET | POST TARGET=window>
|
|
Denotes a form.
|
|
Parameters:
ACTION=url
Specifies the address to use to carry out the form action.
METHOD=GET | POST
Indicates how to send the form data to the server.
GET - Appends the data as arguments to the action URL and opens it.
POST - Sends the data via an HTTP post transaction.
TARGET=window
Specifies to load the results of the form submission into the targeted window.
|
|
Example:
<FORM ACTION="/bin/search" METHOD="post">...</FORM>
|
|
FRAME
|
|
<FRAME NAME=name SRC=url ALIGN=LEFT | RIGHT | CENTER | TOP | BOTTOM FRAMEBORDER=1 | 0 MARGINHEIGHT=height MARGINWIDTH=width SCROLLING=YES | NO NORESIZE>
|
|
Defines a frame in a frameset. This is not a container.
|
|
Parameters:
NAME=name
Defines the target name of the frame (used in TARGET attributes).
SRC=url
Specifies the source file for the frame.
ALIGN=LEFT | RIGHT | CENTER | TOP | BOTTOM
Sets the alignment of the frame or of the surrounding text.
FRAMEBORDER= 1 | 0
1 (default) renders a 3-D edge border around the frame. 0 displays no border.
MARGINHEIGHT=height
Controls the margin height for the frame, in pixels.
MARGINWIDTH=width
Controls the margin width for the frame, in pixels.
SCROLLING=YES | NO
Creates a scrolling frame.
NORESIZE
Prevents the user from resizing the frame.
|
|
Example:
<FRAME NAME="TopFrame" SRC="index.html" FRAMEBORDER=0 NORESIZE>
|
|
FRAMESET
|
|
<FRAMESET COLS=col-widths ROWS=row-heights FRAMEBORDER=1 | 0 FRAMESPACING=spacing>
|
|
Defines a frameset.
|
|
Parameters:
COLS=col-widths
Creates a frame document with columns. Column dimensions can be specified in percentage (%), pixels or by relative sizes.
ROWS=row-heights
Creates a frame document with rows. Row dimensions can be specified in percentage (%), pixels or by relative sizes.
FRAMEBORDER= 1 | 0
Provides the option to display or not display a 3-D border for a frame.
FRAMESPACING=spacing
Adds additional space between frames (in pixels).
|
|
Example:
<FRAMESET COLS="25%,*">
<FRAME ...>
<FRAME ...>
</FRAMESET>
|
|
Hn
|
|
<Hn ALIGN=LEFT | CENTER | RIGHT>
|
|
Renders text in heading style. Use H1 through H6 to specify different sizes and styles.
|
|
Parameters:
n
Sets the heading level. An integer from 1 to 6.
ALIGN=LEFT | CENTER | RIGHT
Sets the alignment of the text. Defaults to LEFT.
|
|
Example:
<H1>Welcome to Alexander Spiteri 's Home</H1>
|
|
HEAD
|
|
<HEAD>
|
|
Marks the HTML document heading.
|
|
Example:
<HEAD>
<TITLE>Document title</TITLE>
</HEAD>
|
|
HR
|
|
<HR ALIGN=LEFT | CENTER | RIGHT COLOR=color NOSHADE SIZE=n WIDTH=n>
|
|
Draws an horizontal rule.
|
|
Parameters:
ALIGN=LEFT | CENTER | RIGHT
Draws the rule left-aligned, centered or right-aligned.
COLOR=color
Sets the color of the rule.
NOSHADE
Draws the rule without 3-D shading.
SIZE=n
Sets the height of the rule, in pixels.
WIDTH=n
Sets the width of the rule, in pixels or as a percentage of the window width.
|
|
Example:
<HR ALIGN="left" WIDTH=75%>
|
|
HTML
|
|
<HTML>
|
|
Denotes that the file is an HTML document.
|
|
Example:
<HTML>
<BODY>
A simple HTML document.
</BODY>
</HTML>
|
|
Example:
<HR ALIGN="left" WIDTH=75%>
|
|
I
|
|
<I>
|
|
Renders text in italics.
|
|
Example:
<I>Text in Italics</I>
|
|
IFRAME
|
|
<IFRAME NAME=name SRC=url ALIGN=LEFT | RIGHT | TOP | MIDDLE | BOTTOM FRAMEBORDER=1 | 0 HEIGHT=n WIDTH=n MARGINHEIGHT=n MARGINWIDTH=n NORESIZE SCROLLING=YES | NO>
|
|
Defines a floating frame. It requires the end-tag.
|
|
Parameters:
NAME=name
Sets a target name for the frame.
SRC=url
Source file for the frame.
ALIGN=LEFT | RIGHT | TOP | MIDDLE | BOTTOM
Sets the alignment of the frame or of the sorrounding text.
FRAMEBORDER=1 | 0
Renders a 3-D edge border around the frame.
HEIGHT=n
Sets the height of the frame, in pixels.
WIDTH=n
Sets the width of the frame, in pixels.
MARGINHEIGHT=n
Controls the margin height for the frame, in pixels.
MARGINWIDTH=n
Controls the margin width for the frame, in pixels.
NORESIZE
Prevents the user from resizing the frame.
SCROLLING=YES | NO
Creates a scrolling frame. Defaults to YES.
|
|
Example:
<IFRAME NAME="Frame1" SRC="frame.html" FRAMEBORDER=0></IFRAME>
|
|
IMG
|
|
<IMG ALIGN=align-type ALT=text BORDER=n CONTROLS DYNSRC=url HEIGHT=n HSPACE=n WIDTH=n VSPACE=n ISMAP LOOP=n SRC=address START=start-event USEMAP=map >
|
|
Inserts a graphic file.
|
|
Parameters:
ALIGN=align-type
Sets the alignment of the image or of the surrounding text.
ALT=text
Specifies text that will be displayed in place of the picture if "Show Pictures" is turned off.
BORDER=n
Specifies the size of a border to be drawn around the image.
CONTROLS
If a video clip is present, displays a set of controls under the clip.
DYNSRC=url
Specifies the address of a video clip or VRML world to be displayed in the window.
HEIGHT=n
Along with WIDTH, specifies the size at which the picture is drawn.
HSPACE=n
Along with VSPACE, specifies margins for the image.
WIDTH=n
Along with HEIGHT, specifies the size at which the picture is drawn.
VSPACE=n
Along with HSPACE, specifies margins for the image.
ISMAP
Identifies the picture as a server-side image map.
LOOP=n
Specifies how many times a video clip will loop when activated.
SRC=url
Specifies the address of the picture to insert.
START=start-event
Specifies when the file specified by the DYNSRC attribute should start playing.
USEMAP=map
Identifies the picture as a client-side image map.
|
|
Example:
<IMG SRC="face.gif" ALT="Funny Face" WIDTH=100 HEIGHT=46>
|
|
INPUT
|
|
<INPUT NAME=name TYPE=type SRC=address VALUE=value [CHECKED] SIZE=n MAXLENGTH=n ALIGN=LEFT | CENTER | RIGHT | TOP | MIDDLE | BOTTOM>
|
|
Specifies a form control.
|
|
Parameters:
NAME=name
Specifies the name of the control.
TYPE=type
Specifies what type of control to use. It can be one of these values:
TEXT - Used for a single-line text-entry field.
PASSWORD - The same as the TEXT type, except the text is not displayed.
IMAGE - An image field that you can click, causing the form to be submitted.
HIDDEN - No field is presented to the user, but its content is sent with the form.
CHECKBOX - Used for simple Boolean attributes or for attributes that can take multiple values at the same time.
RADIO - Used for attributes that accept a single value from a set of alternatives.
SUBMIT - A button that, when clicked, submits the form.
RESET - A button that, when clicked, resets the form's fields to their initial values.
SRC=address
Used when TYPE=IMAGE. Specifies the address of the image to be used.
VALUE=value
For textual or numerical controls, specifies the default value of the control. For Boolean controls, specifies the value to be returned when the control is turned on.
CHECKED
Sets a check box or radio button to "selected" when the form first loads.
SIZE=n
Specifies the size of the control, in characters.
MAXLENGTH=n
Specifies the maximum number of characters accepted by the control.
ALIGN=LEFT | RIGHT | TOP | MIDDLE | BOTTOM
Used when TYPE=IMAGE. Specifies how the next line of text will be aligned with the image.
|
|
Examples:
Name: <INPUT TYPE="text" NAME="name">
Password: <INPUT TYPE="password" NAME="password">
<INPUT TYPE="checkbox" CHECKED NAME="account"> Send account
<INPUT TYPE="submit" VALUE="Ok">
|
|
ISINDEX
|
|
<ISINDEX ACTION=url PROMPT=text>
|
|
Indicates the presence of a searchable index.
|
|
Parameters:
ACTION=url
Specifies the program to which the string in the text box should be passed.
PROMPT=text
Specifies a prompt to use instead of the default prompt.
|
|
Example:
<ISINDEX ACTION="http://www.www.com/search/" PROMPT="Your keywords:">
|
|
KBD
|
|
<KBD>
|
|
Renders text in a fixed-width font.
|
|
Example:
<KBD>Text to be entered at the keyboard</KBD>
|
|
LI
|
|
<LI TYPE=order-type VALUE=n>
|
|
In a DIR, MENU, OL, or UL block, denotes a new list item.
|
|
Parameters:
TYPE=order-type
Changes the style of an ordered list. It can take one of the values:
A - Use large letters.
a - Use small letters.
I - Use large Roman numerals.
i - Use small Roman numerals.
1 - Use numbers.
VALUE=n
Changes the count of ordered lists as they progress.
|
|
Example:
<UL>
<LI>Item 1
<LI>Item 2
<LI>Item 3
</UL>
|
|
LINK
|
|
<LINK HREF=url REL=forward-link-type REV=reverse-link-type TITLE=title TYPE=type>
|
|
Establishes a hierarchical organization for navigating between documents. The LINK element must reside within the HEAD element.
|
|
Parameters:
HREF=url
Specifies the URL that has a relationship to the current document.
REL=forward-link-type
Specifies the type of document to which the link is being made.
REV=reverse-link-type
TITLE=title
The character string supplied with this attribute is recommended for use in building a menu of alternative styles.
TYPE=type
Specifies the Internet media type and associated parameters for the linked style sheet.
|
|
Example:
<LINK HREF="http://www.geocities.com/SiliconValley/7517/">
|
|
LISTING
|
|
<LISTING>
|
|
Renders text in a fixed-width font.
|
|
Example:
<LISTING>Text rendered in italics.</LISTING>
|
|
MAP
|
|
<MAP NAME=name>
|
|
Specifies a client-side image map.
|
|
Parameters:
NAME=name
Gives a name to the map so it can be referred to.
|
|
Example:
<MAP NAME="navigation">
<AREA ...>
<AREA ...>
</MAP>
|
|
MARQUEE
|
|
<MARQUEE ALIGN=align-type BEHAVIOR=type BGCOLOR=color DIRECTION=direction LOOP=n SCROLLAMOUNT=n SCROLLDELAY=n HEIGHT=n HSPACE=n WIDTH=n VSPACE=n>
|
|
Creates a scrolling text marquee.
|
|
Parameters:
ALIGN=align-type
Specifies how the surrounding text should align with the marquee.
BEHAVIOR=type
Specifies the behavior of the text. It can be one of these values:
SCROLL - Start completely off one side, scroll all the way across and completely off, and then start again.
SLIDE - Start completely off one side, scroll in, and stop as soon as the text touches the other margin.
ALTERNATE - Bounce back and forth within the marquee.
BGCOLOR=color
Specifies the background color of the marquee.
DIRECTION=direction
Specifies in which direction the text should scroll. It can be LEFT or RIGHT.
LOOP=n
Specifies how many times a marquee will loop when activated. If LOOP=INFINITE (or n=-1) it will loop indefinitely.
SCROLLAMOUNT=n
Specifies the number of pixels between each successive draw of the marquee text.
SCROLLDELAY=n
Specifies the number of milliseconds between each successive draw of the marquee text.
HEIGHT=n
Specifies the height of the marquee.
HSPACE=n
Specifies left and right margins for the outside of the marquee, in pixels.
WIDTH=n
Specifies the width of the marquee.
VSPACE=n
Specifies top and bottom margins for the outside of the marquee, in pixels.
|
|
Example:
<MARQUEE DIRECTION="left" BEHAVIOR="scroll">Scrolling Marquee</MARQUEE>
|
|
MENU
|
|
<MENU>
|
|
Denotes a list consisting of items, each beginning with an LI element.
|
|
Example:
<MENU>
<LI> ...
<LI> ...
</MENU>
|
|
META
|
|
<META HTTP-EQUIV=response NAME=name CONTENT=description URL=url>
|
|
Provides information about an HTML document.
|
|
Parameters:
HTTP-EQUIV=response
Binds the element to an HTTP response header.
NAME=name
Description of the document.
CONTENT=description
Defines the meta-information content to be associated with the given name or HTTP response header. Can be used with URL= and a date and time specification to reload a document at a specified interval.
URL=url
Indicates the document's URL.
|
|
Examples:
<META HTTP-EQUIV="Expires" CONTENT="Tue, 04 Dec 1996 21:29:02 GMT">
<META HTTP-EQUIV="Reply-to" CONTENT="hgr@mail.telepac.pt">
<META NAME="Keywords" CONTENT="HTML, Tag, Reference">
|
|
NOBR
|
|
<NOBR>
|
|
Turns off line-breaking.
|
|
Example:
<NOBR>Here's a line that will not be broken</NOBR>
|
|
NOFRAMES
|
|
<NOFRAMES>
|
|
Indicates content viewable only by browsers that do not support frames. This way it's possible to create pages compatible with both types of browsers.
|
|
Example:
<FRAMESET>
<NOFRAMES>You'll need a new browser to see this page</NOFRAMES>
</FRAMESET>
|
|
OBJECT
|
|
<OBJECT ALIGN=align-type BORDER=n CLASSID=url CODEBASE=url CODETYPE=codetype DATA=url DECLARE HEIGHT=n HSPACE=n WIDTH=n VSPACE=n NAME=url SHAPES STANDBY=msg TYPE=type USEMAP=url>
|
|
Inserts an object, such as an image, document, applet, or control, into the HTML document.
|
|
Parameters:
ALIGN=align-type
Sets the alignment for the object.
BORDER=n
Specifies the width of the border if the object is defined to be a hyper link.
CLASSID=url
Identifies the object implementation. The syntax depends on the object type.
CODEBASE=url
Identifies the code base for the object.
CODETYPE=codetype
Specifies the Internet media type for code.
DECLARE
Declares the object without instantiating it.. Use this when creating cross-references to the object later in the document or when using the object as a parameter in another object.
HEIGHT=n
Specifies the suggested height for the object.
HSPACE=n
Specifies the horizontal gutter.
WIDTH=n
Specifies the suggested width for the object.
HSPACE=n
Specifies the vertical gutter.
NAME=url
Sets the name of the object when submitted as part of a form.
SHAPES
Specifies that the object has shaped hyper links.
STANDBY=msg
Sets the message to show while loading the object
TYPE=type
Specifies the Internet media type for data.
USEMAP=url
Specifies the image map to use with the object.
|
|
OL
|
|
<OL START=n TYPE=order-type>
|
|
Draws lines of text as an ordered list items, each beginning with an LI tag.
|
|
Parameters:
START=n
Specifies a starting number.
TYPE=order-type
Changes the style of the list. The order-type can be one of these values:
A - Use large letters.
a - Use small letters.
I - Use large Roman numerals.
i - Use small Roman numerals.
1 - Use numbers.
|
|
Example:
<OL TYPE=A>
<LI> ...
<LI> ...
</OL>
|
|
OPTION
|
|
<OPTION SELECTED VALUE=value>
|
|
In a SELECT block, denotes one of the choices that will appear in the list.
|
|
Parameters:
SELECTED
Indicates that this item is the default.
VALUE=value
Indicates the value that will be returned if this item is chosen.
|
|
Example:
<SELECT>
<OPTION VALUE="Option1">Yes
<OPTION VALUE="Option2" SELECTED>No
</SELECT>
|
|
P
|
|
<P ALIGN=LEFT | CENTER | RIGHT>
|
|
Inserts a paragraph break.
|
|
Parameters:
ALIGN=LEFT | CENTER | RIGHT
Sets the alignment of the paragraph.
|
|
Example:
<P ALIGN="center">This is a centered paragraph</P>
|
|
PARAM
|
|
<PARAM NAME=name VALUE=value VALUETYPE=type TYPE=type>
|
|
Sets property values for a given object. This element is only valid within an OBJECT element.
|
|
Parameters:
NAME=name
Specifies the property name.
VALUE=value
Specifies the property value.
VALUETYPE=type
Specifies how to interpret the value. It can be one of these:
DATA - The value is data. This is the default.
REF - The value is a URL.
OBJECT - The value is a URL of an object in the same document.
TYPE=type
Specifies the Internet media type.
|
|
PLAINTEXT
|
|
<PLAINTEXT>
|
|
Renders text in a fixed-width font without processing tags.
|
|
Example:
<PLAINTEXT>
HTML Example: <B>Bold Text</B>
</PLAINTEXT>
|
|
PRE
|
|
<PRE>
|
Displays text exactly as typed, with all the spacing and line breaks.
|
|
S
|
|
<S>
|
|
Renders text in strikethrough type.
|
|
Example:
<S>This text will have a line through it.</S>
|
|
SAMP
|
|
<SAMP>
|
|
Specifies sample text. Renders text in a small fixed-width font.
|
|
Example:
<SAMP>Sample</SAMP>
|
|
SCRIPT
|
|
<SCRIPT LANGUAGE=scripting-language>
|
|
Specifies the inclusion of a script. Scripts execute and instantiate objects in the order in which they appear in the HTML.
|
|
Parameters:
LANGUAGE=scripting-language
Indicates the Scripting language in which the enclosed script was written.
|
|
Example:
<SCRIPT LANGUAGE="JavaScript">
...
</SCRIPT>
|
|
SELECT
|
|
<SELECT MULTIPLE NAME=name SIZE=n>
|
|
Denotes a list box or drop-down list.
|
|
Parameters:
MULTIPLE
Indicates that multiple items can be selected.
NAME=name
Specifies a name for the list.
SIZE=n
Specifies the height of the list control.
|
|
Example:
<SELECT NAME="Car" SIZE=1>
<OPTION VALUE="1">BMW
<OPTION VALUE="2">Peugeot
</SELECT>
|
|
SMALL
|
|
<SMALL>
|
|
Makes text one size smaller.
|
|
Example:
<SMALL>Text here</SMALL>
|
|
SPAN
|
|
<SPAN STYLE=style>
|
|
Applies style information to text within a document.
|
|
Example:
<SPAN STYLE="margin-left: 1.0in">Text here</SPAN>
|
|
STRIKE
|
|
<STRIKE>
|
|
Renders text in strikethrough type.
|
|
Example:
<STRIKE>This text has a line through it</STRIKE>
|
|
STRONG
|
|
<STRONG>
|
|
Renders text in bold.
|
|
Example:
<STRONG>Bold text</STRONG>
|
|
SUB
|
|
<SUB>
|
|
Renders text in subscript.
|
|
Example:
<SUB>Text in subscript</SUB>
|
|
SUP
|
|
<SUP>
|
|
Renders text in superscript.
|
|
Example:
<SUP>Text in superscript</SUP>
|
|
TABLE
|
|
<TABLE ALIGN=align-type BACKGROUND=url BGCOLOR=color BORDER=n BORDERCOLOR=color BORDERCOLORDARK=color BORDERCOLORLIGHT=color CELLPADDING=n CELLSPACING=n COLS=n FRAME=frame-type RULES=rule-type WIDTH=n>
|
|
Creates a table.
|
|
Parameters:
ALIGN=align-type
Specifies the table alignment.
BACKGROUND=url
Specifies a background picture.
BGCOLOR=color
Specifies a background color.
BORDER=n
Sets the size, in pixels, of the table border.
BORDERCOLOR=color
Sets border color and must be used with the BORDER attribute.
BORDERCOLORDARK=color
Sets independent border color control over one of the two colors used to draw a 3-D border.
BORDERCOLORLIGHT=color
Sets independent border color control over one of the two colors used to draw a 3-D border.
CELLPADDING=n
Sets the amount of space, in pixels, between the sides of a cell and its contents.
CELLSPACING=n
Sets the amount of space, in pixels, between the frame (exterior) of the table and the cells in the table.
COLS=n
Sets the number of columns in the table.
FRAME=frame-type
Specifies which sides of a frame (outer borders) are displayed. It can have one of these values:
VOID - Removes all outside table borders.
ABOVE - Displays a border on the top side of the table frame.
BELOW - Displays a border on the bottom side of the table frame.
HSIDES - Displays a border on the top and bottom sides of the table frame.
LHS - Displays a border on the left-hand side of the table frame.
RHS - Displays a border on the right-hand side of the table frame.
VSIDES - Displays a border on the left and right sides of the table frame.
BOX - Displays a border on all sides of the table frame.
BORDER - Displays a border on all sides of the table frame.
RULES=rule-type
Specifies which dividing lines (inner borders) are displayed. It can be one of these values:
NONE - Removes all interior table borders.
GROUPS - Displays horizontal borders between all table groups.
ROWS - Displays horizontal borders between all table rows.
COLS - Displays vertical borders between all table columns.
ALL - Displays a border on all rows and columns.
WIDTH=n
Sets the width of the table in pixels or as a percentage of the window.
|
|
Example:
<TABLE BORDER=0 CELLSPACING=0 WIDTH="75%">
<TR>
...
</TABLE>
|
|
TBODY
|
|
<TBODY>
|
|
Defines the table body. This element is used to distinguish the rows in the table header or footer from those in the main body of the table.
|
|
Example:
<TABLE BORDER=0 CELLSPACING=0 WIDTH="75%">
<THEAD>
<TR>
...
</THEAD>
<TBODY>
<TR>
...
</TBODY>
</TABLE>
|
|
TD
|
|
<TD ALIGN=align-type BACKGROUND=url BGCOLOR=color BORDERCOLOR=color BORDERCOLORDARK=color BORDERCOLORLIGHT=color COLSPAN=n NOWRAP=NOWRAP ROWSPAN=n VALIGN=align-type WIDTH=n>
|
|
Creates a cell in a table.
|
|
Parameters:
ALIGN=align-type
Specifies the horizontal alignment of text in the cell.
BACKGROUND=url
Specifies a background picture.
BGCOLOR=color
Specifies a background color.
BORDERCOLOR=color
Sets border color and must be used with the BORDER attribute.
BORDERCOLORDARK=color
Sets independent border color control over one of the two colors used to draw a 3-D border.
BORDERCOLORLIGHT=color
Sets independent border color control over one of the two colors used to draw a 3-D border.
COLSPAN=n
Indicates the number of table columns this cell spans.
NOWRAP=NOWRAP
Prevents word wrapping within the cell.
ROWSPAN=n
Indicates the number of table rows this cell spans.
VALIGN=align-type
Specifies vertical alignment of text in the cell.
WIDTH=n
Specifies the width of the cell.
|
|
Example:
<TR>
<TD ALIGN="center" VALIGN="top" WIDTH=100>
...
</TD>
</TR>
|
|
TEXTAREA
|
|
<TEXTAREA NAME=name COLS=n ROWS=n>
|
|
Creates a multiple-line text entry control in which the user can enter and edit text.
|
|
Parameters:
NAME=name
Sets the name of the text area.
COLS=n
Sets the width, in characters, of the text area.
ROWS=n
Sets the height, in characters, of the text area.
|
|
Example:
<TEXTAREA NAME="T1" COLS=50 ROWS=5>Default Contents</TEXTAREA>
|
|
TFOOT
|
|
<TFOOT>
|
|
Defines the table footer.
|
|
Example:
<TABLE>
<TBODY>
<TR>
...
<TFOOT>
<TR>
...
</TABLE>
|
|
TH
|
|
<TH ALIGN=align-type BACKGROUND=url BGCOLOR=color BORDERCOLOR=color BORDERCOLORDARK=color BORDERCOLORLIGHT=color COLSPAN=n NOWRAP=NOWRAP ROWSPAN=n VALIGN=align-type WIDTH=n>
|
|
Creates a row or column heading in a table.
|
|
Parameters:
ALIGN=align-type
Specifies the horizontal alignment of text in the cell.
BACKGROUND=url
Specifies a background picture.
BGCOLOR=color
Specifies a background color.
BORDERCOLOR=color
Sets border color and must be used with the BORDER attribute.
BORDERCOLORDARK=color
Sets independent border color control over one of the two colors used to draw a 3-D border.
BORDERCOLORLIGHT=color
Sets independent border color control over one of the two colors used to draw a 3-D border.
COLSPAN=n
Indicates the number of table columns this cell spans.
NOWRAP=NOWRAP
Prevents word wrapping within the cell.
ROWSPAN=n
Indicates the number of table rows this cell spans.
VALIGN=align-type
Specifies vertical alignment of text in the cell.
WIDTH=n
Specifies the width of the cell.
|
|
Example:
<TR>
<TH ALIGN="center" VALIGN="top" WIDTH=100>
...
</TH>
</TR>
|
|
THEAD
|
|
<THEAD>
|
|
Defines the table header.
|
|
Example:
<TABLE>
<THEAD>
<TR>
...
<TBODY>
<TR>
...
</TABLE>
|
|
TITLE
|
|
<TITLE>
|
|
Specifies the document title. This element is only valid within the HEAD element.
|
|
Example:
<HEAD>
<TITLE>Welcome to Alexander Spiteri 's Home</TITLE>
</HEAD>
|
|
TR
|
|
<TR ALIGN=align-type BACKGROUND=url BGCOLOR=color BORDERCOLOR=color BORDERCOLORDARK=color BORDERCOLORLIGHT=color VALIGN=align-type>
|
|
Creates a cell in a table.
|
|
Parameters:
ALIGN=align-type
Specifies the horizontal alignment of text in the cell.
BACKGROUND=url
Specifies a background picture.
BGCOLOR=color
Specifies a background color.
BORDERCOLOR=color
Sets border color and must be used with the BORDER attribute.
BORDERCOLORDARK=color
Sets independent border color control over one of the two colors used to draw a 3-D border.
BORDERCOLORLIGHT=color
Sets independent border color control over one of the two colors used to draw a 3-D border.
VALIGN=align-type
Specifies vertical alignment of text in the cell.
|
|
Example:
<TR BACKGROUND="/Textures/t1.gif">
<TD ALIGN="center" VALIGN="top" WIDTH=100>
...
</TD>
</TR>
|
|
TT
|
|
<TT>
|
|
Teletype. Renders text in a fixed-width font.
|
|
Example:
<TT>Plain Text</TT>
|
|
U
|
|
<U>
|
|
Renders text underlined.
|
|
Example:
<U>Underlined Text</U>
|
|
UL
|
|
<UL>
|
|
Specifies that the following block consists of individual items, each beginning with an LI tag. The items are bulleted.
|
|
Example:
<UL>
<LI>Item 1
<LI>Item 2
</UL>
|
|
VAR
|
|
<VAR>
|
|
Variable. Renders text in a small, fixed-width font.
|
|
Example:
Enter the <VAR>File Name</VAR>.
|
|
WBR
|
|
<WBR>
|
|
Inserts a soft line-break in a block of NOBR text.
|
|
Example:
<NOBR>This sentence will break here.<WBR> And no more...</NOBR>
|
|
XMP
|
|
<XMP>
|
|
Example text. Renders text in a fixed-width font.
|
|
Example:
<XMP>Plain Text</XMP>
|