Errata

HTML & XHTML Pocket Reference

Errata for HTML & XHTML Pocket Reference

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
PDF
Page 80
step attribute description

Change fourth sentence to read:

It may be a number greater than zero or the keyword any, which allows any unit value.

Note from the Author or Editor:
Change the last sentence in the description for the step attribute to read:

It may be a number greater than zero or the keyword any, which allows any unit value.

roscoe1  Jul 10, 2011 
Printed
Page 57
Figure element description

Change second and third sentences to read:

The figure element may contain a figcaption element that provides the figure caption or title. If there is no figcaption element, the figure will have no caption.

[formatting note: figure and figcaption appear in constant width]

Note from the Author or Editor:
Change second and third sentences to read:

The figure element may contain a figcaption element that provides the figure caption or title. If there is no figcaption element, the figure will have no caption.

[formatting note: figure and figcaption appear in constant width]

Jennifer Robbins
Jennifer Robbins
 
Feb 23, 2011 
Printed
Page 163
5th entity from the top

The entry for "Ellipses" (which should incidentally be "Ellipsis") gives the character entity as "&hell<b>e</b>p;" instead of "&hell<b>i</b>p;".

Note from the Author or Editor:
Change line to:

&#8230; &hellip; ... Ellipsis

Mark Thakkar  Aug 22, 2010 
PDF
Page 7
"HTML5 Browser Support" section, 1st paragraph

When talking about Internet Explorer support for HTML5, the text reads "has not promised support for HTML5 in its version 10 release". The present version of Internet Explorer is 8 and the upcoming version is 9 so should the text instead refer to one of these versions instead of version 10?

Note from the Author or Editor:
Change paragraph under "HTML5 Browser Support" to [note, 3rd sentence that starts "Internet Explorer supports..." has been deleted]:

As of this writing, HTML5 is still in its earliest days and has limited, but growing, browser support. A few features are supported in Firefox 3.5+, Safari 3+, Chrome 2+, Opera 9+ (Opera supports nearly all of the HTML5 Forms features), and Internet Explorer 9+ (to be released mid- or late-2011). In the meantime, JavaScript can be used to make browsers recognize HTML5 elements.

JamesPreston  Jul 19, 2010 
Printed
Page 154
3rd paragraph

replace
"greater than (<, >)"
with
"greater than (>, >)"

Note from the Author or Editor:
In third paragraph on page, change to >, &gt; as described in errata submission.

Alan Rew  May 18, 2010 
Printed
Page 153
Character Entities heading

(because I think it is more accurate")

Change Character Entities to "Character References"

Note from the Author or Editor:
Please change "Character Entities" heading to "Character References"

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 151
video example, 3rd line

3rd line of code: > character should be bold.

Note from the Author or Editor:
Make ">" in third code line bold.

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 149
compact attribute in ul element

change compact="compact" to:

compact (compact="compact" in XHTML)


[FORMATTING NOTE: match similar on page 50]

Note from the Author or Editor:
change compact="compact" to:

compact (compact="compact" in XHTML)


[FORMATTING NOTE: match similar on page 50]

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 131
strike element

* Top line, by strike heading: Delete "|HTML5" from specification listing.

Note from the Author or Editor:
Delete "|HTML5" from specification listing.

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 121
q element

On same line as the "q" heading, change specs to "HTML 4.01/HTML5"

(HTML5 was missing)

Note from the Author or Editor:
On same line as the "q" heading, change specs to "HTML 4.01/HTML5"

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 121
Attributes list for progress

Insert the following at the top of the Attributes list (before max)

form="id of form owner"
Associates the meter with a named form on the page.


[FORMATTING NOTE: id of form owner is in italics]

Note from the Author or Editor:
Insert the following at the top of the Attributes list (before max)

form="id of form owner"
Associates the meter with a named form on the page.


[FORMATTING NOTE: id of form owner is in italics]

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 108
Attributes list for meter

Insert the following attribute at the top of the attribute list, before "high"

form="id of form owner"
Associates the meter with a named form on the page.

Note from the Author or Editor:
Insert the following attribute at the top of the attribute list, before "high"

form="id of form owner"
Associates the meter with a named form on the page.

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 104
map element example

Insert straight quotation marks around href value:

href="http://www.nasa.gov"

Note from the Author or Editor:
Insert straight quotation marks around href value:

href="http://www.nasa.gov"

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 100
legend example

insert = in name"list" (5th and 6th line of code)

so name="list" (2x)

Note from the Author or Editor:
insert "=" in name"list" (5th and 6th line of code)

so:

name="list" (2x)

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 99
label element description, 1st line

Add the following after ...information to controls (before period):

(button, input, keygen, meter, output, progress, select, and textarea)


[FORMATTING NOTE: each should appear in constant width]

Note from the Author or Editor:
Add the following after "...information to controls" (before period):

(button, input, keygen, meter, output, progress, select, and textarea)


[FORMATTING NOTE: each should appear in constant width]

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 94
name attribute (bottom)

Move name attribute above pattern for proper alphabetical order.

Note from the Author or Editor:
Move name attribute above pattern for proper alphabetical order.

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 92
last line

Change value="text" to:

value="numbers"

Note from the Author or Editor:
Change value="text" to:

value="numbers"

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 91
name attribute (middle of page)

Move name attribute above pattern for proper alphabetization.

Note from the Author or Editor:
Move name attribute above pattern for proper alphabetization.

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 89
checked and autofocus attribues (bottom)

Switch order of checked and autofocus for proper alphabetical order.

Note from the Author or Editor:
Switch order of checked and autofocus for proper alphabetical order.

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 86
alt attribute under input type="image"

Delete: (Not in HTML5)

[it is in html5]

Note from the Author or Editor:
Delete: (Not in HTML5)

[it is in html5]

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 85
name attribute

Move name attribute above pattern in list (for proper alphabetical order)

Note from the Author or Editor:
Move name attribute above pattern in list (for proper alphabetical order)

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 82
last two lines

Switch order of autofocus and autocomplete attributes (for proper alphabetical order)

Note from the Author or Editor:
Switch order of autofocus and autocomplete attributes (for proper alphabetical order)

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 78
ismap attribute

Change autofocus="autofocus" to ismap="ismap"

Note from the Author or Editor:
Change autofocus="autofocus" to ismap="ismap"

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 4
Note at bottom of page, 1st para

This is actually an errata to my errata.

It's in the 1st Note paragraph, and obviously it's 2010, not 2020.

Note from the Author or Editor:
This is actually an errata to my errata.

It's in the 1st Note paragraph, and obviously it's 2010, not 2020.

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 52
dt element

Due to changes in the HTML5 spec:

Delete the Notes section in its entirety.

Note from the Author or Editor:

Delete the Notes section in its entirety.

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 52
dt element

Insert "Attributes" subhead above "Core, Internationalization..." to match other elements.

Note from the Author or Editor:
Insert "Attributes" subhead above "Core, Internationalization..." to match other elements.

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 51
compact attribute in dl element

change compact="compact" to:

compact (compact="compact" in XHTML)

[See compact attribute on page 50 for example.]

Note from the Author or Editor:
change compact="compact" to:

compact (compact="compact" in XHTML)

[See compact attribute on page 50 for example.]

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 48
details element description

Due to changes in the HTML5 spec:

Replace second sentence in the description (beginning "The details element may contain...) with the following:

The details element may contain a summary element that provides a summary of the details.

(Formatting note: the element names "details" and "summary" [1st instance] should be in constant width.)

Note from the Author or Editor:
Replace second sentence in the description (beginning "The details element may contain...) with the following:

The details element may contain a summary element that provides a summary of the details.

(Formatting note: the element names "details" and "summary" [1st instance] should be in constant width.)

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 47
dd element Note

Due to changes in the HTML5 spec, delete the Note in its entirety.

Note from the Author or Editor:
Due to changes in the HTML5 spec, delete the Note in its entirety.

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 45
label attribute

Due to change in HTML5 spec, change description to:

Required. Provides the name of the command, as displayed to the user. Can not be an empty string.

Note from the Author or Editor:
Due to change in HTML5 spec, change description to:

Required. Provides the name of the command, as displayed to the user. Can not be an empty string.

[FORMATTING NOTE: "Required." is in bold italics.]

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 39
caption element Note

Replace the note with the following, due to changes in the developing HTML5 spec:

In HTML5, if a table is the only content of a figure, use the figcaption element for the table caption instead.

(formatting note: the following element names should be in constant width font: table (1st line), figure (1st line), figcaption)

Note from the Author or Editor:
Replace the note with the following, due to changes in the developing HTML5 spec:

In HTML5, if a table is the only content of a figure, use the figcaption element for the table caption instead.

(formatting note: the following element names should be in constant width font: table (1st line), figure (1st line), figcaption)

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 26
area examples (both HTML and XHTML)

There should be straight quotation marks around the value of the href attribute in both examples: "http://www.nasa.gov"

Note from the Author or Editor:
Insert straight quotation marks around the value of the href attribute in both examples: "http://www.nasa.gov"

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
Printed
Page 20
rel= attribute description, 3rd line

Keep "bookmark" on one line. Do not break.

Note from the Author or Editor:
Keep "bookmark" on one line. Do not break.

Also, insert "prefetch" (in constant width) between noreferrer, and search,

Jennifer Robbins
Jennifer Robbins
 
Apr 15, 2010 
PDF
Page 131
In the middle of the page

The strike element introduced as it's in both HTML 4.01 & HTML5,
Then in the Notes we've found this "Deprecated in HTML 4.01/XHTML. Not in HTML5."

Note from the Author or Editor:
Remove "|HTML5" from spec indicators on element title line

Anonymous  Feb 04, 2010