This specification does not define how conforming user agents should handle general error conditions.
We recommend that authors avoid using deprecated elements and attributes whenever practical. To this end, we provide alternatives to them when appropriate in the specification. In most cases these depend on user agent support for style sheets.
User agents should continue to support deprecated elements for reasons of backward compatibility.
This specification presents elements in a "semantic" order, from most basic to most sophisticated constructs. Elements may be discussed in several different contexts depending on their use (e.g., DIV as a structuring element and DIV and its role with style sheets). Despite scattered references, the specification defines each element and attribute in one location only.
Similarly, attributes that apply to many elements (e.g., lang, dir, class, etc.) are defined where most appropriate semantically. Consequently, an element definition may include a reference to an attribute that may be defined elsewhere. When this is the case, the location of the definition is clearly indicated and for the electronic version of the specification, accessible by a link.
Definitions of elements and attributes clearly indicate which are deprecated. In such cases, the specification includes examples of better HTML usage.
In the electronic version of the specification, all references to an element or attribute (from the index or in the specification text) are linked to its definition.
Element names are written in upper case letters (e.g., BODY). Attribute names are written in lower case letters (e.g., lang, onsubmit). Recall that in HTML, element and attribute names are case-insensitive. Our convention is designed to encourage readability of the specification.
Element and attribute names are marked within the source HTML for the specification and may be rendered specially depending on your user agent.
The type of an attribute's value is specified in its definition. However, if the set of possible values is small, the values are listed explicitly, separated by a bar (|). The first value in this list is the default value.
Informative notes are emphasized to stand out from surrounding text. How the emphasis is rendered depends on your user agent.
All examples illustrating deprecated usage are marked as "DEPRECATED EXAMPLE". Deprecated examples also include recommended alternate solutions. All examples that illustrates illegal usage are clearly marked as "ILLEGAL EXAMPLE".
Examples and notes are marked within the source HTML for the specification and may be rendered specially depending on your user agent.
Comments appearing in the HTML 4.0 DTD have no normative value; they are informative only.