Errata

HTML & XHTML: The Definitive Guide

Errata for HTML & XHTML: The Definitive Guide

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page vi
Section 13.1

"Dynamiic" should be "Dynamic."

Anonymous   
Printed
Page 8
1st paragraph

"Exstensible" should be "Extensible."

Anonymous   
Printed
Page 8
2nd paragraph

"Web" should be "web."

Anonymous   
Printed
Page 25
first footnote

"<br/>" was changed to "<br />."

Anonymous    Mar 01, 2001
Printed
Page 37
2nd paragraph

"object-oriented" now reads "object-based" and "applets" now reads "programs."

Anonymous    Mar 01, 2001
Printed
Page 46
Paragraph 5; First sentence

"between 0 and 255" was deleted. The text now reads:

...and a decimal value corresponding to the entity's position...

Anonymous    Aug 01, 2001
Printed
Page 50
3.6.1.2., The lang attribute

"Hindu" has been changed to "Hindi".

Anonymous    Aug 01, 2001
Printed
Page 55
"<body>"

ONBLUE and ONFOCUS were added to the list of attributes.

Anonymous    Aug 01, 2001
Printed
Page 56
third line from bottom

"current rc of" now reads "current version of".

Anonymous    Mar 01, 2001
Printed
Page 58
3rd paragraph;

The second example time has been changed from "1998-02-22T19:26-05:00" to
"1998-02-22T09:26-05:00"

Anonymous    Aug 01, 2001
Printed
Page 63
1st paragraph, right below the box

", although no browser currently supports this value" was removed from the
sentence. The text now reads:

...to align both the left and right margins of the text.

Anonymous    Aug 01, 2001
Printed
Page 63
section 4.1.1.2:

"and deprecated in the current standards" has been removed from the sentence.
The text now reads:

Supported only by Internet Explorer, the nowrap attribute suppresses...

Anonymous    Aug 01, 2001
Printed
Page 69
3rd paragraph

"An paragraph" should be "A paragraph".

Anonymous   
Printed
Page 77
"Content-Based Style Tags" illustration

removed "ALIGN" in Attributes section.

Anonymous    Mar 01, 2001
Printed
Page 82
4th line

"monospace font" now reads "italics."

Anonymous    Mar 01, 2001
Printed
Page 83
Table 4-1, "Internet Explorer" column

"monospace bold" now formatted in bold, not just monospace.

Anonymous    Mar 01, 2001
Printed
Page 85
"Physical Style Tags: illustration

removed "ALIGN" in Attributes section.

Anonymous    Mar 01, 2001
Printed
Page 88
Table 4-2

The sub and sup text should be higher or lower than the adjacent text, but not
any smaller.

Anonymous   
Printed
Page 98
example XHTML code


<img src="kumquat.gif" align="absmiddle">

This line now has a " /" before the closing ">" to follow the XHTML rules.

Anonymous    Mar 01, 2001
Printed
Page 103
In the <pre> illustration, ALIGN has been removed from the list of

attributes.

Anonymous    Aug 01, 2001
Printed
Page 115
code

"webmaster@ora.com" was changed to "webmaster@oreilly.com."

Anonymous    Mar 01, 2001
Printed
Page 119
In the <hr> illustration, LANG and DIR have been added to the

list of attributes.

Anonymous    Aug 01, 2001
Printed
Page 123
final paragraph, 2nd sentence

"big squares" has been changed to "big rectangles".

Anonymous    Aug 01, 2001
Printed
Page 145
footnote

The word "individually" is misspelled.

Anonymous   
Printed
Page 149
2nd full paragraph

Change "user's" to "users" and "town's" to "towns"

Anonymous   
Printed
Page 152
The first paragraph in Section 5.2.7.2 now starts with

"Normally, Internet Explorer plays a movie inside a framed
viewport once, without any visible user controls. Although no
longer supported with Internet Explorer version 5 or later,
with older versions of the browser the user may restart..."

The Figure 5-20 caption now reads:

"The controls attribute added video playback controls to inline movies."

Anonymous    Aug 01, 2001
Printed
Page 152
Section 5.2.7.2

At the end of the section, add:

"With Internet Explorer version 5 and later, users stop movie
playback with the browser's stop button, and may restart it by
right-clicking on the movie image and selecting "Play" from the
dialog menu options."

The Figure 5-20 caption should read:

"The controls attribute, no longer supported, added video
playback controls to inline movies."

Anonymous   
Printed
Page 154
Section 5.3.1.1.

first sentence now begins:

"One standard, although deprecated, way..."

Anonymous    Mar 01, 2001
Printed
Page 156
Fig. 5-22 and Fig. 5-23 were switched (including captions).

Anonymous    Mar 01, 2001
Printed
Page 163
Table 5-1

A row was added:

"PNG Image png Any"

Anonymous    Mar 01, 2001
Printed
Page 182
4th paragraph

The last sentence of the paragraph (beginning with "Do notice...") has been
removed.

Anonymous    Aug 01, 2001
Printed
Page 188
Add to end of section 6.6.11.2

Common "dot-slash" pathname notations also let you express
the current directory ("./") and directory above the current
directory (parent; "../") in a relative URL. The current
directory notation is rarely used, since it is redundant. But
the parent notation lets you set the target URL to directories
in other branches of the filesystem hierarchy.

For example, if the directory portion of the current URL is
/planting/special/, and you want to reference an HTML document
named new_ground.html in planting/standard/, you may simply
form the relative URL as:

../standard/new_ground.html

You'll actually be retrieving:

http://www.kumquat.com/planting/standard/new_ground.html

Note that parent notation has limits. For instance, most Web
servers will not let you navigate above its base directory:
http://www.kumquat.com/../ probably won't deliver any document
or directory listing to your browser.

Anonymous   
Printed
Page 193
<a> code sample, 2nd line

now reads:

...A yummy recipe for kumquat soup...

(See caption in Fig. 6-3).

Anonymous    Mar 01, 2001
Printed
Page 206
<map> illustration

Remove all but NAME from attribute list.

Anonymous   
Printed
Page 207
Remove sections 6.5.3.2-.3.

Anonymous   
Printed
Page 208
In the <area> illustration, DIR has been added to the list of attributes.

Anonymous    Aug 01, 2001
Printed
Page 215
Last paragraph

"allow the" has been replaced with "allow the deprecated". The text now reads:

...standards only allow the deprecated <isindex> tag to be placed...

Anonymous    Aug 01, 2001
Printed
Page 216
6.6.1.1, line 2-3

Text of default prompt is not appropriate to the referenced figure. (The
figure had been updated, but not the text.)

Anonymous   
Printed
Page 219
comment in first paragraph now reads:

"The <base> tag should appear only in the document header,
not its body contents"

Anonymous    Mar 01, 2001
Printed
Page 219
4th paragraph; second sentence

"The browser actually forms" was changed to: "The browser should (but
doesn't always) form".

Anonymous    Aug 01, 2001
Printed
Page 220
6.7.2, last line before 6.7.2.1

"The link tag has ... no closing </link> element" was changed to "The <link>
tag has no content and only XHTML supports the closing </link> tag."

Anonymous    Mar 01, 2001
Printed
Page 235
7.3.1.1, 4th line of 2nd paragraph

"Netscape Navigator version 6" now reads "Netscape version 6" (since in
version 6 they changed the name).

Anonymous    Mar 01, 2001
Printed
Page 235
7.3.1.1, 3rd paragraph

In the reference to Figure 7-4 on next page "as rendered by Netscape" has been
changed to "as rendered by Internet Explorer".

Anonymous    Aug 01, 2001
Printed
Page 237

The nesting example should read:

<ul>
<li>Morning Kumquat Delicacies
<ul>
<li>Hot Dishes
<ul>
<li>Kumquat omelet</li>
<li>Kumquat waffles
<ul>
<li>Country style</li>
<li>Belgian</li>
</ul>
</li>
<li>Kumquats and toast</li>
</ul>
</li>
<li>Cold Dishes
<ul>
<li>Kumquats and cornflakes</li>
<li>Pickled Kumquats</li>
<li>Diced Kumquats</li>
</ul>
</li>
</ul>
</li>
</ul>

Anonymous   
Printed
Page 240
1st paragraph

"tags between them" was changed to "tags at the end of their content".


Anonymous    Aug 01, 2001
Printed
Page 240
end of 1st paragraph

The extraneous period at the end of the paragraph was removed.

Anonymous    Aug 01, 2001
Printed
Page 244
last line before 7.7.1.1

"Mosiac" now reads "Mosaic".

Anonymous    Mar 01, 2001
Printed
Page 251
code, last line

"<h1>" (second, at end of line) now reads "</h1> (inserted slash).

Anonymous    Mar 01, 2001
Printed
Page 253
Bottom;

In the last line of the code example, the ":" after "body" was removed.

Anonymous    Aug 01, 2001
Printed
Page 257
2nd paragraph;

"previous example" was changed to "example in section 8.1.2"

Anonymous    Aug 01, 2001
Printed
Page 260
4th paragraph

"capital letters... ...innermost level:" was changed to: "upper-case Roman
numerals for the outer level, capital letters for the next level, Arabic
numerals for the next, and lower-case letters for the innermost level:"

Anonymous    Aug 01, 2001
Printed
Page 262
third paragraph, 4th line:

last word should be "occasions."

Anonymous   
Printed
Page 265
fourth paragraph, second line

Remove "to exactly one tag".

Anonymous    Mar 01, 2001
Printed
Page 268
8.3.5, code

Change "text-weight" to "font-weight" and "text-style" to "font-style" (last
three lines).

Anonymous    Mar 01, 2001
Printed
Page 269
Section 8.4.1.2., second paragraph

The text used to read:

...em, which is the height of m in the current font...

It was changed to:

...em, which is the width of m in the current font...

Anonymous    Aug 01, 2001
Printed
Page 279
last paragraph, code

In the first example for section 8.4.4.5. the vertical position value for the
background-position property is given as "middle". The value now reads
"center" as described in the preceding paragraph.

Anonymous    Mar 01, 2001
Printed
Page 281
last sentence

removed "(more commonly known as leading among typographers)".

Anonymous    Mar 01, 2001
Printed
Page 283
Example at the top of the page

Two commas were inserted. The code example now reads:

a:visited, a:link, a:active {text-decoration: underline overline}

Anonymous    Aug 01, 2001
Printed
Page 293
2 lines before 8.4.6.10

"Netscape Navigator 6" now reads "Netscape 6".

Anonymous    Mar 01, 2001
Printed
Page 297-298
<ol> lists at end of page 297 and top of page 298

Add closing </li> tags (because of the XHTML rules).

Anonymous   
Printed
Page 300
3rd paragraph now begins "Although deprecated, the <span> tag..."

Anonymous    Mar 01, 2001
Printed
Page 306
<form> illustration

The icon after "NAME" was removed.

Anonymous    Aug 01, 2001
Printed
Page 306
The <form> illustration is missing the "accept" attribute. HTML 4.01 has

this attribute on both the "form" and "input" tags.

Anonymous   
Printed
Page 310
first paragraph

"The browser may chose ..."

should read:

"The browser may choose ..."

Anonymous   
Printed
Page 317
Table 9-1

changed caption to read "Required and Some Common Form Element Attributes".

Anonymous    Mar 01, 2001
Printed
Page 318
<input> tag box

The "OMMOUSEOVER" attribute should be "ONMOUSEOVER".

Anonymous   
Printed
Page 329
button illustration

Function line should read "Create a button..."
"OMMOUSEOVER" should be "ONMOUSEOVER."
Add "TABORDER" and "NOTAB" as attributes.

Anonymous   
Printed
Page 332
<textarea>

removed "N" icon after "WRAP"

Anonymous    Mar 01, 2001
Printed
Page 334
In the <select> illustration, removed "ONSELECT".

Anonymous    Mar 01, 2001
Printed
Page 335
In the <option> illustration, ONSELECT was removed from the list of

attributes.

Anonymous    Aug 01, 2001
Printed
Page 335
<option>, End tag section

"...always omitted..." has been changed to: "...usually omitted..."

Anonymous    Aug 01, 2001
Printed
Page 337
In the <optgroup> illustration, "ONSELECT" was removed from the list of

attributes.

Anonymous    Aug 01, 2001
Printed
Page 348
last paragraph;

The text used to read:

"The align attributes in the table cells force the labels to the left and the
elements to the right"

It was changed to:

"The align attributes in the table cells force the labels to the right and the
elements to the left"

Anonymous    Aug 01, 2001
Printed
Page 359
<table>

The "N" icon was added to the "BACKGROUND" attribute.

Anonymous    Aug 01, 2001
Printed
Page 360
10.2.1.2, 3rd paragraph:

The text used to read:

The background attribute, a nonstandard extension supported
by Internet Explorer,...

It was changed to:

The background attribute, a nonstandard extension supported
by the popular browsers,...

Anonymous    Aug 01, 2001
Printed
Page 368
Table 10-1

The "a" footnote was removed from the "justify" entries in the table.

Anonymous    Aug 01, 2001
Printed
Page 370
<th> and <td>

The "N" icon was added to the "BACKGROUND" attribute.

Anonymous    Aug 01, 2001
Printed
Page 375
Last full paragraph

Remove the second comma after "result".

Anonymous   
Printed
Page 388
Code example

The second <tbody> tag (before "Females under 18") was deleted.

Anonymous    Aug 01, 2001
Printed
Page 393
<frameset>

"ONBLUR" and "ONFOCUS" were removed from the list of attributes.

Anonymous    Aug 01, 2001
Printed
Page 402
5th paragraph:

"With Netscape only,..." was changed to: "With the popular browsers,..."

Anonymous    Aug 01, 2001
Printed
Page 420
12.2.1.7., 1st paragraph

"or a percentage of the display" was removed from the text. The last sentece of
the paragraph now reads:

The value for each of these dimension attributes should be an actual number of
pixels.

Anonymous    Aug 01, 2001
Printed
Page 425
code example following 3rd paragraph

The code used to read:

valuetype="url"

It was changed to:

valuetype="ref"

Anonymous    Aug 01, 2001
Printed
Page 428
12.2.3.7.:

"or as a percentage of the containing element" was removed from the text. The
last sentence now reads:

They all accept avlues indicating the size of the region in pixels.

Anonymous    Aug 01, 2001
Printed
Page 432
<noembed> tag summary box

The end tag section used to read:

None

It has been changed to:

</noembed>; never omitted

Anonymous    Aug 01, 2001
Printed
Page 436
<noscript>

Remove all 16 attributes.

Anonymous   
Printed
Page 437
Table 12-1, onBlur

The asterisks after "<body>" and "<frameset>" were removed.

Anonymous    Aug 01, 2001
Printed
Page 437
Table 12-1, onBlur

Remove asterisks after "<body>" and "<frameset>".

Anonymous   
Printed
Page 438
Table 12-1, onFocus

The asterisks after "<body>" and "<frameset>" were removed.

Anonymous    Aug 01, 2001
Printed
Page 438
Table 12-1, onFocus

Remove asterisks after "<body>" and "<frameset>".

Anonymous   
Printed
Page 449
mini-TOC and 13.1 header

"Dynamiic" was changed to: "Dynamic".

Anonymous    Aug 01, 2001
Printed
Page 449
mini-TOC and 13.1 header

"Dynamiic" should be "Dynamic".

Anonymous   
Printed
Page 459
1st paragraph

", or after completing 60 cycles (about five minutes)" was removed from the
text. The last sentence now reads:

The update continues until the browser breaks the connection by moving on to
another document.

Anonymous    Aug 01, 2001
Printed
Page 486
15.1.1, end of paragraph 2

"Netscape Navigator 6" -> "Netscape 6"

Anonymous   
Printed
Page 503
Code

The third line of code used to read:

<zip length="9">27513-1234</zip>

There are actually ten characters (with the hyphen), not nine. The line has
been changed to:

<zip length="10">27513-1234</zip>

Anonymous    Aug 01, 2001
Printed
Page 511
section 16.2.3, code

The code used to read:

" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "

The spaces inside the double quotes were unnecessary and have been removed. The
code now reads:

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"

Anonymous    Aug 01, 2001
Printed
Page 518
1st line

"amout" should be "amount."

Anonymous   
Printed
Page 519
2nd paragraph, 2nd line

"workse" should be "works".

Anonymous   
Printed
Page 522
last paragraph

"Designing for the Web" is out-of-print. It was replaced with "Web Design in a
Nutshell."

Anonymous    Aug 01, 2001
Printed
Page 522
last paragraph

"Designing for the Web" is out-of-print. Replace with "Web Design in a
Nutshell."

Anonymous   
Printed
Page 525
code example

The 5th line used to read:

<ul class="checked"

It was changed to:

<ul class="checks"

Anonymous    Aug 01, 2001
Printed
Page 532
In the code example, "<br>" was changed to "<br/>. The ninth line of code

now reads:

<td>a href="#arts"><h6>Kumquat influence<br/>in the Arts</h6><a/></td>

Anonymous    Aug 01, 2001
Printed
Page 546
head_content rule

The rule is written as the following:

head_content ::= <base>
| <isindex>
| <link>
| <meta>
| <nextid>
| style_tag
| title_tag

The script_tag rule MUST be included in the head_content rule. It should read:

head_content ::= <base>
| <isindex>
| <link>
| <meta>
| <nextid>
| style_tag
| title_tag
| script_tag

Anonymous   
Printed
Page 553
onBlur and onFocus should be listed under <a> tag.

Anonymous   
Printed
Page 556
<bgsound> now has an * instead of an "I" icon.

Anonymous    Mar 01, 2001
Printed
Page 557
"type" and "tabindex" are now in sequence.

Anonymous    Mar 01, 2001
Printed
Page 558
Remove "<dir>" attribute.

Anonymous   
Printed
Page 561
<frameset> now has an *.

Anonymous    Mar 01, 2001
Printed
Page 561
<frameset>:

class, id, style, and title attributes should be added.

Anonymous   
Printed
Page 565
onClick should be added as an attribute.

Anonymous   
Printed
Page 565-569
In the illustrations on pages 317 and 318, onClick is shown as

an attribute. In the HTML Quick Reference starting on page, the input
types should have onClick listed under them on pages 565-569.

Anonymous   
Printed
Page 566
<input type=checkbox>, taborder

"Specifu" -> "Specify"

Anonymous   
Printed
Page 567
<inpute type=image>, usemap

"withi" -> "within"

Anonymous   
Printed
Page 570
<label>

Add onClick attribute.

Anonymous   
Printed
Page 572
4th line

Insert space between conjunction and with.

Anonymous   
Printed
Page 573
<multicol>, width

"n" in "width=n" is now italic.

Anonymous    Mar 01, 2001
Printed
Page 573
<object>, align

end of description: "around the applet" now reads "around the object"

Anonymous    Mar 01, 2001
Printed
Page 574
<ol>, type

"Ararbic" now reads "Arabic".

Anonymous    Mar 01, 2001
Printed
Page 574
<option>, disabled

"this group" (copied from entry above) now reads "this option".

Anonymous    Mar 01, 2001
Printed
Page 574
<object>

Add onClick attribute.

Anonymous   
Printed
Page 577
The align for table says "either left or right"; it now reads "in the

center." Also, an "N" icon was added.

Anonymous    Mar 01, 2001
Printed
Page 578
<td>, rowspan, right column

"n" is now italic.

Anonymous    Mar 01, 2001
Printed
Page 580
1st line, right column

"n" is now italic.

Anonymous    Mar 01, 2001
Printed
Page 586
font-size-adjust, 3rd column

typo in "fon't"

Anonymous   
Printed
Page 589
vertical-align, 2nd column

"baseline" is now in constant-width font instead of italic.

Anonymous    Mar 01, 2001
Printed
Page 627
&#034

symbol is now a straight double quote, not a typographical character

Anonymous    Mar 01, 2001
Printed
Page 628
&#039

symbol is now a straight single quote, not a typographical character

Anonymous    Mar 01, 2001
Printed
Page 631
&#214

The symbol is now O umlaut.

Anonymous    Mar 01, 2001
Printed
Page 631
The symbol for entity 208 was incorrect. It has been replaced with the

correct symbol.

Anonymous    Aug 01, 2001
Printed
Page 631
The symbol for entity 214 is missing

Anonymous   
Printed
Page 632
&#253

symbol is missing the accent

Anonymous