Location:  Home » Books » HTML5: Up and Running    
Shop All Departments
Books
DVD
Music
MP3 Downloads
Magazines
Kindle Store
VHS
Toys
PC & Video Games
Software
Categories
Paperback
Mass Market
Trade
Related Categories
• General
Programming
O'Reilly
By Publisher
Custom Stores
• Web Programming
Programming
O'Reilly
By Publisher
Custom Stores
• Textbook Buyback
Specialty Stores
Books
• Paperback
Binding
Refinements
Books

HTML5: Up and Running

HTML5: Up and RunningAuthor: Mark Pilgrim
Publisher: O'Reilly Media
Category: Book

List Price: $29.99
Buy New: $17.29
as of 9/9/2010 22:13 CDT details
You Save: $12.70 (42%)

Qty In Stock


New (19) Used (4) from $17.29

Seller: new_books_today
Rating: 4.0 out of 5 stars 18 reviews

Media: Paperback
Edition: 1
Pages: 240
Number Of Items: 1
Shipping Weight (lbs): 0.7
Dimensions (in): 9.1 x 6.9 x 0.5

ISBN: 0596806027
Dewey Decimal Number: 005
EAN: 9780596806026
ASIN: 0596806027

Publication Date: August 25, 2010  (New: Last 30 Days)
Availability: Usually ships in 1-2 business days

Similar Items:


Editorial Reviews:

Product Description

If you don't know about the new features available in HTML5, now's the time to find out. The latest version of this markup language is going to significantly change the way you develop web applications, and this book provides your first real look at HTML5's new elements and attributes.

Even though work on HTML5 is ongoing, browsers such as Safari, Mozilla, Opera, and Chrome already support many of its features -- and browsers for smart phones are even farther ahead, especially iPhone's MobileSafari browser. With HTML5: Up & Running, you'll learn how this new version enables browsers to interact with JavaScript much more easily than before. You'll also learn how HTML5 can help you develop applications that:

  • Display video directly in the browser, without having to rely on plugins
  • Work even when a user is offline, by taking advantage of HTML5's persistent storage
  • Offer a drawing canvas for dynamically generated 2-D graphics

This concise guide is the most complete and authoritative book you'll find on the subject. Author Mark Pilgrim writes the weekly digest for the HTML5 Working Group, and represents Google at conferences on HTML5's capabilities. Stay ahead of the curve. Order a copy of this book today.

Five Things You Should Know About HTML5
by Mark Pilgrim

1. It’s not one big thing. You may well ask: “How can I start using HTML5 if older browsers don’t support it?” But the question itself is misleading. HTML5 is not one big thing; it is a collection of individual features. So you can’t detect “HTML5 support,” because that doesn’t make any sense. But you can detect support for individual features, like canvas, video, or geolocation.

You may think of HTML as tags and angle brackets. That’s an important part of it, but it’s not the whole story. The HTML5 specification also defines how those angle brackets interact with JavaScript, through the Document Object Model (DOM). HTML5 doesn’t just define video tag; there is also a corresponding DOM API for video objects in the DOM. You can use this API to detect support for different video formats, play a video, pause, mute audio, track how much of the video has been downloaded, and everything else you need to build a rich user experience around the video tag itself.

Chapter 2 and Appendix A will teach you how to properly detect support for each new HTML5 feature.

2. You don’t need to throw anything away. Love it or hate it, you can’t deny that HTML 4 is the most successful markup format ever. HTML5 builds on that success. You don’t need to throw away your existing markup. You don’t need to relearn things you already know. If your web application worked yesterday in HTML 4, it will still work today in HTML5. Period.

Now, if you want to improve your web applications, you’ve come to the right place. Here’s a concrete example: HTML5 supports all the form controls from HTML 4, but it also includes new input controls. Some of these are long-overdue additions like sliders and date pickers; others are more subtle. For example, the email input type looks just like a text box, but mobile browsers will customize their onscreen keyboard to make it easier to type email addresses. Older browsers that don’t support the email input type will treat it as a regular text field, and the form still works with no markup changes or scripting hacks. This means you can start improving your web forms today, even if some of your visitors are stuck on IE 6.

Read all the gory details about HTML5 forms in Chapter 9.

3. It’s easy to get started. “Upgrading” to HTML5 can be as simple as changing your doctype. The doctype should already be on the first line of every HTML page. Previous versions of HTML defined a lot of doctypes, and choosing the right one could be tricky. In HTML5, there is only one doctype: !DOCTYPE html

Upgrading to the HTML5 doctype won’t break your existing markup, because all the tags defined in HTML 4 are still supported in HTML5. But it will allow you to use -- and validate -- new semantic elements like article, section, header, and footer. You’ll learn all about these new elements in Chapter 3.

4. It already works Whether you want to draw on a canvas, play video, design better forms, or build web applications that work offline, you’ll find that HTML5 is already well-supported. Firefox, Safari, Chrome, Opera, and mobile browsers already support canvas (Chapter 4), video (Chapter 5), geolocation (Chapter 6), local storage (Chapter 7), and more. Google already supports microdata annotations (Chapter 10). Even Microsoft -- rarely known for blazing the trail of standards support -- will be supporting most HTML5 features in the upcoming Internet Explorer 9.

Each chapter of this book includes the all-too-familiar browser compatibility charts. But more importantly, each chapter includes a frank discussion of your options if you need to support older browsers. HTML5 features like geolocation (Chapter 6) and video (Chapter 5) were first provided by browser plugins like Gears or Flash. Other features, like canvas (Chapter 4), can be emulated entirely in JavaScript. This book will teach you how to target the native features of modern browsers, without leaving older browsers behind.

5. It’s here to stay. Tim Berners-Lee invented the world wide web in the early 1990s. He later founded the W3C to act as a steward of web standards, which the organization has done for more than 15 years. Here is what the W3C had to say about the future of web standards, in July 2009:
    Today the Director announces that when the XHTML 2 Working Group charter expires as scheduled at the end of 2009, the charter will not be renewed. By doing so, and by increasing resources in the HTML Working Group, W3C hopes to accelerate the progress of HTML5 and clarify W3C’s position regarding the future of HTML.
HTML5 is here to stay. Let’s dive in.



Customer Reviews:
Showing reviews 1-5 of 18



5 out of 5 stars Diving Into Perilous Times   August 21, 2010
Brett Merkey (Palm Harbor, FL United States)
6 out of 6 found this review helpful

§
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.
§



5 out of 5 stars Worthy introduction to HTML 5   August 24, 2010
Christopher Laskey
2 out of 2 found this review helpful

The obvious promise of any "Up and Running" series book is to get you started quickly. HTML 5: Up and Running delivers on this promise with plenty of hands on code that explains how to implement HTML 5 elements clearly and concisely. Additionally, it directly addresses how to utilize these new elements without breaking backwards compatibility with old browsers.

The real value of the book however lies in more than just code examples - after all, a quick Google search will return a plethora of examples on how to use the



5 out of 5 stars Worth the price of admission   August 27, 2010
Alan
Mark Pilgram has done a decent job of presenting HTML5's new attributes. His historical views may be boring to some, however they are of benefit to neophyte developers. His myriad of printed references, and URLs alone make it worth the price.


5 out of 5 stars A lot of practical information packed into 200 pages...   August 31, 2010
Thomas Duff (Portland, OR United States)
As part of my education on HTML5, I ended up with a review copy of Mark Pilgrim's book HTML5: Up and Running. Like many O'Reilly books I own, this will be one of the books I end up going back to repeatedly while I get "up and running." Pilgrim includes a balanced blend of context and code, which means I learn not only *what* to do, but *why* I'm doing it and how it ended up that way.

Contents:
How Did We Get Here?; Detecting HTML5 Features; What Does It All Mean?; Let's Call It a Draw(ing Surface); Video on the Web; You Are Here (And So Is Everyone Else); The Past, Present, and Future of Local Storage for Web Applications; Let's Take This Offline; A Form of Madness; "Distributed", "Extensibility," and Other Fancy Words; Appendix - The All-in-One Almost-Alphabetical Guide to Detecting Everything; Index

As mentioned above, I appreciated the look behind the curtain when it came to finding out why certain standards and features had gotten there. The "How Did We Get Here?" chapter does an excellent job in dispelling any notions that HTML standards were methodically and rationally established and adhered to by all participants. Once you know that, it's easier to understand why some features appear to be compromises and/or might be supported better by one browser over another. As he goes through each main feature set, he provides plenty of code to show how it's used, as well as a handy chart that references each main browser and what version it started to support the feature (assuming it *is* supported). Based on that, it's pretty easy to figure out if the feature you want to use will be supported by your intended target audience(s). He also includes interesting sidebars under the catch phrase "Ask Professor Markup" that seem to pose the questions you'd ask if you had the author right there in front of you. Wrap all this up in a writing style that doesn't take himself too seriously, and you end up with an entertaining read that conveys a lot of information in a short 200 pages.

One really cool tool he points out is the Modernizr JavaScript library for detecting whether an HTML5 feature is supported in a user's browser. Rather than try and write your own detection functions, you can just call the appropriate routine and see if it returns true. So if you want to know if the browser supports the Canvas in HTML5, you can just say "if (Modernizr.canvas) " and that's it. Clean and to the point. Learning about that was almost worth the price of admission. :)

At some point I'll likely end up with some 400 page book that covers every little parameter of HTML5 in detail. Until then, HTML5: Up and Running is going to get dog-eared and post-it-noted while I get myself going. Great job, Mr. Pilgrim!

Disclosure:
Obtained From: Publisher
Payment: Free



5 out of 5 stars Manual for becoming HTML5 master   September 5, 2010
Branko Sabaric
I've been trying for some time to jump onto HTML5 wagon and this book finally gave me the complete insight into this field. I was hoping to see authoritative O'Reilly approach in writing but I've found even better story to read. Mark Pilgrim's writing is easy to read with funny and witty details so it was easy to upgrade my knowledge about this most recent technology.
Technical details are very clearly arranged and will stay close to my keyboard as a great reference. Not only that but Mark explains even some extra frameworks that can help you to build your next HTML5 code with graceful degradation towards the older browsers.
This book is starting point but will surely prep you real good to become master of HTML5.


Showing reviews 1-5 of 18


Qty In Stock


css  html  html5  javascript  web development  
CERTAIN CONTENT THAT APPEARS ON THIS SITE COMES FROM AMAZON SERVICES LLC. THIS CONTENT IS PROVIDED ‘AS IS’ AND IS SUBJECT TO CHANGE OR REMOVAL AT ANY TIME.