This document describes tags that affect an entire web page or, like the division tag, a large part of one.Click here to skip over the explanatory material at the top of the page and jump straight to the tags.
and these icons:
Support: 2.0, 3.0, 3.2 1.1+ 1.0+
alert you to tags and attributes that are not supported by all browsers. The support page explains the table and the icons in detail.
Not all HTML tags are in this single file. The comprehensive list has been split into the following eight categories:
We have also provided several indexes to help you navigate through this reference. In addition to our main indexes (the compact index and the complete index), there are four other indexes that list the tags according to the standards and browsers that support them.
The Comprehensive HTML Cross Reference was created as a service to the Internet community. It represents a joint effort of Scott Williams of CDI Corporate Education Services and Kate Gregory of Gregory Consulting and is fully protected by Copyright © 1995 - 2001. Please report any errors or omissions to Kate Gregory.
<BASE HREF="base address"
<BASE TARGET="default target"
The base tag, which is valid only in the HEAD section, defines the base address of an HTML document, which is used to determine the full address of relative URL's that appear in the document. The typical use for this is to move an HTML document to another site without moving all the images and related documents with it: the base URL can be set to the directory where those images and documents remain. The "default target" will become the target for all links unless specified explicitly. The following are the predefined target names:
- Will cause the link to be loaded into a new blank window.
- Will cause the link to be loaded into the same window the link was in.
- Will cause the link to be loaded into the parent of this document.
- Will cause the link to be loaded into the full body of this window.
The body tag introduces the body of the document. It should appear after the head section and occupy the remainder of the document.
The LEFTMARGIN and TOPMARGIN attributes set the margin at the left and top of the document, in pixels.
The BGPROPERTIES attribute causes the background image (set with the BACKGROUND attribute) to remain fixed as the document scrolls: a watermark effect.
Indicates the ISO standard language. Enter the standard abbreviation to indicate the language of the element.
The division tag is used to divide a document up into different sections, such as chapters, sections, abstract, and appendix. The
CLASS attribute specifies what section this is. The
attribute can be one of LEFT, RIGHT, or CENTER. The NOWRAP attribute stops the browser from wrapping except where <BR>'s are included in the document.
The head tag introduces text that describes an HTML document. Most documents have only a TITLE tag in the head section.
The HTML tag defines an HTML document. The <HTML> tag should be the first in the entire document, and the </HTML> tag should be the last.
The isindex tag, which is only valid in a HEAD section, declares that the current HTML document is a searchable index. The user will be prompted for keywords to search for. A new URL will be formed by taking the base address of the current document and adding a '?' character to it, followed by the keywords separated by '+' characters. The URL attribute overrides the base address. The prompt attribute changes the prompt from the default one supplied by the browser.
The link tag appears within the HEAD section of a document. It has all the same attributes as the anchor tag. The main 3 attributes used are REL, REV and HREF. The REL attribute specifies the relationship between this document and the link. The REV attribute specifies a reverse relationship while the HREF attribute specifies the URL of the link. The following is a list of some of the current relationships. The TITLE attribute specifies an advisory title string.
Browsers use this tag to build custom toolbars for the document.
TITLEattribute is used to label the bookmark.
<META HTTP-EQUIV="HTTP header field name"
>"HTTP header field name"
The meta tag, which is only valid in a HEAD section, declares HTTP meta name/value pairs that are associated with the HTML document. These are used to extend the HTTP header information returned by the HTTP server. The support of the meta information is HTTP server specific. If a name attribute is not specified the HTTP-EQUIV attribute is used as the name. This tag can also be used to trigger client side behaviour.
Here are some values and what they are used for:
META HTTP-EQUIV="Content-Type" CONTENT="text/html" charset="charset"
The title tag, which is only valid in a HEAD section, defines the title of an HTML document. A title should be chosen that makes sense with no context; for example Introduction is a poor title since it contains no indication of the subject matter it discusses. Netscape displays document titles in the application's title bar and in bookmark lists.