Copyright
©1996, Que Corporation. All rights reserved. No part of this book
may be used or reproduced in any form or by any means, or stored in a database
or retrieval system without prior written permission of the publisher except
in the case of brief quotations embodied in critical articles and reviews.
Making copies of any part of this book for any purpose other than your
own personal use is a violation of United States copyright laws. For information,
address Que Corporation, 201 West 103rd Street, Indianapolis,
IN 46290 or at support@mcp.com.
Notice: This material is excerpted from Special
Edition Using HTML, 2nd Edition, ISBN: 0-7897-0758-6. This material
has not yet been through the final proof reading stage that it will pass
through before being published in printed form. Some errors may exist here
that will be corrected before the book is published. This material is provided
"as is" without any warranty of any kind.
Appendix A HTML Tags
There are many HTML elements, and each has its own set of attributes
that it can use. This is a complete list of HTML tags, their corresponding
attributes, and a description of what they do.
<!-- and --> Comment
You can put in a comment in your Web document by enclosing it between
the <!-- beginning marker, and the --> ending marker. Some browsers
will not properly handle HTML-related characters within the comments. Also,
not all browsers correctly recognize the double dashes as being needed
for the start of the comment. This HTML tag has no attributes.
The following is an example of <!-- -->:
<!-- This line of text will only be seen by people who look at the HTML source. -->
<A>: Anchor
The Anchor HTML tag is an important element for hypertext links of any
sort. The Anchor element type can have the following attributes:
- CHARSET-This is a proposed attribute to HTML for internationalization.
It indicates what type of character set is used by the hypertext link.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- HREF-This indicates the destination URL.
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This is intended to supercede the NAME attribute.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- MD-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This attribute is used to specify a message digest or checksum.
This is used when you want to be sure that a linked object is the one the
Web author specified.
- METHODS-This indicates a list of HTTP METHODS supported
by the object. This is a little used and little supported attribute.
- NAME-This defines the current line as a destination point.
These points are used for internal jumps or jumps to a specific line.
- REL-When used with the HREF attribute, this indicates a particular
relationship with the destination. This is a little used and little supported
attribute and will probably be superseded in the future.
- REV-When used with the HREF attribute, this is the inverse
of the REL attribute. This establishes a backwards relationship between
the current Web page and the URL that brought up this HTML document. This
is a little used and little supported attribute and will probably be superseded
in the future.
- SHAPE-This proposed attribute is supposed to indicate the
corresponding clickable region in a FIG element. This was originally intended
as a substitute for imagemaps.
- TARGET-This indicates the name of the window to be used when
going to the hypertext link. If the window doesn't exist, the browser will
open up a new window, and assign it that name. This attribute is an extension
introduced by Netscape.
- TITLE-When used with the HREF attribute, this attribute indicates
the title of the destination URL. This is a little used and little supported
attribute.
- URN-The Universal Resource Number was originally intended
as a better method of referring to destination links, instead of URLs.
It is currently not used or supported.
The following is an example of <A>:
<A HREF="http://www.mysite.com/" NAME="destination1"> Sample anchor element.</A>
<ABBREV>: Abbreviations
The proposed Abbreviations tag will change some of the enclosed text
into abbreviations. This does not change the actual text, just how it's
displayed by the browser. This is a work in progress. The Abbreviations
tag can have the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <ABBREV>:
<ABBREV>Some of these words will be abbreviated when displayed.</ABBREV>
<ACRONYM>: Acronym
The proposed HTML 3 tag, <ACRONYM>, will display the enclosed
text with acronyms. This does not change the actual text, just how it's
displayed by the browser. This is a work in progress. The Acronym tag can
have the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <ACRONYM>:
<ACRONYM>Some of these words will be reduced to acronyms when displayed.</ACRONYM>
<ADDRESS>: Address
The <ADDRESS> tag is used to indicate an address, typically the
e-mail address of the Web author. The Address element can have the following
attributes:
- ALIGN-This is a proposed attribute to HTML for internationalization.
It's used to indicate the alignment of the text in the address. It can
have the value of center, justify, left, or
right.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- NOWRAP-This is a proposed attribute to HTML 3 to indicate
that the address should not be word wrapped.
The following is an example of <ADDRESS>:
<ADDRESS>This page was created by me.</ADDRESS>
<APPLET>: JAVA Applet
This proposed HTML extension was introduced in Netscape Navigator. When
used, browsers that can run JAVA applications will run the specified JAVA
applet. Parameters that you want to pass to a particular JAVA application
can be done with the <PARAM> tag. <APPLET> can have the following
attributes:
- ALT-This attribute indicates to browsers that recognize the
<APPLET> tag an alternate text string to be displayed. This behaves
the same as the ALT attribute for the <IMG> tag.
- ALIGN-This attribute indicates the display alignment of the
JAVA applet. It can have the following values: absbottom, absmiddle,
baseline, bottom, left, middle, right,
texttop, and top.
- CODE-This indicates the file that contains the JAVA applet
program. The file name indicated can not point to an absolute URL.
- CODEBASE-You specify the base URL for the JAVA application
with this attribute. This is used in conjunction with the CODE attribute.
- HEIGHT-This indicates the initial height of the display for
the JAVA applet. The value must be specified as the number of pixels.
- HSPACE-This indicates how many pixels to reserve for the JAVA
applet, horizontally.
- NAME-This attribute gives a name to the JAVA applet that is
about to be executed. This is useful when you want different applets on
the same Web page to talk to each other.
- VSPACE-This indicates how many pixels to reserve for the JAVA
applet, horizontally.
- WIDTH-This indicates the initial width of the display for
the JAVA applet. The value must be specified as the number of pixels.
The following is an example of <APPLET>:
<APPLET CODE="myprogram" WIDTH=200 HEIGHT=200>My first JAVA applet.</APPLET>
<AREA>: Area for a Clickable Map
This proposed extension to HTML by Netscape is used to create client-side
imagemaps. This tag is intended to specify one clickable region on a graphic.
<AREA> has the following attributes:
- ALT-This provides a text-based alternative to non-graphical
Web browsers. Currently, this has not been defined.
- COORDS-This indicates the position of the specified area on
the image. The coordinates are put in quotation marks, and the coordinates
are separated by commas. The upper-left hand corner of the image is "0,0".
- HREF-This specifies the destination URL if this area is accessed.
- NOHREF-This is used to indicate that a region isn't linked
to anything.
- SHAPE-This is used to indicate the shape of the clickable
region. If this attribute is rect, then COORDS must indicate
the coordinates for the upper-left corner followed by the lower-right corner.
For the circle value, COORD indicates the coordinates
of the center followed by the radius. As for the polygon value,
COORD indicates a successive set of coordinates. Each pair of
coordinates indicates a vertex of the polygon.
The following is an example of <AREA>:
<AREAD COORD="0,0","100,100" SHAPE=rect HREF="http://www.mysite.com/" ALT="Go to my site!">
<AU>: Author
This proposed HTML 3 tag is used to indicate the name of an author.
<AU> can have the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <AU>:
The authors of this book are <AU>Mark Brown and John Jung</AU>.
<B>: Bold
This tag will make whatever text is enclosed within it display in a
bold font. The <B> tag can have the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <B>:
This word is in <B>bold</B>.
<BANNER>: Banner
This is a proposed HTML 3 tag that will display something as a banner.
The text in this tag will not scroll with the rest of the HTML document.
It's mainly intended to be used for company logos or navigational aids.
You can use the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <BANNER>:
<BANNER>This home page was created by MeSoft.</BANNER>
<BASE>: Base URL
The <BASE> HTML element is used to indicate the default location
of relative URL links. This is useful in the event that you move your home
page to another computer. If this happens, all relative links on that page
will not have to be updated. This tag can have the following attributes:
- HREF-This indicates the baseline URL that relative links will
be based upon.
- TARGET-This indicates the name of the window to be used when
going to the hypertext link. If the window doesn't exist, the browser will
open up a new window and assign it that name. This attribute is an extension
introduced by Netscape.
The following is an example of <BASE>:
<BASE HREF="http://www.mycomputer.com/homepage/mystuff/">
<BASEFONT>: Default Font Size
This HTML element is used to indicate the default font size for the
current HTML document. <BASEFONT> was originally introduced as an
extension by Netscape. It has only one attribute: SIZE. This attribute
indicates which default font value to use. By default, the font value used
is 3. There are seven possible values for this attribute: 1,
2, 3, 4, 5, 6, and 7.
These do not indicate point sizes, but rather a predetermined font size.
The following is an example of <BASEFONT>:
<BASEFONT SIZE=4>
<BDO>: Directional Override
This proposed tag is intended for the internationalization of HTML.
The <BDO> tag is used to indicate how text should be displayed by
the browser. It has the following attributes:
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <BDO>:
<BDO DIR=ltr>This will cause text to flow from the left to the right.</BDO>
<BGSOUND>: Background Sound
Microsoft introduced this proposed extension to HTML for adding more
flair to home pages. This will cause a sound file to be played in the background
while the user is looking at the home page. This tag can have the following
attributes:
- LOOP-This indicates how many times the sound file should be
played. This can either be a numerical value or the word infinite.
If no value is specified, the sound file is played once.
- SRC-This attribute indicates the URL for the sound file to
be played. Available sound file formats are .WAV, .AU, and .MID.
The following is an example of <BGSOUND>:
<BGSOUND SRC=http://www.mysite.com/intro.wav>
<BIG>: Big
This is a proposed HTML 3 tag that instructs the browser to make the
enclosed text big. This can have the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter-language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <BIG>:
This word will come out <BIG>BIG</BIG>
<BLINK>: Blink
This HTML tag will cause the enclosed text to blink. This tag was introduced
by Netscape as a proposed extension. Some people find the <BLINK>
tag to be quite annoying.
The following is an example of <BLINK>:
See what's <BLINK>NEW</BLINK> at this page!
<BLOCKQUOTE>: Blockquote
When a browser comes across this HTML tag, it will show the text as
quoted text. This typically means that the text will be indented on both
the left and right. <BLOCKQUOTE> can have the following attributes:
- ALIGN-This is a proposed attribute to HTML for internationalization.
It's used to indicate the alignment of the text in the address. It can
have the value of center, justify, left, or
right.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <BLOCKQUOTE>:
<BLOCKQUOTE>To be or not to be, that is the question.</BLOCKQUOTE>
<BODY>: Body
This HTML tag encloses the body of the Web page. Everything you want
users to see is enclosed within the <BODY> tag. This element can
have the following attributes:
- ALINK-This Netscape extension indicates the color to be used
when a link is clicked. This color is represented by three pairs of hexadecimal
numbers. The pairs represent the red, green, and blue color values.
- BACKGROUND-This Netscape extension provides for a background
image. This extension has also been proposed for HTML 3. The value you
set for this must be the URL for the graphic you want displayed in the
background.
- BGCOLOR-This Netscape extension indicates the color of the
background for this page. This color is represented by three pairs of hexadecimal
numbers. The pairs represent the red, green, and blue color values.
- BGPROPERTIES-This is a Microsoft extension and can currently
only be set to fixed. It provides for a background watermark image.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- LINK-This Netscape extension indicates the color to be used
when there is a hypertext link that hasn't been visited. This color is
represented by three pairs of hexadecimal numbers. The pairs represent
the red, green, and blue color values.
- TEXT-This Netscape extension indicates the color to be used
to display the text of your home page. This color is represented by three
pairs of hexadecimal numbers. The pairs represent the red, green, and blue
color values.
- VLINK-This Netscape extension indicates the color to be used
when a link has already been visited. This color is represented by three
pairs of hexadecimal numbers. The pairs represent the red, green, and blue
color values.
The following is an example of <BODY>:
<BODY BACKGROUND="http://www.mysite.com/backdrop.gif">[Web page]</BODY>
<BQ>: BlockQuote
This is a proposed HTML 3 element that is intended to replace the <BLOCKQUOTE>
tag. <BQ> is different from <BLOCKQUOTE> in that it does not
imply word wrapping. This tag has the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <BQ>:
<BQ>We hold these truths to be self-evident</BQ>
<BR>: Line Break
This HTML tag forces a new line to be created at that point. This means
that whether or not word wrap will take effect, the line break will occur.
This element has the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
The following is an example of <BR>:
Even though this line may word wrap on your browser, it'll still have a line break at the end.<BR>
<CAPTION>: Caption
This HTML 3 proposed tag was originally a Netscape proposed extension.
This element is used to attach a label to a table or a figure. <CAPTION>
has the following attributes:
- ALIGN-This attribute will determine where the caption is placed.
Acceptable values are top, bottom, left, and
right.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <CAPTION>:
<CAPTION>Table 1.1</CAPTION>
<CENTER>: Center
This Netscape-specific extension to HTML will center all enclosed text.
This has since been superseded by the HTML 3 proposals. Now, all text elements
have an ALIGN attribute that can be set to center.
Example:
<CENTER>This text is centered on the browser.</CENTER>
<CITE>: Citation
The CITE element is used when you want to indicate a citation of some
sort. It has the following attributes:
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
Example:
<CITE>Hamlet, ACT V, Scene I</CITE>
<CODE>: Source Code
The <CODE> element should be used when you want to indicate source
code. If you're giving people instructions on how to do something with
a computer, use this tag. You can use the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <CODE>:
At the UNIX prompt, type in <CODE>ls -al</CODE>
<COL>: Column Defaults
There is a new proposed HTML 3 standard for table creation. One of the
new tags included in that proposal is the <COL> element. You can
use this element to define some standard behavior for table columns. This
tag has the following attributes:
- ALIGN-This attribute indicates the alignment of the text within
the column. It can have the value of char, center, justify,
left, or right.
- CHAR-This is used to indicate which character the column is
to be aligned with. This is only interpreted when the ALIGN attribute
has been set to char.
- CHAROFF-This number is used to indicate the offset of the
alignment character from the table cell.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- SPAN-This number is used to indicate how many table cells
the cell value applies to. If you set SPAN=0, it will apply the
current value to all cells. The default value is 1.
- VALIGN-This indicates the vertical alignment of the text of
the table cell. Acceptable values for this attribute are baseline,
bottom, middle, and top.
- WIDTH-This value indicates the width of each column. You can
also specify the unit of measurement for the width. The standard units
are pt (point size), pi (picas), in (inches),
cm (centimeters), mm (millimeters), em (em units),
px (screen pixels). Instead of a unit, you can put an asterisk
(*) to specify a relative width.
The following is an example of <COL>:
<COL ALIGN=char CHAR="." WIDTH="100mm">
<COLGROUP>: Column Group
The <COLGROUP> element is a container for a group of columns.
It also enables you to set the defaults for all of these columns. This
element has the following attribute:
- ALIGN-This attribute indicates the alignment of the text within
the column. It can have the value of char, center, justify,
left, or right.
- CHAR-This is used to indicate which character the column is
to be align with. This is only interpreted when the ALIGN attribute
has been set to char.
- CHAROFF-This number is used to indicate the offset of the
alignment character from the table cell.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- VALIGN-This indicates the vertical alignment of the text of
the table cell. Acceptable values for this attribute are baseline,
bottom, middle, and top.
- WIDTH-This indicates the default width of grouped columns. You can
specify relative size by appending an asterix (*) at the end.
The following is an example of <COLGROUP>:
<COLGROUP ALIGN=char CHAR=".">10.0</COLGROUP>
<CREDIT>: Credit
This HTML 3 proposed tag should be used to name the source of information.
The following attributes are available:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <CREDIT>:
<CREDIT>By William Shakespeare</CREDIT>
<DD>: Definition List Data
If you choose to make use of a definition list in your home page, you'll
need <DD>. This HTML tag is used to indicate a definition for the
definition list. A <DD> tag should always be preceded by a <DT>
tag. The <DD> element has the following attributes:
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <DD>:
<DD>Sample Definition</DD>
<DEL>: Delete
This HTML 3 tag is meant to supersede the <S> or <STRIKE>
elements. Text enclosed within a <DEL> tag will be shown as strikethrough.
You have the following attributes available:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <DEL>:
This is a <DEL>mistake<DEL>.
<DFN>: Definition
This HTML 3 tag will have the browser display the enclosed text as a
description. If the current Web page makes use of a lot of definitions,
you should use this tag. This element has the following attribute:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <DFN>:
<DFN>HTML-HyperText Markup Language</DFN>
<DIR>: Directory List
The <DIR> element is used when you want to create an unordered
list of single-line elements. Each line in the <DIR> list is defined
by the <LI> tag. You can apply the following attributes to the <DIR>
tag:
- ALIGN-This attribute indicates the alignment of the text on
the line. It can have the value of center, justify, left,
or right.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- COMPACT-This attribute tells the browser to display the list
in a compact manner. It is not, however, supported by many browsers.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <DIR>:
<DIR ALIGN=center><LI>MYFILE.EXE</LI><LI>MYFILE.TXT</LI></DIR>
<DIV>: General Text Division
This proposed HTML 3 tag is intended to be used to replace the Netscape-specific
<CENTER> tag. It has the following attributes:
- ALIGN-This attribute indicates the alignment of the text on
the line. It can have the value of center, justify, left,
or right.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <DIV>:
<DIV ALIGN=center>This line is centered.</DIV>
<DL>: Definition List
If you're going to use a lot of definitions or have a page of definitions,
you need this tag. Each entry in the definition list is made up of <DT>
and <DD> tags. You can use the following attributes:
- ALIGN-This attribute indicates the alignment of the text on
the line. It can have the value of center, justify, left,
or right.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- COMPACT-This attribute tells the browser to display the list
in a compact manner. It is not, however, supported by many browsers.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <DL>:
<DL><DT>Internet</DT><DD>A distributed collection of computers spread worldwide.</DD></DL>
<DT>: Definition List Title
This is one of the three HTML elements you need to use when creating
a definition list. You create headings for your definitions with the <DT>
tag. This HTML element comes with the following attributes:
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <DT>:
<DT>Definiton Heading</DT>
<EM>: Emphasis
There are a number of ways of making text stand out. Place this HTML
tag around the text that you want to emphasize. It has the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <EM>:
I repeat, you're <EM>WRONG</EM>!
<EMBED>: Embed Netscape Plugin
Netscape Navigator 2.0 provides for the capability to insert arbitrary
objects. This is done with the newly created Netscape-specific tag, <EMBED>.
You have a number of attributes you can use:
- Attributes-The <EMBED> element enables arbitrary and undefined
attributes. These attributes are supposed to be application-specific, which
makes documentation difficult.
- HEIGHT-This indicates the initial height of the display for
the embedded object. The value must be specified as a number of pixels.
- SRC-This points to a URL for the object you want to embed.
- WIDTH-This indicates the initial width of the display for
the embedded object. The value must be specified as a number of pixels.
The following is an example of <EMBED>:
<EMBED SRC="mymovie.dcr">
<FIG>: Figure
A new element in the HTML 3 proposal is the <FIG> tag, an improved
<IMG> tag. You can include text elements as well as specify hotspots
with other tags. You can also use the <OVERLAY> element to put overlays
on top of figures. <FIG> has the following attributes:
- ALIGN-This attribute indicates the alignment of the text on
the line. It can have the value of bleedleft, bleedright,
center, justify, left, or right.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- HEIGHT-This indicates the initial height of the display for
the embedded object. The value must be specified as a number of pixels.
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- MD-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This attribute is used in conjunction with the SRC attribute,
to specify a message digest or checksum. This is used when you want to
be sure that a linked object is the one the Web author specified.
- SRC-This points to a URL for the image you want to use.
- UNITS-This attribute enables the HEIGHT and WIDTH
attributes to use units other than screen pixels.
- WIDTH-This indicates the initial width of the display for
the embedded object. The value must be specified as a number of pixels.
The following is an example of <FIG>:
<FIG SRC="http://www.mysite.com/mygraphic.gif"></FIG>
<FN>: Footnote
A new proposed HTML 3 tag is the footnote element. Currently, very few
browsers support this tag. You have the following attributes available:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <FN>:
<FN>This is a footnote.</FN>
<FONT>: Font Size
The <FONT> element, first introduced by Netscape, enables various
font manipulations. It has not been adopted as part of the new HTML 3 proposal.
<FONT> has the following attributes:
- COLOR-This attribute enables the font to be drawn in a particular
color. This color is represented by three pairs of hexadecimal numbers.
The pairs represent the red, green, and blue color values.
- FACE-This attribute was introduced by Microsoft as a means
of specifying a font style. There are currently no defined values.
- SIZE-This attribute indicates how much to increase or decrease
the <BASEFONT> size. An acceptable value is anything between -7 and
+7. You can also specify an absolute font size, with acceptables values
between 1 - 7.
The following is an example of <FONT>:
<FONT SIZE=+2>
<FORM>: Fill Out Forms
The fill-out form is one of the best ways to get user input. The biggest
drawback to using <FORM> is that you must have a CGI script to retrieve
the information. Here is a list of attributes for this tag:
- ACCEPT-CHARSET-This attribute was introduced in the HTML internationalization
attempt. This indicates the character sets that the receiving URL can handle.
- ACTION-This indicates the URL to send the information to.
- ENCTYPE-This attribute specifies the behavior of the form.
Currently, there are only two defined: application/x-www-form-urlencoded
and multipart/form-data.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- METHOD-This attribute describes what should be done with the
form. There are currently only two acceptable values: GET, which
sends the information to the URL specified by ACTION; and POST,
which enables you to do an HTTP upload.
- SCRIPT-This is an HTML 3 proposed attribute. The file specified
by SCRIPT is sent to the browser's computer for execution. This
program is intended to do some data manipulation before sending it to the
URL in ACTION.
The following is an example of <FORM>:
<FORM ACTION="http://www.mysite.com/cgi-big/get.cgi" METHOD="GET"></FORM>
<FRAME>: Frame
This is a new Netscape-specific HTML extension, which provides better
handling of the browser's window. Netscape enables URLs to update certain
frames or for some frames to remain on the browser. The <FRAME> tag
has a number of attributes:
- MARGINHEIGHT-This indicates the height of the frame, specified
in pixels.
- MARGINWIDTH-This indicates the width of the frame, specified
in pixels.
- NAME-This attribute assigns a name to the frame to be used
as a target for hypertext link updates. There are four reserved names:
_blank, _self, _parent, and _top. These
values must begin with the underbar character and each have different meanings.
The _blank name indicates a new, unnamed window. The _self
name indicates the same window as the calling URL. The _parent
name indicates that the destination is the parent frame of the destination
URL. Finally, the _top indicates that the top window should be
used.
- NORESIZE-When this attribute is used, the user cannot resize
the frame.
- SCROLLING-This attribute is used to determine if there is
a scroll bar. You can use either YES, NO, or AUTO.
By default, AUTO is used.
- SRC-This indicates the URL for the HTML document to be shown
in the frame.
The following is an example of <FRAME>:
<FRAME SRC="http://www.mysite.com/myframe.html" SCROLLING="YES" NORESIZE>
<FRAMESET>: Frame Setup
The <FRAMESET> tag is another proposed extension from Netscape
to be used instead of the <BODY> element. This tag is used only to
set up other frames that will be the actual page. You must use the <FRAME>
element if you use this tag. You have a number of attributes available:
- COLS-This list of widths of the frame is separated by commas.
By default, you specify the frame widths in pixels. Alternatively, you
can add the percent sign (%) after a number to make the frame width a percentage
of the browser's width.
- ROWS-This attribute is similar to the COLS attribute,
except that it applies to the frames' heights. These values for each consecutive
frame are separated by commas. By default, the height specifications are
expressed in screen pixels. Alternatively, you can add the percent sign
(%) after a number to make the frame height a percentage of the browser's
height.
The following is an example of <FRAMESET>:
<FRAMESET COLS="50%,50%" ROWS="600, 400"></FRAMESET>
<H1>: Heading, Level 1
This HTML tag displays text as the most prominent header. It has the
following attributes:
- ALIGN-This attribute indicates the alignment of the text on
the line. It can have the value of center, justify, left,
or right.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- MD-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This attribute is used to specify a message digest or checksum.
This is used when you want to be sure that a linked object is the one the
Web author specified.
- NOWRAP-When used, this attribute will prevent the browser
from word wrapping the heading.
The following is an example of <H1>:
<H1>This is the largest heading.</H1>
<H2>: Heading, Level 2
This HTML tag displays text as the second most prominent header. It
has the following attributes:
- ALIGN-This attribute indicates the alignment of the text on
the line. It can have the value of center, justify, left,
right.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- MD-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This attribute is used to specify a message digest or checksum.
This is used when you want to be sure that a linked object is the one the
Web author specified.
- NOWRAP-When used, this attribute will prevent the browser
from word wrapping the heading.
The following is an example of <H2>:
<H2>This is the second largest heading.</H2>
<H3>: Heading, Level 3
This HTML tag displays text as the third most prominent header. It has
the following attributes:
- ALIGN-This attribute indicates the alignment of the text on
the line. It can have the value of center, justify, left,
or right.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- MD-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This attribute is used to specify a message digest or checksum.
This is used when you want to be sure that a linked object is the one the
Web author specified.
- NOWRAP-When used, this attribute will prevent the browser
from word wrapping the heading.
The following is an example of <H3>:
<H3>This is the third largest heading.</H3>
<H4>: Heading, Level 4
This HTML tag displays text as the fourth most prominent header. It
has the following attributes:
- ALIGN-This attribute indicates the alignment of the text on
the line. It can have the value of center, justify, left,
or right.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- MD-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This attribute is used to specify a message digest or checksum.
This is used when you want to be sure that a linked object is the one the
Web author specified.
- NOWRAP-When used, this attribute will prevent the browser
from word wrapping the heading.
The following is an example of <H4>:
<H4>This is the fourth largest heading.</H4>
<H5>: Heading, Level 5
This HTML tag displays text as the fifth most prominent header. It has
the following attributes:
- ALIGN-This attribute indicates the alignment of the text on
the line. It can have the value of center, left, right,
or justify.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- MD-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This attribute is used to specify a message digest or checksum.
This is used when you want to be sure that a linked object is the one the
Web author specified.
- NOWRAP-When used, this attribute will prevent the browser
from word wrapping the heading.
The following is an example of <H5>:
<H5>This is the fifth largest heading.</H5>
<H6>: Heading, Level 6
This HTML tag displays text as the least prominent header. It has the
following attributes:
- ALIGN-This attribute indicates the alignment of the text on
the line. It can have the value of center, left, right,
or justify.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- MD-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This attribute is used to specify a message digest or checksum.
This is used when you want to be sure that a linked object is the one the
Web author specified.
- NOWRAP-When used, this attribute will prevent the browser
from word wrapping the heading.
The following is an example of <H6>:
<H6>This is the smallest heading.</H6>
<HEAD>: Head
This element is intended to hold information about the HTML document.
Although you can put other HTML elements within the <HEAD>, none
of them will be displayed in the browser's window. This tag has the following
attributes:
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <HEAD>:
<HEAD><TITLE>This Is My Home Page</TITLE></HEAD>
<HR>: Horizontal Rule
When used, the <HR> tag creates a horizontal line. It has the
following attributes:
- ALIGN-This proposed extended attribute indicates the positioning
of the rule. It can have the value of left, right, center,
or justify.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- MD-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This attribute is used in conjunctiuon with the SRC attribute,
to specify a message digest or checksum. This is used when you want to
be sure that a linked object is the one the Web author specified.
- SRC-This proposed HTML 3 attribute is intended to specify
a custom image. Traditionally, the horizontal rule was a browser-specific
graphic. This attribute enables the Web author to determine the image.
- SIZE-This Netscape extension to HTML specifies the thickness
of the horizontal line in pixels.
- WIDTH-By default, the horizontal rule is drawn as wide as
the page. This Netscape extension attribute enables the Web author to define
the horizontal length of the rule in pixels. Alternatively, if you add
the percent sign (%) after a number, the horizontal rule will be a percent
of the width of the document.
- NOSHADE-For those times when you want a solid horizontal line,
use NOSHADE. This will prevent the browser from doing any shading
of the horizontal line.
The following is an example of <HR>:
<HR SIZE=5 NOSHADE>
<HTML>: HTML
This is the main container for a home page. All other HTML tags contained
within this element are shown in the browser window. This tag has the following
attributes:
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <HTML>:
<HTML>[Your home page]</HTML>
<I>: Italic
This tag will italicize the text that is enclosed within it. The <I>
tag can have the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <I>:
This word is in <I>italics</I>.
<IMG>: Image
Currently, any time you want to make use of graphics on your home page,
you have to employ the <IMG> tag. This element enables you to specify
imagemap information, hypertext link information, and positioning information.
It has the following attributes
- ALIGN-This attribute indicates the alignment of the text on
the line. It can have the value of absbottom, absmiddle,
baseline, bottom, left, middle, right,
texttop, or top.
- ALT-This attribute contains a text string that will be displayed
by people who aren't using graphical browsers.
- BORDER-This attribute indicates the thickness of the border
around the image. The unit of measurement for the thickness is determined
by the UNITS attribute.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- CONTROLS-This is a Microsoft proposed attribute extension.
If a video file is specified by the SRC attribute, a set of controls
is displayed under the video clip.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- DYNSRC-This is a Microsoft proposed attribute extension that
points to a URL. The URL is a video clip or VRML world to be displayed.
- HEIGHT -This indicates the initial height of the display for
the embedded object. The value must be specified as a number of pixels.
- HSPACE-This Netscape proposed extension controls the amount
of horizontal space around the image. The value specified is expressed
as a number of pixels.
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- ISMAP-When using imagemaps, you must use this attribute. This
indicates that the graphic specified in the SRC attribute, is an imagemap.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- LOOP-This is a Microsoft proposed attribute extension. The
value indicates how many times the video clip is played. If you put in
the string INFINITE or use the value of [ms]1, the video
clip will play continually.
- LOOPDELAY-This is a Microsoft proposed attribute extension.
The value specified with this attribute, indicates the number of seconds
to wait before a video clip is replayed.
- LOWSRC-This a Netscape 1.1 extensions. The file specified
with this attribute will be loaded before the file indiciated in the SRC
attribute. This is intended for Web authors to use low resolution image,
which has all the important information of the higher resolution image.
- MD-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This attribute is used in conjunction with the SRC attribute,
to specify a message digest or checksum. This is used when you want to
be sure that a linked object is the one the Web author specified.
- SRC-This indicates the URL for the HTML document to be displayed.
- START-This is a Microsoft proposed attribute extension for
video clips. This attribute indicates when the video file will start playing.
Supported values for this attribute are FILEOPEN and MOUSEOVER.
The FILEOPEN value indicates that as soon as the browser loads
in the file, it will play it. The MOUSEOVER value indicates that
the video clip will play when the user moves the mouse over the clip.
- UNITS-This attribute enables the HEIGHT and WIDTH
attributes to use units other than screen pixels.
- USEMAP-This is a Netscape proposed attribute extension for
implementing client-side imagemaps. This attribute should point to a URL
with a #NAME suffix. The MAP element is used in conjunction
with this attribute.
- VSPACE-This Netscape proposed extension controls the amount
of vertical space around the image. The value specified is expressed as
a number of pixels.
- WIDTH-This indicates the initial width of the display for
the embedded object. The value must be specified as a number of pixels.
The following is an example of <IMG>:
<IMG SRC="mymap.gif" WIDTH=5 HEIGHT=5 BORDER=2 ISMAP>
<INPUT>: Input
This HTML 3 proposed element works with the FORM element. The
<INPUT> tag enables the user to upload a file through the Web server.
It has the following attributes:
- ACCEPT-This attribute indicates a list of media types that
the server will accept.
- ALIGN-This attribute indicates the alignment of the <INPUT>
form. Acceptable values for this attribute are bottom, left,
middle, right, and top/font>.
- CHECKED-This indicates that the specific form will be a check
box. If this is not specified, it will default to a radio button.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- DISABLED-This proposed HTML 3 attribute will display the form,
but prevent the user from modifying it.
- ERROR-This proposed HTML 3 attribute is used when an incorrect
value is entered. The text specified in this attribute is displayed on
invalid input.
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- MAX-This value is only used when the TYPE attribute
is set to RANGE. This indicates the acceptable maximum numeric
value.
- MAXLENGTH-This proposed HTML 3 attribute specifies the maximum
number of characters acceptable for input.
- MD-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This attribute is used in conjunction with the SRC attribute,
to specify a message digest or checksum. This is used when you want to
be sure that a linked object is the one the Web author specified.
- MIN-This value is only used when the TYPE attribute
is set to RANGE. This indicates the acceptable minimum numeric
value.
- NAME-The string in this attribute is the name for the input
form.
- SIZE-This attribute specifies the physical size of the input
form. This value is specified in number of characters.
- SRC-When the TYPE attribute is set to IMAGE,
this points to a URL. When the user clicks the image and the form is submitted,
the mouse coordinates are sent over as well. This is similar to having
a form-based imagemap.
- TYPE-This attribute indicates the behavior of the INPUT form.
Acceptable values are CHECKBOX, FILE, HIDDEN,
IMAGE, JOT, PASSWORD, RADIO, RANGE,
RESET, SCRIBBLE, SUBMIT, or TEXT.
- VALUE-This attribute changes based on the TYPE attribute.
Generally speaking, the VALUE attribute will contain the value
returned by the user.
The following is an example of <INPUT>:
<INPUT TYPE="SUBMIT" NAME="submit1" ALIGN="left">
<INS>: Insert
This proposed HTML 3 element will display the enclosed text as inserted
text. The text embedded by the starting and ending markers of this element,
will be shown in a strikethrough font. This tag is mainly intended for
legal documents and has the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <INS>:
This is <INS>inserted text.</INS>
<ISINDEX>: Searchable Index
This HTML element is used before the <FORM> tag to indicate a
searchable index. When this tag is put in the HEAD section of
the HTML document, the entire document can be examined using a keyword
search. <ISINDEX> has the following attributes:
- ACTION-When <ISINDEX> is used in the <BODY> portion
of the Web document, this points to a CGI script. The script is the program
on the server that can handle the search.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- PROMPT-This is a proposed HTML 3 attribute that enables the
Web author to specify a prompt. The string assigned to this attribute will
be displayed as the prompt, for the searchable index.
The following is an example of <ISINDEX>:
<ISINDEX>
<KBD>: Keyboard
This HTML element will cause the enclosed text to be displayed as keyboard
input. This is typically done when you want to give users instructions
on what to type into the computer. This tag has the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <KBD>:
Type in <KBD>ls</KBD> at the UNIX command prompt.
<LANG>: Default Language
This is a proposed HTML 3 attribute that changes the LANG context.
The text enclosed within this tag will have its LANG context changed,
as well as all subsequent LANGs. This tag has the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
The following is an example of <LANG>:
The LANG context will <LANG>change.</LANG>
<LH>: List Header
This proposed HTML 3 element enables you to define the header for a
list. This tag has the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <LH>:
<LH>A Heading</LH>
<LI>: List Item
This attribute takes the enclosed text and makes it part of the list.
This element has the following attributes:
- ALIGN-This attribute specifies the alignment of the list item.
You can set it to the value of center, justify, left,
or right.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- TYPE-This Netscape extension enables you to specify the prefix
for this particular item. If you're using a <UL> list type, TYPE
can be circle, disc, or square. If the list
is an <OL> list type, TYPE can be A, a,
I, i, or 1.
- VALUE-This Netscape extension works with the TYPE
attribute. When you specify an <OL> list type, this attribute indicates
the starting number of the list. By default, this value is 1.
The following is an example of <LI>:
<LI>A list item</LI>
<LINK>: Link
This HTML tag is used to specify a relationship between the current
Web page and other HTML documents. This element is used along with the
Anchor attribute REL. This element has the following attributes:
- CHARSET-This is a proposed attribute to HTML for internationalization.
It's used to indicate what type of character set is used by the hypertext
link.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- HREF-This indicates the destination URL you want to establish
the relationship with.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- METHODS-This indicates a list of HTTP METHODS supported
by the object. Currently, the only acceptable values ar GET and TEXTSEARCH.
This is a little used and little supported attribute.
- REL-When used with the HREF attribute, this indicates
a particular relationship with the destination. This is a little used and
little supported attribute, and will probably be superseded in the future.
- REV-When used with the HREF attribute, this is the
inverse of the REL attribute. This establishes a backwards relationship
between the current Web page and the URL that brought up this HTML document.
This is a little used and little supported attribute and will probably
be superseded in the future.
- TITLE-When used with HREF, this attribute indicates
the title of the destination URL. This is a little used and little supported
attribute.
- URN-The Universal Resource Number was originally intended
as a better method of referring to destination links, than URLs. It is
currently not used or supported.
The following is an example of <LINK>:
<LINK HREF="http://www.mysite.com/destination1.html">
<MAP>: Client-Side Imagemap
This Netscape proposed HTML element describes imagemap regions. The
one attribute allowed is NAME, which points to a file with the
imagemap regions defined.
The following is an example of <MAP>:
<MAP NAME="myregions.map"></MAP>
<MARQUEE>: Marquee
This HTML element proposed by Microsoft will create an area with scrolling
text inside of it. The text to be scrolled is contained within the start
and end markers of this element. This tag has the following attributes:
- ALIGN-This attribute specifies how the text will be displayed
in the marquee. You can set it to the value of bottom, middle,
or top.
- BEHAVIOR-This attribute determines whether the text will scroll
completely off the marquee. You can set this attribute to alternate,
scroll, or slide. The alternate value will cause
the text to move back and forth from side to side. The text will scroll
completely off the marquee when the value is scroll. The text
in the marquee will enter the marquee and stay there with the slide
value. The default is scroll.
- BGCOLOR-The background color of the marquee can be specified
with this attribute. The color is represented by three pairs of hexadecimal
numbers. The pairs represent the red, green, and blue color values.
- DIRECTION-This attribute indicates how the text will scroll
in the marquee. You can either set this to left or right.
- HEIGHT-The height of the marquee is controlled with this attribute.
You can specify the size in either pixels or as a percentage of the window
height. If you're specifying a percentage of the window, you'll need to
add a percent sign (%) after the number.
- HSPACE-This attribute defines how many pixels separate the
marquee from surrounding text. This controls the amount of pixels to use
as a buffer horizontally.
- LOOP-This number specifies how many times the marquee text
will loop. A value of [ms]1 or the string INFINITE will
cause the text to loop forever.
- SCROLLAMOUNT-This number determines the number of pixels to
scroll the marquee text.
- SCROLLDELAY-You can specify the number of milliseconds between
marquee updates with this value.
- VSPACE-This attribute defines how many pixels separate the
marquee from the surrounding text. This controls the number of pixels to
use as a buffer vertically.
The following is an example of <MARQUEE>:
<MARQUEE BEHAVIOR="scroll" DIRECTION="left">This is a marquee.</MARQUEE>
<MENU>: Menu
This HTML element will display any <LI> enclosed within it in
a menu list. HTML 3 proposed to remove this element. This tag has the following
attributes:
- ALIGN-This attribute specifies the alignment of the list item.
You can set it to be the value of center, justify, left,
or right.
- COMPACT-This attribute causes the menu list to be displayed
in a physically compact form.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <MENU>:
<MENU><LI>Milk $1.00</LI><LI>Eggs $2.00</LI></MENU>
<META>: Meta Information
This HTML tag is intended to specify document information not available
with other HTML elements. The information contained in this element may
be extracted by the server or the browser. This tag has the following attributes:
- CONTENT-This attribute specifies the meta-information to be
associated with the value in the NAME attribute. You can also
use this attribute to indicate the information to be associated with an
HTTP response header. If the HTTP-EQUIV attribute is set to the
Netscape-specific REFRESH, Then CONTENT will indicate
the number of seconds to update the current Web page.
- HTTP-EQUIV-You specify which attribute to associate the <META>
element with. Netscape introduced the value of REFRESH to enable
home pages to be updated.
- NAME-If the HTTP-EQUIV attribute is not defined,
this attribute is used to identify the information.
- URL-This Netscape attribute extension is used to indicate
which home page is to be updated. After the number of seconds specified
in CONTENT, this URL will be reloaded.
The following is an example of <META>:
<META URL="http://www.mysite.com/anim.html" CONTENT=5 HTTP-EQUIV=REFRESH>
<NOBR>: No Line Break
This element is used to control line breaks on certain lines. The text
enclosed within the beginning and ending markers will not word wrap based
on the width of the browser.
The following is an example of <NOBR>:
<NOBR>This line of text will always be one line, regardless of how wide the browser window.</NOBR>
<NOEMED>: Non-Embedded Text
This Netscape HTML extension element is intended to be used for browsers
that understand, but don't implement, the <EMBED>/<NOEMBED>
tags. If one of these browsers comes across the <NOEMBED> element,
the enclosed text will be displayed. This is basically equivalent to the
ALT attribute for the <IMG> element.
The following is an example of <NOEMBED>:
<NOEMBED>You'll only see this if your browser doesn't support the EMBED tag.</NOEMBED>
<NOFRAMES>: Non-Frames Text
This Netscape HTML extension element is intended to be used for browsers
that understand, but don't implement, the <FRAMESET>/<NOFRAMES>
tags. If one of these browsers comes across the <NOFRAMES> element,
the enclosed text will be displayed. This is basically equivalent to the
ALT attribute for the <IMG> element.
The following is an example of <NOFRAMES>:
<NOFRAMES>You'll only see this if your browser doesn't support the FRAMESET tag.</NOFRAMES>
<NOTE>: Note
This proposed HTML 3 element will cause the enclosed text to be displayed
as a note. The <NOTE> tag has the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- MD-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This attribute is used in conjunction with the SRC attribute,
to specify a message digest or checksum. This is used when you want to
be sure that a linked object is the one the Web author specified.
- SRC-This points to a URL for an image to be displayed before
the <NOTE>.
The following is an example of <NOTE>:
<NOTE>This is a note.</NOTE>
<OL>: Ordered List
This HTML element will display any enclosed <LI> elements as an
ordered list. The order is listed numerically. It has the following attributes:
- ALIGN-This attribute specifies the alignment of the list item.
You can set it to be the value of center, justify, left,
or right.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. In the ordered list, this indicates what type of
numerical sequence to use.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- COMPACT-This attribute causes the menu list to be displayed
in a physically compact form.
- CONTINUE-This proposed HTML 3 attribute will continue the
numbering sequence. If you've already started another <OL> list,
the numbering will continue with this attribute.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- SEQNUM-This proposed HTML 3 attribute will define the starting
number for the ordered list.
- START-This Netscape extension is the equivalent of the SEQNUM
attribute.
- TYPE-This Netscape extension is used to indicate the numbering
option. You can set this attribute to A, a, I,
i, or 1.
The following is an example of <OL>:
<OL ALIGN=LEFT SEQNUM=5>This is an item in an ordered lists.</OL>
<OPTION>: Option Form
This HTML element identifies a particular selection in the SELECT
element. You can set the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- DISABLED-When this attribute is used, the form is displayed,
but the user can't select it.
- ERROR-This proposed HTML 3 attribute takes on a string of
characters as a value. This string is displayed if the user enters an invalid
value.
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- SHAPE-This proposed HTML 3 attribute defines the shape of
the form.
- SELECTED-This attribute determines the default option.
- VALUE-This attribute, when defined, holds the value to be
returned.
The following is an example of <OPTION>:
<OPTION VALUE="line1"></OPTION>
<OVERLAY>: Overlay A Graphic
This proposed HTML 3 tag is intended to be used along with the <FIG>
element. The <OVERLAY> tag enables you to overlay an image on top
of a <FIG> image. It has the following attributes:
- HEIGHT-This indicates the initial height of the display for
the overlaid image. The value must be specified as a number of pixels.
- IMAGEMAP-When using imagemaps, you must use this attribute.
This indicates that the overlay is to be treated as imagemap.
- MD-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This attribute is used in conjunction with the SRC attribute,
to specify a message digest or checksum. This is used when you want to
be sure that a linked object is the one the Web author specified.
- SRC-This points to the image to be overlaid on top of a <FIG>.
- UNITS-This attribute enables the HEIGHT and WIDTH
attributes to use units other than screen pixels.
- WIDTH-This indicates the initial width of the display for
the overlaid image. The value must be specified as a number of pixels.
- X-This value indicates the number of units horizontally offset
from the upper-left corner of the <FIG> graphic. The units used is
determined by the UNITS attribute. If UNITS isn't specified, then the default
value for the X attribute is pixels.
- Y-This value indicates the number of units horizontally offset
from the upper-left corner of the <FIG> graphic. The units used is
determined by the UNITS attribute. If UNITS isn't specified, then the default
value for the X attribute is pixels.
The following is an example of <OVERLAY>:
<OVERLAY SRC="overlay.gif" HEIGHT=200 WIDTH=150 X=50 Y=50>
<P>: Paragraph Break
This HTML tag will prevent the enclosed text from being word wrapped.
The browser will not attempt to word wrap the text contained in this element.
You can set the following attributes:
- ALIGN-This attribute specifies the alignment of the list item.
You can set it to the value of center, justify, left,
or right.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- NOWRAP-This proposed HTML 3 attribute replaces the NOWRAP
attribute. Acceptable values for this attribute are on or off.
- WRAP-This proposed HTML+ attribute will enable or disable
word wrap. If this attribute is present, the browser will word wrap the
enclosed text.
The following is an example of <P>:
<P>This line of text will always be this long, regardless of the size of the browser.</P>
<PARAM>: JAVA Parameter
This HTML element is proposed to support JAVA applets. It enables the
Web author to specify parameters to be passed to the <APPLET> application.
This tag has the following attributes:
- NAME-This attribute defines the name of the parameter to be
given a value.
- VALUE-This attribute defines the value to be assigned to the
NAME attribute.
The following is an example of <PARAM>:
<PARAM NAME="myvar" VALUE="true">
<PERSON>: Person
This proposed HTML 3 tag will cause the enclosed text to be displayed
as the name of a person. This element is used for indexing programs to
automatically extract these names. It has the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <PERSON>:
<PERSON>John Doe</PERSON>
<PRE>: Preformatted Text
This HTML tag will display the enclosed text as is and in monospaced
characters. Normally, text elements will remove multiple spaces and line
breaks to clean up the output. The use of <PRE> will prevent this.
This element has the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- WIDTH-This attribute indicates the maximum number of characters
per line. Most browsers ignore this attribute.
The following is an example of <PRE>:
<PRE>I can put as many spaces as I want, and they'll all show up!</PRE>
<Q>: Quotation
This proposed HTML 3 element will display the enclosed text as a quotation.
The LANG context defines the appropriate quotation marks. There
are a number of attributes you can set:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <Q>:
<Q>Ask not what your country can do for you.</Q>
<S>: Strikethrough
This proposed HTML 3 element replaces the <STRIKE> tag. This will
display a strikeout line through the enclosed text. This tag has the following
attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <S>:
This word appears as a <S>strikethrough</S>.
<SAMP>: Sample
This element displays the enclosed text as a sampling of text. You have
the following attributes available:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <SAMP>:
This word is a <SAMP>sample</SAMP>
<SELECT>: Select Menu
This form element creates a menu of selectable entries. The selectable
entries are defined by the <OPTION> element. The <SELECT> tag
has the following attributes:
- ALIGN-This attribute specifies the alignment of the entries.
You can set it to the value of bottom, left, middle,
right, or top.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- DISABLED-When this attribute is used, the form will be displayed,
but the user won't be able to select it.
- ERROR-This proposed HTML 3 attribute takes on a string of
characters as a value. This string is displayed if the user enters an invalid
value.
- HEIGHT-The height of the list of entries is controlled with
this attribute. You can specify the size in either pixels or as a percentage
of the window height.
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- MD-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This attribute is used in conjunction with the SRC attribute,
to specify a message digest or checksum. This is used when you want to
be sure that a linked object is the one the Web author specified.
- MULTIPLE-When this attribute is used, multiple selections
may be made.
- NAME-The string in this attribute is the name for the selection
form.
- SIZE-This attribute specifies how many options are visible.
- SRC-When this attribute is defined, it points to a URL for
an image. That image will be displayed instead of the text defined by the
<OPTION> elements.
- UNITS-This attribute enables the HEIGHT and WIDTH
attributes to use units other than screen pixels.
- WIDTH-This indicates the width of the selection window. The
value must be specified as a number of pixels.
The following is an example of <SELECT>:
<SELECT NAME="list1"></SELECT>
<SMALL>: Small
This proposed HTML 3 and Netscape element will cause the enclosed text
to be displayed in a smaller font. This tag has the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <SMALL>:
This text is a lot <SMALL>smaller</SMALL>.
<SPAN>: Span Languages
This internationalization proposed element is used to set language characteristics.
Whatever text is enclosed within the markers for this element, will have
the specified language characteristics. It has the following attributes:
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <SPAN>:
Many languages are supported by<SPAN>this</SPAN> element.
<STRONG>: Strong Emphasis
This element is intended to display the enclosed text with a stronger
emphasis than when the <EM> tag is used. This tag has the following
attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <STRONG>:
This is something I want you to pay <STRONG>attention</STRONG> to.
<SUB>: Subscript
This Netscape proposed extension will force the browser to display the
enclosed text as subscripts. It has the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <SUB>:
This word is a <SUB>subscript</SUB> of the other words.
<SUP>: Superscript
This Netscape proposed extension will force the browser to display the
enclosed text as superscripts. It has the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <SUP>:
This word is a <SUP>superscript</SUP> of the other words.
<TAB>: Tab Alignment
This proposed HTML 3 element will force the enclosed text to be aligned
by defined horizontal positions. This tag has the following attributes:
- ALIGN-This attribute specifies the alignment of the entries.
You can set it to the value of center, decimal, left,
or right.
- ID-You can define tab positions with this attribute.
- INDENT-This attribute will indicate where the indents will be.
- TO-This attribute will help you line up the text.
The following is an example of <TAB>:
<TAB ALIGN="center">This text will be aligned by a tab stop.
<TABLE>: Table
This element is used to define a series of rows as table cells. Table
elements are defined by <TR> elements. This element has the following
attributes:
- ALIGN-This attribute indicates the alignment of the text on
the line. It can have the value of bleedleft, bleedright,
center, left, right, or justify.
- BORDER-This attribute indicates the thickness of the border
around the table.
- CELLPADDING-This attribute specifies the spacing inside the
cells.
- CELLSPACING-This attribute determines the spacing between
the cells.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- COLS-This attribute defines the total number of columns in
the table. This is used to help the browser determine how the table is
shown.
- FRAME-This attribute determines which parts of the table are
affected by the BORDER attribute. This can have the value of above,
below, border, box, hsides, lhs,
rhs, void, or vsides.
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- NOFLOW-This attribute prevents text from flowing around the
table.
- NOWRAP-This prevents the cell data from being word wrapped.
- RULES-This attribute determines whether or not there are rulings
between rows and columns inside the table. This attribute can take on the
value of all, basic, cols, none, or
rows.
- UNITS-This attribute defines the number of units to be used
by the other attributes. This attribute supports the following attributes:
en, pixels, or relative.
- WIDTH-This indicates the width of the table cells. The value
must be specified as a number of pixels.
The following is an example of <TABLE>:
<TABLE ALIGN="center" COLS=5 WIDTH=20 CELLPADDING=5>[Table definition]</TABLE>
<TBODY>: Table Body
This proposed HTML element is used to enclose a series of table rows.
This tag is not widely supported. There are a number of attributes available
for this element:
- ALIGN-This attribute indicates the alignment of text within
the column. It can have the value of char, center, left,
right, or justify.
- CHAR-This is used to indicate which character to align the
column with. This is only interpreted when the ALIGN attribute
has been set to char.
- CHAROFF-This number is used to indicate the offset of the
alignment character from the table cell.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- VALIGN-This attribute indicates the vertical alignment of
the table cells. You can set this attribute to baseline, bottom,
middle, or top.
The following is an example of <TBODY>:
<TBODY>[Table row information.]</TBODY>
<TD>: Table Data
This element is used to define a particular cell in a table. This tag
has the following attributes:
- ALIGN-This attribute indicates the alignment of the text within
the column. It can have the value of char, center, left,
right, or justify.
- AXES-This attribute is a list of names to be displayed for
the axes. The names are separated by a comma.
- AXIS-This attribute is used to define the name for a particular
axis of a cell.
- BGCOLOR-This Microsoft proposed extension enables you to specify
the background color for the particular cell. This color is represented
by three pairs of hexadecimal numbers. The pairs represent the red, green,
and blue color values.
- CHAR-This is used to indicate which character to align the
column with. This is only interpreted when the ALIGN attribute
has been set to char.
- CHAROFF-This number is used to indicate the offset of the
alignment character from the table cell.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- COLSPAN-This value indicates how many columns this table cell
occupies. A value of 0 indicates that the cell will span all columns.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- NOWRAP-This attribute will prevent word wrapping from occurring
in the table cell.
- ROWSPAN-This value indicates how many rows this table cell
occupies. A value of 0 indicates that the cell will span all rows.
- VALIGN-This attribute indicates the vertical alignment of
the table cells. You can set this attribute to baseline, bottom,
middle, or top.
- WIDTH-This proposed Netscape extension enables you to specify
the width of the table cell in pixels.
The following is an example of <TD>:
<TD ALIGN="center" WIDTH=20>A table cell</TD>
<TEXTAREA>: Text Area Form
This element is used to create a form input that takes up multiple lines.
This HTML tag has the following attributes:
- ALIGN-This proposed HTML 3 attribute determines where the
caption is placed. Acceptable values are top, bottom,
left, middle, and right.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- COLS-This attribute defines the total number of columns in
the form. This is used to help the browser determine how the table should
be shown.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- DISABLED-This proposed HTML attribute shows the contents of
the tag, but prevent its modification.
- ERROR-This proposed HTML 3 attribute is used when an incorrect
value is entered. The text specified in this attribute is displayed on
invalid input.
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- NAME-The string in this attribute is the name for the input
form.
- ROWS-This attribute defines the total number of columns in
the form. This is used to help the browser determine how the table should
be shown.
- WRAP-This proposed Netscape extension provides for control
of the text inside this element. You can use the values of off,
physical, and virtual.
The following is an example of <TEXTAREA>:
<TEXTAREA NAME="mytext" COLS=60 ROWS=20></TEXTAREA>
<TFOOT>: Table Footer
This proposed HTML 3 element will enable you to specify the attributes
for a group of table rows. Depending on the browser, these attributes will
be applied across multiple browser pages, as table footers. That is, separate
HTML documents will not be affected by the TFOOT element, rather the way
it is displayed is affected. The browser will display the table as its
breaks across browser page boundaries. The table rows to be defined are
enclosed within the start and end markers for the tag. This element has
the following attributes:
- ALIGN-This attribute indicates the alignment of the text within
the column. It can have the value of char, center, left,
right, or justify.
- CHAR-This is used to indicate which character to align the
column with. This is only interpreted when the ALIGN attribute
has been set to char.
- CHAROFF-This number is used to indicate the offset of the
alignment character from the table cell.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- VALIGN-This indicates the vertical alignment of the text of
the table cell. Acceptable values for this attribute are baseline,
bottom, middle, and top.
The following is an example of <TFOOT>:
<TFOOT>This is a table footer.</TFOOT>
<TH>: Table Header
The text enclosed within this HTML tag, becomes a table header. This
element has the following attributes:
- ALIGN-This attribute indicates the alignment of the text within
the column. It can have the value of char, center, decimal,
left, right, or justify.
- AXES-This attribute is a list of names to be displayed for
the axes. The names are separated by a comma.
- AXIS-This attribute is used to define the name for a particular
axis of a cell.
- BGCOLOR-This Microsoft proposed extension enables you to specify
the background color for the particular cell. This color is represented
by three pairs of hexadecimal numbers. The pairs represent the red, green,
and blue color values.
- CHAR-This is used to indicate which character to align the
column with. This is only interpreted when the ALIGN attribute
has been set to char.
- CHAROFF-This number is used to indicate the offset of the
alignment character from the table cell.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- COLSPAN-This value indicates how many columns this table cell
occupies. A value of 0 indicates that the cell will span all columns.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- NOWRAP-This attribute will prevent word wrapping from occurring
in the table cell.
- ROWSPAN-This value indicates how many rows this table cell
occupies. A value of 0 indicates that the cell will span all rows.
- VALIGN-This attribute indicates the vertical alignment of
the table cells. You can set this attribute to baseline, bottom,
middle, or top.
- WIDTH-This proposed Netscape extension enables you to specify
the width of the table cell in pixels.
The following is an example of <TH>:
<TH VALIGN="middle" WIDTH=50>Table Header</TH>
<THEAD>: Table Header
This proposed HTML 3 element enables you to specify the attributes for
a group of table rows. Depending on the browser, these attributes will
be applied across multiple browser pages, as table headers. That is, separate
HTML documents will not be affected by the TFOOT element, rather the way
it is displayed is affected. The browser will display the table as its
breaks across browser page boundaries. The table rows to be defined are
enclosed within the start and end markers for the tag. This element has
the following attributes:
- ALIGN-This attribute indicates the alignment of the text within
the column. It can have the value of char, center, left,
right, or justify.
- CHAR-This is used to indicate which character to align the
column with. This is only interpreted when the ALIGN attribute
has been set to char.
- CHAROFF-This number is used to indicate the offset of the
alignment character from the table cell.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- VALIGN-This indicates the vertical alignment of the text of
the table cell. Acceptable values for this attribute are baseline,
bottom, middle, and top.
The following is an example of <THEAD>:
<THEAD>This is a table header.</THEAD>
<TITLE>: Title
This HTML element defines the enclosed text as the title for the current
Web page.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <TITLE>:
<TITLE>My Home Page</TITLE>
<TR>: Table Row
This HTML tag defines a table row for a <TBODY>, <TFOOT>,
or <THEAD>. This element has the following attributes:
- ALIGN-This attribute indicates the alignment of the text within
the column. It can have the value of char, decimal, center,
left, right, or justify.
- CHAR-This is used to indicate which character to align the
column with. This is only interpreted when the ALIGN attribute
has been set to char.
- CHAROFF-This number is used to indicate the offset of the
alignment character from the table cell.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- VALIGN-This indicates the vertical alignment of the text of
the table cell. Acceptable values for this attribute are baseline,
bottom, middle, and top.
The following is an example of <TR>:
<TR><TD>Table Data</TD>
<TT>: Teletype
This HTML element displays all of the enclosed text as a teletype. Typically,
the width of each of the characters will be exactly the same. You can set
the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <TT>:
This text will be displayed as <TT>teletype characters</TT>.
<UL>: Unordered List
This element shows enclosed <LI> elements as a bulleted (unordered)
list. This HTML tag has the following attributes:
- ALIGN-This attribute indicates the alignment of the text on
the line. It can have the value of center, left, right,
or justify.
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- CLEAR-This is a proposed attribute to HTML 3. It can have
the value of left, right, or all. These values
indicate which margin is to be clear of images so that text can appear
on it.
- COMPACT-This attribute tells the browser to display the list
in a compact manner. It is not, however, supported by many browsers.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- MD-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This attribute is used to specify a message digest or checksum.
This is used when you want to be sure that a linked object is the one the
Web author specified.
- TYPE-This Netscape proposed HTML attribute enables you to
specify the type of bullets to be used. You can use the value of circle,
disc, or square.
- WRAP-If this proposed HTML 3 attribute is present, the browser
will word wrap the enclosed text.
The following is an example of <UL>:
<UL><LI>A list item.</LI></UL>
<VAR>: Variable
This HTML element displays the enclosed text as a variable. This tag
has the following attributes:
- CLASS-This is a proposed attribute to HTML 3 as part of a
style sheet proposal. This is a list of calls and sub-classes separated
by spaces. Acceptable values that you can use have not been defined by
HTML 3.
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- ID-This is a proposed attribute to HTML 3 as part of a style
sheet proposal. This defines the current line as a destination point. These
points are used for internal jumps or jumps to a specific line.
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
The following is an example of <VAR>:
Set <VAR>myvar</VAR> equal to 0.
<WBR>: Word Break
This Netscape proposed extension forces a word break to occur. This
is mainly used if you want to force a word break in the middle of a non-breaking
HTML element. It has no attributes.
The following is an example of <WBR>:
A line break will occur now.<WBR>
<XMP>: Multi-Line Text
This HTML element displays the enclosed text as is. No text formatting
by the browser will be done to the enclosed text. This tag has the following
attributes:
- DIR-This is a proposed attribute to HTML for internationalization.
It's used to indicate which direction to display the text. It can either
have the value ltr (left to right) or rtl (right to left).
- LANG-This is a proposed attribute to HTML for internationalization.
This attribute is composed from the two-letter language code from ISO 639.
You can optionally add a period, followed by a two-letter country code
from ISO 3166. This attribute can be used by parsers to select language-specific
choices for quotation marks, ligatures and hypenation rules.
- WIDTH-This proposed Netscape extension enables you to specify
the width of the multiple lines..
The following is an example of <XMP>:
<XMP>
This text will appear as you see it.
There are no special HTML elements to create
the line breaks you see.
</XMP>
Special Characters
HTML allows for the insertion of any character defined in the ISO 8859-1
character set, into Web pages. These characters may not always be visible
to all browsers, but they are defined as available entities. Table A lists
all the special characters with their corresponding HTML code. If you want
to put a particular character in your Web page, simply type in the entire
string under the "HTML Code" heading. Some of the characters
have two possible HTML codes, so simply use one of them. Be sure to include
the ampersand (&) before the code, and the semi-colon (;) after the
code.Table A-HTML Codes for ISO 8859-1 Characters
A
Description of Character |
HTML Code |
Example of Character |
Quotation mark |
" |
" |
Ampersand |
& |
& |
Less-than sign |
< |
< |
Greater-than sign |
> |
> |
Non-breaking space |
|
|
Inverted exclamation mark |
¡ |
|
Cent sign |
¢ |
|
Pound sterling |
£ |
|
General currency sign |
¤ |
|
Yen sign |
¥ |
|
Broken vertical bar |
¦ or &brkbar; |
|
Section sign |
§ |
|
Umlaut (dieresis) |
¨ or ¨ |
|
Copyright |
© |
© |
Feminine ordinal |
ª |
|
Left angle quote (guillemotleft) |
« |
|
Not sign |
¬ |
|
Soft hyphen |
­ |
|
Registered trademark |
® |
® |
Macron accent |
¯ or &hibar; |
|
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 (guillemotright)
|
» |
|
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, umlaut (dieresis) |
Ä |
|
Capital A, ring |
Å |
|
Capital AE, diphthong (ligature) |
&Aelig; |
|
Capital C, cedilla |
Ç |
|
Capital E, grave accent |
È |
|
Capital E, acute accent |
É |
|
Capital E, circumflex accent |
Ê |
|
Capital E, umlaut (dieresis) |
Ë |
|
Capital I, grave accent |
Ì |
|
Capital I, acute accent |
Í |
|
Capital I, circumflex accent |
Î |
|
Capital I, umlaut (dieresis) |
Ï |
|
Capital Eth, Icelandic |
Ð or Đ |
|
Capital N, tilde |
Ñ |
|
Capital O, grave accent |
Ò |
|
Capital O, acute accent |
Ó |
|
Capital O, circumflex accent |
Ô |
|
Capital O, tilde |
Õ |
|
Capital O, umlaut (dieresis) |
Ö |
|
Multiply sign |
× |
|
Capital O, slash |
Ø |
|
Capital U, grave accent |
Ù |
|
Capital U, acute accent |
Ú |
|
Capital U, circumflex accent |
Û |
|
Capital U, umlaut (dieresis) |
Ü |
|
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, umlaut (dieresis) |
ä |
|
Small a, ring |
å |
|
Small ae diphthong (ligature) |
æ |
|
Small c, cedilla |
ç |
|
Small e, grave accent |
è |
|
Small e, acute accent |
é |
|
Small e, circumflex accent |
ê |
|
Small e, umlaut (dieresis) |
ë |
|
Small i, grave accent |
ì |
|
Small i, acute accent |
í |
|
Small i, circumflex accent |
î |
|
Small i, umlaut (dieresis) |
ï |
|
Small eth, Icelandic |
ð |
|
Small n, tilde |
ñ |
|
Small o, grave accent |
ò |
|
Small o, acute accent |
ó |
|
Small o, circumflex accent |
ô |
|
Small o, tilde |
õ |
|
Small o, umlaut (dieresis) |
ö |
|
Division sign |
÷ |
|
Small o, slash |
ø |
|
Small u, grave accent |
ù |
|
Small u, acute accent |
ú |
|
Small u, circumflex accent |
û |
|
Small u, umlaut (dieresis) |
ü |
|
Small y, acute accent |
ý |
|
Small thorn, Icelandic |
þ |
|
Small y, umlaut (dieresis) |
ÿ |
|