Level 0 HTML Summary
An HTML document consists of text and tags that mark the structure
of the document. Elements in an HTML document are delimited by
the tags which include < and >.
Some elements have both a start and
end tag: e.g., <title> and </title>. Other elements
use only a single tag: e.g., <p> (the paragraph element).
Some elements have attributes, which are
qualifications of the element's meaning or optional parameters
for that element.
A Level 0 HTML document can include the following elements
with the attributes shown. In this document,
the elements are listed in all capital
letters (e.g., TITLE), and the attributes are indicated by initial
capital letters (e.g., Href). In order to benefit from the information in this document, view both its HTML source
as well as its rendered form
in a Web browser. The elements and entities are explained in the list
below as well as demonstrated here in appropriate locations
(e.g, HEAD elements are demonstrated only in the HEAD of this document;
and I don't demonstrate the heading (H1...H6) within the list of elements).
Note that the different brands of browsers vary in how they render
these features. The intent of HTML is that the browser designers have
specified at
each Level of HTML
a "basic set" of features that they should implement, so that their browser
renders these HTML constructs some satisfactory way.
- HTML:
The HTML element identifies the file as
containing HTML elements. Only
HEAD, BODY, and comment elements that should go inside the
HTML element start and stop tag.
- comment:
Comments can be included anywhere within
an HTML document; comments can cross several lines of text:
<!-- this is a comment -->
- Document Type Declaration:
A document type declaration can be placed at the start of a
an HTML document (before the opening <HTML> tag
which identifies it as a document conforming to
a particular version and level of HTML.
For example:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Level 0//EN">
identifies this document as conforming to the specification
of Level 0 HTML.
The HEAD and Related Elements
- HEAD:
The HEAD element brackets a set of unordered descriptive
information about a document. Elements within the HEAD
element include: TITLE, BASE, ISINDEX, and NEXTID.
- TITLE:
Every HTML must have one title element which
identifies the contents of the document.
The title may not contain anchors, paragraph elements, or
highlighting. Choose a title which is descriptive
outside the context of the document's creation, as
the title is commonly used to identify a document
in navigation and indexing applications (e.g., hotlists
and spiders).
- BASE:
The BASE element can be used to record the
URL of the original version of a document when
the source file is transported elsewhere; the base element
has one attribute, Href, which is used to
define the base URL of the document. Partial
URLs in the document are resolved by using this
base address as the start of the URL.
- ISINDEX:
This element marks the document as searchable--the
server on which the document is located must have a
search engine defined that supports this searching.
- LINK: this element is used to define a relationship between the
document and other objects or documents.
For example, a link element can indicate
authorship or indicate the tree structure of a document.
The LINK element has the same attributes as the Anchor (A) element:
Attributes:
- Href: this identifies the document or part of
a document to which this link refers
- Name: this is a way to name this LINK as a possible
destination for another hypertext document
- Rel: describes the relationship defined by
this LINK, according to the possible relationships as defined by the
HTML Registration Authority's list of
relationships
- Rev: Similar to Rel, above, but the Rev attribute
indicates the reverse relationship as Rel. For
Example, the LINK with Rel="made" indicates that the
Href attribute indicates the URL given in the Href
is the author of the current document. Using the Rev="made"
link indicates that the current document
is the author of the URL given in the Href attribute.
- Urn: This indicates the Uniform Resource Name of
the document; the specification for
URN
and other addressing is still in development.
- Title: This attribute is not to be used
as a substitute for the TITLE attribute of the document itself,
but as a title for the document given by the Href attribute
of the LINK element. This attribute is rarely used or supported by
browsers, but may have value for cross referencing the
relationships the LINK element defines.
- Methods: This attribute describes the HTTP methods the
object referred to by the Href of the LINK element
supports. For example, one method is searching; a browser
could thus use this Methods attribute to give information to
the user about the document defined by the LINK element.
- META:
This element is used to identify meta-information (information about
information) in the document. This element is not meant to take the
place of elements which already have a purpose, for example the
TITLE element, but to identify other information useful for parsing.
Attributes (see the header of this document for typical examples):
- Http-equiv: This attribute connects this META element to
a particular protocol response which is generated by
the HTTP server hosting the document.
- Name: This attribute is a name for the information in
the document--not the title of the document
(which should be defined in the TITLE element) but a
"meta name" classifying this information.
- Content: A "meta name" for the content associated with
the given name (defined by the Name attribute) or the
response defined in Http-equiv.
- NEXTID:
This element is used by text generated software
in creating identifiers; its attribute, N, is
used to define the next identifier to be
allocated by the text generator program. Normally,
human writers of HTML don't use this element; and
Web browsers ignore this element.
The BODY and Related Elements
References
Copyright © 1995 by John December. All rights reserved.
John December
([email protected]) / 30 May 95
Hyperlinks: Table of Contents
Questions? E-mail your Instructor -
Dr. Charles Rubenstein
Tutorial Copyright (c) 1996-2006
C.P.Rubenstein