or
Sign in to turn on 1-Click ordering.
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
Have one to sell? Sell yours here
or
Get a $11.25 Amazon.com Gift Card
HTML5: Up and Running
 
 
Tell the Publisher!
I’d like to read this book on Kindle

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

HTML5: Up and Running [Paperback]

Mark Pilgrim (Author)
4.2 out of 5 stars  See all reviews (18 customer reviews)

List Price: $29.99
Price: $19.79 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $10.20 (34%)
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
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Friday, September 10? Choose One-Day Shipping at checkout. Details
20 new from $18.49 5 used from $22.95
Textbook StudentJoin Amazon Student and get FREE Two-Day Shipping for one year with Amazon Prime shipping benefits.

Sell This Book Back for $11.25
Whether you buy it new on Amazon for $19.79 or somewhere else, you can sell it back to our Textbook Buyback Store at the current price of $11.25. Restrictions Apply
New Price$19.79
Buyback Price$11.25
Price after
Buyback
$8.54

Frequently Bought Together

HTML5: Up and Running + Beginning HTML5 and CSS3: Next Generation Web Standards + Introducing HTML5 (Voices That Matter)
Price For All Three: $69.27

Some of these items ship sooner than the others. Show details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Beginning HTML5 and CSS3: Next Generation Web Standards$26.39

    This title has not yet been released.
    You may pre-order it now and we will deliver it to you when it arrives.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Introducing HTML5 (Voices That Matter)$23.09

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details


Customers Who Bought This Item Also Bought


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.

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 (CreateSpace). He lives in North Carolina with his wife, two boys, and a big slobbery dog.


Product Details

  • Paperback: 240 pages
  • Publisher: O'Reilly Media; 1 edition (August 25, 2010)
  • Language: English
  • ISBN-10: 0596806027
  • ISBN-13: 978-0596806026
  • Product Dimensions: 9.1 x 6.9 x 0.5 inches
  • Shipping Weight: 11.2 ounces (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (18 customer reviews)
  • Amazon Bestsellers Rank: #1,623 in Books (See Top 100 in Books)
    #7 in  Books > Computers & Internet > Programming > Languages & Tools
    #1 in  Books > Computers & Internet > Home Computing > Internet > Web Browsers
    #1 in  Books > Computers & Internet > Web Development > Programming

More About the Author

Mark Pilgrim
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Mark Pilgrim Page

Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Do Customers Ultimately Buy After Viewing This Item?

HTML5: Up and Running
84% buy the item featured on this page:
HTML5: Up and Running 4.2 out of 5 stars (18)
$19.79
Introducing HTML5 (Voices That Matter)
6% buy
Introducing HTML5 (Voices That Matter) 4.6 out of 5 stars (5)
$23.09
HTML5: Designing Rich Internet Applications (Visualizing the Web)
4% buy
HTML5: Designing Rich Internet Applications (Visualizing the Web) 3.8 out of 5 stars (4)
$26.37
jQuery in Action, Second Edition
3% buy
jQuery in Action, Second Edition 4.3 out of 5 stars (57)
$29.69

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(28)
(9)
(5)
(2)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

18 Reviews
5 star:
 (7)
4 star:
 (8)
3 star:
 (2)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.2 out of 5 stars (18 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
6 of 6 people found the following review helpful:
3.0 out of 5 stars Not Something I'd Make Part Of My Permanent Library, August 31, 2010
By Greg Bulmash (Lynnwood, WA United States) - See all my reviews
(REAL NAME)   
This review is from: HTML5: Up and Running (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.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
6 of 6 people found the following review helpful:
5.0 out of 5 stars Diving Into Perilous Times, August 20, 2010
By Brett Merkey (Palm Harbor, FL United States) - See all my reviews
(REAL NAME)   
This review is from: HTML5: Up and Running (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.
§
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
2 of 2 people found the following review helpful:
5.0 out of 5 stars Worthy introduction to HTML 5, August 24, 2010
This review is from: HTML5: Up and Running (Paperback)
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 <video> tag. Through historical insight and in-depth explanations, Mark Pilgrim explores the rationale behind HTML 5. In doing so he provides a compelling answer to why it's worth adopting and embracing HTML 5.

Don't let the size deceive you - there's a ton of information packed into these pages. Mark Pilgrim and O'Reilly Publishing masterfully leverage the ebook medium, providing a cornucopia of internal and external links that are sure to make it a highly used reference text for years to come.

Finally, it's worth noting this book is not meant to be an exhaustive survey of HTML in general. If you're unfamiliar with the details of modern website development in HTML 4 or XHTML, you may be better served with a broader introductory book first.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars HTML5, Know "why" and "how" right now!
Normally, I would jump straight to the code section and pass off the rest as fluff. I'm a meat and potatoes man! Just gimme the code and I'm good to go. Read more
Published 1 day ago by Gregory Zentkovich

5.0 out of 5 stars Manual for becoming HTML5 master
I've been trying for some time to jump onto HTML5 wagon and this book finally gave me the complete insight into this field. Read more
Published 3 days ago by Branko Sabaric

4.0 out of 5 stars Great for Developers, Not for Newbies
This is a great book for developers who want a book that explains the HTML5 standard. It takes the time to explain and demonstrate the features and changes in HTML5. Read more
Published 4 days ago by Hector Lee

4.0 out of 5 stars Advocacy and Education
I found this book to be an interesting balance of an attempt at advocacy and an attempt at education. Read more
Published 8 days ago by Bobbie Lynn

4.0 out of 5 stars State of the Nation for HTML5
This is a great introduction book explaining the current state of play in the world of HTML 5 and has the best explanation of the <video> tag I've read. Read more
Published 8 days ago by craig

5.0 out of 5 stars A lot of practical information packed into 200 pages...
As part of my education on HTML5, I ended up with a review copy of Mark Pilgrim's book HTML5: Up and Running. Read more
Published 9 days ago by Thomas Duff

4.0 out of 5 stars Good. But missing 5 star depth.
Not a bad book, just too little depth on HTML5 goodies like canvas, storage (client side), and geolocation. Read more
Published 9 days ago by S. Gittens

4.0 out of 5 stars Mostly Up and Running
HTML5 is the latest "big deal" in web development, and for good reason. It allows us to build interactive websites without the need for add-ons like Adobe Flash. Read more
Published 10 days ago by G. Gutierrez

2.0 out of 5 stars Very Disappointed
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... Read more
Published 11 days ago by Coder

4.0 out of 5 stars provides examples and explains why on each example
The author tells you why HTML5 took for ever to come out. Then, it starts from the simple elements that now have a shorter syntax and new semantic elements that are intended to... Read more
Published 11 days ago by Boanerges Aleman-Meza

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   





Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.