HTML5: Up and Running and over one million other books are available for Amazon Kindle. Learn more

Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Start reading HTML5: Up and Running on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

HTML5: Up and Running [Paperback]

Mark Pilgrim

List Price: CDN$ 34.99
Price: CDN$ 19.75 & FREE Shipping on orders over CDN$ 25. Details
You Save: CDN$ 15.24 (44%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 3 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Want it delivered Friday, April 25? Choose One-Day Shipping at checkout.

Formats

Amazon Price New from Used from
Kindle Edition CDN $14.57  
Paperback CDN $19.75  

Book Description

Aug. 24 2010 0596806027 978-0596806026 1

If you don't know about the new features available in HTML5, now's the time to find out. This book provides practical information about how and why the latest version of this markup language will significantly change the way you develop for the Web.

HTML5 is still evolving, yet browsers such as Safari, Mozilla, Opera, and Chrome already support many of its features -- and mobile browsers are even farther ahead. HTML5: Up & Running carefully guides you though the important changes in this version with lots of hands-on examples, including markup, graphics, and screenshots. You'll learn how to use HTML5 markup to add video, offline capabilities, and more -- and you’ll be able to put that functionality to work right away.

  • Learn new semantic elements, such as <header>, <footer>, and <section>
  • Meet Canvas, a 2D drawing surface you can program with JavaScript
  • Embed video in your web pages without third-party plugins
  • Use Geolocation to let web application visitors share their physical location
  • Take advantage of local storage capacity that goes way beyond cookies
  • Build offline web applications that work after network access is disconnected
  • Learn about several new input types for web forms
  • Create your own custom vocabularies in HTML5 with microdata

Frequently Bought Together

HTML5: Up and Running + JavaScript: The Definitive Guide: Activate Your Web Pages + JavaScript: The Good Parts
Price For All Three: CDN$ 71.47

Show availability and shipping details

  • In Stock.
    Ships from and sold by Amazon.ca.
    FREE Shipping on orders over CDN$ CDN$ 25. Details

  • JavaScript: The Definitive Guide: Activate Your Web Pages CDN$ 32.92

    In Stock.
    Ships from and sold by Amazon.ca.
    FREE Shipping. Details

  • JavaScript: The Good Parts CDN$ 18.80

    In Stock.
    Ships from and sold by Amazon.ca.
    FREE Shipping on orders over CDN$ CDN$ 25. Details


Customers Who Bought This Item Also Bought


Product Details


Product Description

Book Description

Dive into the Future of Web Development

About the Author

Mark Pilgrim works as a developer advocate for Google, specializing in open source and open standards. You may remember him from such classics as Greasemonkey Hacks (O'Reilly), Dive Into Python (Apress), and Dive Into Python 3 (APress). He lives in North Carolina with his wife, two boys, and a big slobbery dog.


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

There are no customer reviews yet on Amazon.ca
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 3.9 out of 5 stars  67 reviews
234 of 240 people found the following review helpful
2.0 out of 5 stars Too much chatter, too little detail Sept. 24 2010
By Andor Admiraal - Published on Amazon.com
Format:Paperback
I must say: I enjoyed going through this book. It is written in an opinionated and slightly irreverent style, so I found it a mildly amusing read.

That being said: why do people buy a book on HTML5? Some would like to have a good in-depth reference on the ins and outs of the new language. Well now - that's not this book. Others might be new to web development and think learning HTML5 would be a good starting point. While they are right that HTML (5 or 4) is the place to start, this book surely isn't.

There's some depth when it comes to background, but much less when it comes to HTML5 itself or how to use it. True, the <canvas> tag and geolocation are covered pretty much in detail, but the author made some hard to defend choices in spending his paper estate.

HTML5 gives us no more than a handful of new tags, still some of those (<mark> and <section>, for example) are simply mentioned once and that's that. No examples, no advise on where to use them, nothing on browser support. Yet the book takes five pages at the start to tell the story of how the img-tag came into being some 15 years ago. Again, mildly amusing, but probably not the reason you are thinking of buying this book.

Another example: there are 10 pages with a primer on audio and video codecs, plus another 19 (!) detailed pages (with lots of screen shots) on how to use a number of specific and probably soon outdated software tools to encode video for the web. All fine for those who are completely new to video encoding and believe a book on HTML5 should be the starting point for that. But when it comes to the actual <video> tag (under the aptly named heading "At Last, the Markup"), this consists of a meager 3 pages that include a statement like this:

"The <video> element has methods like play() and pause()".

Huh? "Methods like"? So which other methods are there? And how and where would I use them? Are these standardized across browsers? Where can I find more about them? Any example, maybe?

If you think these are the kind of questions a book on HTML5 should answer, you are out of luck. The above sentence is all the information on this particular topic you are going to get. Not a word about implementing these methods, or on how to style the browsers' native video controllers that come with HTML5 support. There are a good number of external references for information on things like Unicode, codecs and video containers, and some useful scripts, but not a word on how we can get the information on how to control and style the <video> tag. Maybe the logical conclusion would be: in another book on HTML5, perhaps?
95 of 103 people found the following review helpful
3.0 out of 5 stars Not Something I'd Make Part Of My Permanent Library Aug. 31 2010
By Greg Bulmash - Published on Amazon.com
Format:Paperback
In the 1970s, ABC's "Schoolhouse Rock" took the tedious process of making a law and distilled it down into a 3-minute song that many of us can at least sing the first few bars from ("I'm just a bill, yes I'm only a bill, and I'm sitting here on Capitol Hill..."). Marc Pilgrim takes a different approach with the first chapter of this book, distilling the early history of HTML into fourteen eye-glazing pages. But if you can muddle through the initial proposal and discussion of the IMG tag, you get to Pilgrim's primary take-away of the chapter: HTML is not so much a thing, but a collection of things.

This is good, because the history of HTML has not been a smooth, step-by-step process. Different releases of different browsers have adopted different features of different specs at different times. I can personally recall rejoicing, back in the 90s, when both IE and Netscape finally implemented support for HTML tables. So it's no wonder that the second chapter dives into methods for detecting whether or not a user's browser supports certain HTML5 features.

If the first chapter was boring, the second is discouraging. First he shows how to check if Canvas is even supported. But once that's determined, you have to check if all the features of Canvas are supported. Moving on to the Video tag, even when that is supported, video format support varies across browsers. Basically, in these early days of HTML 5 support, it's like touring the United States early in the 20th century. Flush toilets and electric lights took longer to come to some areas than others.

After the third chapter started breaking down some of the new tags and how they affect the DOM, my eyes were good and glazed. This book is more discussion than documentation. If it was a car repair manual, instead of merely showing you the steps for changing the oil on your Honda, it would give you the history of the internal combustion engine, then detail different kinds of lubrication systems.

In short, there's a lot of valuable information in this book. Mark Pilgrim is no slouch on technical know-how or understanding of his topic. I just find the manner of presentation to be organized in such a way that I don't feel I have quick access to the information I want or that the available path to acquiring that knowledge is optimal. It's short on lab, long on lecture, and isn't something I'd make part of my permanent library.
33 of 37 people found the following review helpful
2.0 out of 5 stars Very Disappointed Aug. 28 2010
By Coder Guitarist - Published on Amazon.com
Format:Paperback|Verified Purchase
This book feels like it was rushed to try to be the first HTML5 book published, the others I have ordered have all been pushed back several times as the specs/APIs evolve, this book was released as-is and it sure feels it. The 'Complete Examples' throughout the book are a mess and require considerable more work to be used as complete examples, they are at best snippets which illustrate very little. Several of the topics I was most interested in reading about were dealt with sparsely (some just in a single paragraph). In short, for an O'Reilley book I am quite disappointed.
29 of 34 people found the following review helpful
5.0 out of 5 stars Diving Into Perilous Times Aug. 20 2010
By Brett Merkey - Published on Amazon.com
Format:Paperback
§
The subject of the book is of special interest to those of us making a living from our ability to understand and implement aspects of Web technology. HTML 5 is not our present but there are plenty of very smart people working diligently to make it our future.

This "up and running" series book has lots of code samples but, really, don't pick the book up for that reason. This is a book that does the right thing -- it communicates the *context* of changing Web markup. The author concentrates on the multitude of "WHY's" behind HTML 5. It is an effective advocacy work. Intelligent advocacy is precisely what is needed at this juncture.

This book takes us through a re-examination of Web markup as we know it. We get a chance to inspect things from a different angle not quite visible in our normal work day. That is why Pilgrim's book has value way beyond the code snippets. Daily practice is yet to come. Understanding can begin right now.
§
9 of 9 people found the following review helpful
3.0 out of 5 stars HTML5: Thin and limping Oct. 17 2010
By Gary Bradshaw - Published on Amazon.com
Format:Paperback|Verified Purchase
As other reviewers have noted, HTML5 is an emerging set of standards at the frontier of the web. Only the most well-heeled of developers want to work on such frontiers, but many people want to know what is coming and how to prepare for it. HTML5's advantages include plugin-free support of video, some new form elements, local storage beyond cookies, geolocation, and the new canvas element that most versions of internet explorer don't support. Someday, perhaps a decade or so in the future, these elements will be widely supported and developers won't have to write two versions of their web pages: one for html5 and one for html4. But it will take a LONG time for all of those people still running XP or Windows 2000 or older versions of the Mac to get there.

My main interest in HTML5 arises because the iPhone and iPad don't support either flash or java. Flash is often used for video, but that can be done via QuickTime and WindowsMedia and I've never needed flash for video. Flash can also produce elaborate simulations or games that interact with users and are not video based. So can Java. But both are excluded on the iOS operating system. The only alternative for web developers is the canvas element in HTML5. Pilgrim gives this important element only basic coverage: He shows how to draw a static graph (including axes and labeled points). He shows how to add images, and creates a simple mouse-driven game. But he does not show the full code for the game -- you have to go online to access that. This is the simplest form of interaction and Pilgrim does not cover anything more advanced. I have no idea if the canvas is double-buffered or if we have to do that somehow in our code, for example. Also left out is any mention of animating a canvas over time. Most of what Pilgrim does with the canvas element could be done with static gifs: The game he implements would be EASIER using html4 with tables.

Pilgrim does present a useful discussion of different video codecs in HTML5 and the challenge of working in this developing world. I have been using H.264 recently because I thought it was an open standard and is available on the iPhone and iPad. However, Pilgrim makes it clear that if I ever "go commercial" with my work, I'll have to pay some serious royalties to the patent owners for the next 20 years or so. The WebM and Theora+Ogg systems don't require any royalty payments, but neither do they work on the iPhone or iPad. (Making advanced material available on the iOS within the web is a tremendous challenge for developers these days!)

In his discussion of the new semantic tags, Pilgrim didn't bother with even a single screenshot of the resulting web page, nor did he contrast different HTML4/HTML5 alternatives. More detail is apparently available in the online version, but that presents its own set of challenges: The online edition is only free for 45 days. After that, you have to buy a subscription.

The publisher for this book is O'Reilly, one of my favorite publishers of computer books. But the cover also states "Google (tm) Press." I felt the ghostly fingers of Google (tm) running through the book. I certainly like the company, but I found the emphasis and the tone to be quite favorable to my favorite search engine -- not as unbiased and objective as I felt it should be.

In summary: The coverage of new features is thin, especially with the canvas element. Helpful illustrations are missing (though available for a short time in the online edition). Code is missing (though available free for a short time in the online edition). The alpine chamois on the cover should have been drawn in a more gaunt form and perhaps with a cast on a leg or two: HTML5 is not up and running, it is thin and limping.
ARRAY(0xaf7e9888)

Look for similar items by category


Feedback