Errata

Mobile HTML5

Errata for Mobile HTML5

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.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

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

Version Location Description Submitted by Date submitted
Printed Page xiii
3rd paragraph, second row

There is a typo at the end of the line:

[...] work on the iPod touch and on ithe Phone, and [...]

shoulb be:

[...] work on the iPod touch and on the iPhone, and [...]

Greetings,
Christian P.

pezzin  Feb 20, 2014 
Printed Page 39, 44, 45
Various

You should uniform the value of the <meta charset="UTF-8" /> tag.
Sometimes you write in lowecase, and sometimes in uppercase:
<meta charset="utf-8" />
<meta charset="UTF-8" />

Although the W3C declares that the value is case-insensitive:
http://www.w3.org/TR/html-markup/meta.charset.html

You could prefer the uppercase version:
http://blog.codingoutloud.com/2009/04/08/is-utf-8-case-sensitive-in-xml-declaration/

Thanks.

pezzin  Mar 08, 2014 
Printed Page 44
3rd line of first code example

The line:
<meta charset="UTF-8">
should be nested under the <head> tag, as below:

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
[...]

pezzin  Mar 08, 2014 
Printed Page 48
1st line

There are 2 spaces between "viewport" and <meta>.

pezzin  Mar 08, 2014 
Printed, PDF Page 64
code example for <aside>

the second <section> tag should be closing </section> tag

Tom Fan  Feb 27, 2014 
Printed, PDF Page 80
line 1

'of the <detail> element.'

should be '<details>'

Tom Fan  Feb 27, 2014 
Printed, PDF Page 118
fifth line of code example

an extra quote

Name: <input name="name" required"/>

Tom Fan  Feb 28, 2014 
Printed, PDF Page 125
line 4

there should be a white space between 'rquired' and 'list'

Tom Fan  Mar 09, 2014 
Printed, PDF Page 140
5rd paragraph and the first line

four diamond shaped and three triangles

or "four triangles"?

Tom Fan  Apr 07, 2014 
Printed, PDF Page 146
last line

pros of cons

or "pros and cons"?

Tom Fan  Apr 14, 2014 
Printed, PDF Page 151
last 3rd paragraph, line 2

"media type and the code"

should be

media type and the codec

Tom Fan  Apr 19, 2014 
Printed, PDF Page 153
last 6th paragraph

the paragraph beginning with "HTML5 <audio> and <video> ..."

is totally the same with

the 5th paragraph of page 150

Tom Fan  Apr 19, 2014 
Printed, PDF Page 175
8th paragrah, code sinppet

storageType: (!window.openDatabase)? "WEBSQL": 'local'

there should not be a !

Tom Fan  Apr 27, 2014 
PDF Page 195
2nd paragraph of "Using External Stylesheets: <link> Revisited"

The text:
"the type is assumed to be test/css"
should be
"the type is assumed to be text/css"

Anonymous  Mar 16, 2015 
Printed, PDF Page 200
second paragraph

a missing of the closing curly bracket

Tom Fan  May 08, 2014 
Printed, PDF Page 201
last paragraph

'myobj' should be mqobj

Tom Fan  May 08, 2014 
Printed, PDF Page 211
7th paragraph

include the ID value preceeded with a period?

ID should be class

Tom Fan  May 10, 2014 
Printed, PDF Page 211
10th paragraph

include the class name...

should be

include the ID value

the content of this paragraph is corrupt with the previous paragraph

Tom Fan  May 10, 2014 
Printed, PDF Page 218
3rd paragraph of code snippet

third <li>, change fr to es, right?

Tom Fan  May 13, 2014 
Printed, PDF Page 224
last second paragraph

touchStart should be little case: touchstart

and last 3rd paragraph:

the second comment should be 'active', not 'hover'

Tom Fan  May 15, 2014 
PDF Page 243
Length Units in CSS

Seems to refer to the unit "vm" without defining it (unless it's a typo for "vw"?).
Some searches seem to indicate that vm is shorthand for vmin, but the unit vmin says its smaller of vh/vm.
On next page, for CubeeDoo, it says widths are in vh/vm so it seems that its a typo for vw?

Anonymous  Jun 06, 2014 
Printed, PDF Page 250
line 7

a pc is equals to 12 points, but not 1/12 of a point

Tom Fan  Jun 09, 2014 
Printed, PDF Page 251
last 2rd paragraph, line 2

vm?

should be vw

Tom Fan  Jun 09, 2014 
PDF Page 325
Example just before 'flex' subtopic

After giving the example of order: -1, a 2nd example to show moving box b to the end uses the incorrect value for order. To get A-C-B, the value should be "order: 1;"

Anonymous  Jul 08, 2014