Errata in REC-html40-19980424 (original) (raw)
HTML 4.0 Specification Errata
Date:1999/03/1903:11:59Date: 1999/03/19 03:11:59 Date:1999/03/1903: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
"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".
The hypertext link on "name" is incorrect. It should link to <types.html#type-name>.
There is no "href" attribute for the DIV and SPAN elements.
The P element should be removed from the example. It is invalid in ADDRESS.
The example:
"Her super-powers ...should not have a double quote mark before the word "Her".
The attribute width should be noted as deprecated.
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".
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."
The sentence beginning "User agents must render alternate next when they cannot support ..." should read "text", not "next".
The ismap attribute is not defined for theINPUT element and thus the last sentence of the second paragraph only applies to the IMG element.
The title attribute for the STYLE element should be listed as an attribute defined elsewhere.
The second example sets title="Compact", but should set title="compact".
The sentence ending "the align element." should read "the align attribute."
The following style rule is incorrect:
since it refers to the class "mybr" and not the id value. The correct syntax is:
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.
In "attributes defined elsewhere" for the BUTTON element, missing are "id/class", "lang/dir", "title", "style", and "tabindex". Also, remove "usemap".
In "attributes defined elsewhere" for OPTION andOPTGROUP, "onfocus", "onblur", and "onchange" should not be there. The "attributes defined elsewhere" section is missing for theSELECT element (please see the DTD for the full list of attributes).
The "tabindex" attribute is not defined for theLABEL element.
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."
The first paragraph of the section entitled "Local declaration of a scripting language" reads:
It is also possible to specify the scripting language in eachSCRIPT 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 theSCRIPT element, this paragraph should read:
The type attribute must be specified for eachSCRIPT 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".
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.
The longdesc attribute is not specified for tables. Instead, the summaryattribute allows authors to give longer descriptions of tables.
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, ..."
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.
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.
The "href" attribute for the BASEelement should not be marked as deprecated. The DTD and prose correctly indicated that it is not deprecated.
The "target" attribute should not be marked asdeprecated. Though not deprecated, it is not defined in the Strict DTD either.
The "language" attribute for the SCRIPTelement should be marked as deprecatedand should not be in the Strict DTD.
Minor Typographical Errors
"Relative URIsare resolved ..." should be "Relative URIs are resolved ...".
"Despite never receiving consensus in standards discussions, these drafts led to the adoption of a range (of) new features." Add the missing word "of".
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".
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".
The sentence beginning "For introductory about attributes, ..." should begin "For introductory information about attributes, ...".
In the first sentence of the section on Pixels, "is integer" should read "is an integer".
The section title should begin with the word "The".
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.".
"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. ;-).
The language of the quotations should be "en-us", not "en", since in British English, the single quotation marks would delimit the outer quotation.
In the first line, the sixth character of "�OA" should be a zero, not the letter 'O'.
"(the are case-sensitive)" should be "(they are case-sensitive)".
The sentence beginning "Note that the hrefattribute in each source ..." should have a space between "href" and "attribute".
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."
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 ..."
The sentence beginning "Any number of PARAMelements may appear in the content of an OBJECTor APPLETelement, ..." should have a space between "APPLET" and "element".
The word "style" at the beginning of the sentence "style The style attribute specifies ..." should not be there.
Add "for" in "Those controls [for] which name/value pairs are submitted are called successful controls".
The word "/samp" just before section 17.11 should not be there.
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).
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.".
The section title reads "document Document Validation". It should be "Document Validation".
The FPI for the Transitional HTML 4.0 DTD is missing a closing double quote.
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 sectionSection 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 andCOLGROUP elements".
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".
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".
"sstrike-through" in the description of the Selement should be "strike-through".