W3C

HTML 4.0 Specification Errata

$Date: 1999/03/19 03:11:59 $

This document:
http://www.w3.org/MarkUp/html40-updates/html40-errata.html
The latest version of the HTML 4.0 specification:
http://www.w3.org/TR/REC-html40
This document records known errors in the document:
http://www.w3.org/TR/REC-html40-971218

Please email error reports to www-html-editor@w3.org.

Known Errors

Section 2.1.1
"http://www.w3.org/TR/PR-html4/cover.html" is said to designate the current HTML specification. The current HTML specification is actually at "http://www.w3.org/TR/REC-html40".
Section 7.5.2
The hypertext link on "name" is incorrect. It should link to types.html#type-name.
Section 7.5.4
There is no "href" attribute for the DIV and SPAN elements.
Section 7.5.6
The P element should be removed from the example. It is invalid in ADDRESS.
Section 8.1
The example: <P><Q lang="en">"Her super-powers ... should not have a double quote mark before the word "Her".
Section 9.3.4
The attribute width should be noted as deprecated.
Section 11.2.4
In the section "Calculating the width of columns", the sentence "We have set the value of the align attribute in the second column group to 'center'." should read "third" instead of "second".
Section 11.2.6
In the portion entitled "Cells that span several rows or columns", paragraph 2 reads "In this table definition, we specify that the cell in row four, column two should span a total of three columns, including the current row." It should end "...including the current column."
Section 13.2
The sentence beginning "User agents must render alternate next when they cannot support ..." should read "text", not "next".
Section 13.6.2
The ismap attribute is not defined for the INPUT element and thus the last sentence of the second paragraph only applies to the IMG element.
Section 14.2.3
The title attribute for the STYLE element should be listed as an attribute defined elsewhere.
Section 14.3.2
The second example sets title="Compact", but should set title="compact".
Section 15.1.2
The sentence ending "the align element." should read "the align attribute."
Section 15.1.3.2
The following style rule is incorrect:
  <STYLE type="text/css">
  BR.mybr { clear: left }
  </STYLE>

since it refers to the class "mybr" and not the id value. The correct syntax is:

  <STYLE type="text/css">
  BR#mybr { clear: left }
  </STYLE>
Section 16
All the examples containing a Document Type Declaration use something like "THE_LATEST_VERSION_/frameset.dtd" or "THE_LATEST_VERSION_" as the system identifier for the Frameset DTD. They should use "http://www.w3.org/TR/REC-html40/frameset.dtd" instead.
Section 16.3 and Section 16.3.1
The second example of 16.3 and the example of 16.3.1 use the wrong DTD; they should use the Transitional DTD.
Section 17.5
In "attributes defined elsewhere" for the BUTTON element, missing are "id/class", "lang/dir", "title", "style", and "tabindex". Also, remove "usemap".
Section 17.6/17.6.1
In "attributes defined elsewhere" for OPTION and OPTGROUP, "onfocus", "onblur", and "onchange" should not be there. The "attributes defined elsewhere" section is missing for the SELECT element (please see the DTD for the full list of attributes).
Section 17.9.1
The "tabindex" attribute is not defined for the LABEL element.
Section 17.12.2
The sentence "The following elements support the readonly attribute: INPUT, TEXT, PASSWORD, and TEXTAREA." should read "The following elements support the readonly attribute: INPUT and TEXTAREA."
Section 18.2.2
The first paragraph of the section entitled "Local declaration of a scripting language" reads:
It is also possible to specify the scripting language in each SCRIPT element via the type attribute. In the absence of a default scripting language specification, this attribute must be set on each SCRIPT element.

Since the type attribute is required for the SCRIPT element, this paragraph should read:

The type attribute must be specified for each SCRIPT element instance in a document. The value of the type attribute for a SCRIPT element overrides the default scripting language for that element.
Section 24.2.1 and file HTMLlat1.ent
The comment "= discretionary hyphen" for the character reference "not" should not be there.
The FPI in comment reads "-//W3C//ENTITIES Full Latin 1//EN//HTML", instead this should be "-//W3C//ENTITIES Latin1//EN//HTML".
Section 24.3.1 and file HTMLsymbol.ent
The FPI in comment reads "-//W3C//ENTITIES Symbolic//EN//HTML", instead this should be "-//W3C//ENTITIES Symbols//EN//HTML".
Section A.1.2
The S element which is deprecated is listed here are as part of the changes between HTML 3.2 and HTML 4.0. This element was not actually defined in HTML 3.2.
Section A.3
The longdesc attribute is not specified for tables. Instead, the summary attribute allows authors to give longer descriptions of tables.
Section B.4
The sentence "You may help search engines by using the LINK element with rel="begin" along with a TITLE, ..." should read "You may help search engines by using the LINK element with rel="start" along with the "title" attribute, ..."
Section B.5.1
The sentence "This can be altered by setting the width-TABLE attribute of the TABLE element." should refer to the "width" attribute of the TABLE element.
Section B.5.2
The sentence "Rules for handling objects too large for column apply when the explicit or implied alignment results in a situation where the data exceeds the assigned width of the column." should read "too large for a column". The meaning of the sentence is unclear since it refers to "rules" governing an error condition; user agent behavior in error conditions lies outside the scope of the specification.
Index of attributes
The "href" attribute for the BASE element should not be marked as deprecated. The DTD and prose correctly indicated that it is not deprecated.

The "target" attribute should not be marked as deprecated. Though not deprecated, it is not defined in the Strict DTD either.

The "language" attribute for the SCRIPT element should be marked as deprecated and should not be in the Strict DTD.

Minor Typographical Errors

Section 2.1.3
"Relative URIsare resolved ..." should be "Relative URIs are resolved ...".
Section 2.2.1
"Despite never receiving consensus in standards discussions, these drafts led to the adoption of a range (of) new features." Add the missing word "of".
Section 3.3.3
The sentence "Element types that are designed to have no content are called empty elements elements." contains one too many "elements". The sentence "A few HTML element types use an additional SGML feature to exclude elements from content model" should end "from a content model".

Also, in list item two, a period is missing between "optional" and "Two".

Section 3.3.4
In the section on "Boolean attributes", the sentence that begins "In HTML, boolean attributes may be appear in minimized ..." should not include the word "be".
Section 6.3
The sentence beginning "For introductory about attributes, ..." should begin "For introductory information about attributes, ...".
Section 6.6
In the first sentence of the section on Pixels, "is integer" should read "is an integer".
Section 7.4.1
The section title should begin with the word "The".
Section 7.4.4
The sentence "The meaning of a property and the set of legal values for that property should be defined in a reference lexicon called profile." should end "called a profile.".
Section 7.5.2
"Variable déclaré deux fois" should be replaced by: "Variable déclarée deux fois". Since English is the normative language of the spec, French "accord" errors don't count. ;-).
Section 9.2.2
The language of the quotations should be "en-us", not "en", since in British English, the single quotation marks would delimit the outer quotation.
Section 9.3.2
In the first line, the sixth character of "&#x00OA" should be a zero, not the letter 'O'.
Section 10.3.1
"(the are case-sensitive)" should be "(they are case-sensitive)".
Section 12.1.1
The sentence beginning "Note that the hrefattribute in each source ..." should have a space between "href" and "attribute".
Section 12.1.2
The sentence "Links that express other types of relationships have one or more link type specified in their source anchor." should read "Links that express other types of relationships have one or more link types specified in their source anchors."
Section 12.1.5
The second paragraph reads "the hreflang attribute provides user agents about the language of a ..." It should read "the hreflang attribute provides user agents with information about the language of a ..."
Section 13.3.2
The sentence beginning "Any number of PARAM elements may appear in the content of an OBJECT or APPLETelement, ..." should have a space between "APPLET" and "element".
Section 14.2.2
The word "style" at the beginning of the sentence "style The style attribute specifies ..." should not be there.
Section 17.2
Add "for" in "Those controls [for] which name/value pairs are submitted are called successful controls".
Section 17.10
The word "/samp" just before section 17.11 should not be there.
Section 17.11
The first sentence should read, "In an HTML document, an element must receive focus from the user in order to become active and perform [its] tasks" (not "their" tasks).
Section 18.2.2
Just before section 18.2.3, the sentence that includes "a name attribute takes precedence over a id if both are set." should read "over an id if both are set.".
Section 19.1
The section title reads "document Document Validation". It should be "Document Validation".
Section 21
The FPI for the Transitional HTML 4.0 DTD is missing a closing double quote.
Section B.5.1/B.5.2
This sections refer to a non-existent "cols" attribute. This attribute is not part of HTML 4.0. Calculating the number of columns in a table is described in section Section 11.2.4.3, in the chapter on tables. In sections B.5.1 and B.5.2, substitute occurrences of "cols" by "the number of columns specified by the COL and COLGROUP elements".
Section B.5.2
The sentence "The values for theframe attribute have been chosen to avoid clashes with the rules, align and valign-COLGROUP attributes." should have a space between "the" and "frame" and the last word should be "valign".
Section B.10.1
The last sentence reads "Once a file is uploaded, the processing agent should process and store the it appropriately." Please change "the it" to "it".
Index of Elements
"sstrike-through" in the description of the S element should be "strike-through".