• Complain

Mark Pilgrim - HTML5: Up and Running

Here you can read online Mark Pilgrim - HTML5: Up and Running full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2010, publisher: OReilly Media, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover
  • Book:
    HTML5: Up and Running
  • Author:
  • Publisher:
    OReilly Media
  • Genre:
  • Year:
    2010
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

HTML5: Up and Running: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "HTML5: Up and Running" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

If you dont know about the new features available in HTML5, nows 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 HTML5s 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 iPhones MobileSafari browser. With HTML5: Up & Running, youll learn how this new version enables browsers to interact with JavaScript much more easily than before. Youll 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 HTML5s persistent storage Offer a drawing canvas for dynamically generated 2-D graphics This concise guide is the most complete and authoritative book youll find on the subject. Author Mark Pilgrim writes the weekly digest for the HTML5 Working Group, and represents Google at conferences on HTML5s capabilities. Stay ahead of the curve. Order a copy of this book today. Five Things You Should Know About HTML5 by Mark Pilgrim 1. Its not one big thing. You may well ask: How can I start using HTML5 if older browsers dont support it? But the question itself is misleading. HTML5 is not one big thing; it is a collection of individual features. So you cant detect HTML5 support, because that doesnt 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. Thats an important part of it, but its not the whole story. The HTML5 specification also defines how those angle brackets interact with JavaScript, through the Document Object Model (DOM). HTML5 doesnt 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 dont need to throw anything away. Love it or hate it, you cant deny that HTML 4 is the most successful markup format ever. HTML5 builds on that success. You dont need to throw away your existing markup. You dont 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, youve come to the right place. Heres 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 dont 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. Its 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 wont 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. Youll 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, youll 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. Its 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 W3Cs position regarding the future of HTML. HTML5 is here to stay. Lets dive in.

Mark Pilgrim: author's other books


Who wrote HTML5: Up and Running? Find out the surname, the name of the author of the book and a list of all author's works by series.

HTML5: Up and Running — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "HTML5: Up and Running" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
HTML5: Up and Running
Mark Pilgrim
Editor
Mike Loukides

Copyright 2010 Mark Pilgrim

This book uses RepKover, a durable and flexible lay-flat binding.

OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (.

Nutshell Handbook, the Nutshell Handbook logo, and the OReilly logo are registered trademarks of OReilly Media, Inc. HTML5: Up and Running , the image of an alpine chamois, and related trade dress are trademarks of OReilly Media, Inc.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and OReilly Media, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps.

While every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.

OReilly Media Preface Diving In What is HTML5 HTML5 is the next - photo 1

O'Reilly Media

Preface
Diving In

What is HTML5? HTML5 is the next generation of HTML, superseding HTML 4.01, XHTML 1.0, and XHTML 1.1. HTML5 provides new features that are necessary for modern web applications. It also standardizes many features of the web platform that web developers have been using for years, but that have never been vetted or documented by a standards committee. (Would it surprise you to learn that the Window object has never been formally documented? In addition to the new features, HTML5 is the first attempt to formally document many of the de facto standards that web browsers have supported for years.)

Like its predecessors, HTML5 is designed to be cross-platform. You dont need to be running Windows or Mac OS X or Linux or Multics or any particular operating system in order to take advantage of HTML5. The only thing you do need is a modern web browser. There are modern web browsers available for free for all major operating systems. You may already have a web browser that supports certain HTML5 features. The latest versions of Apple Safari, Google Chrome, Mozilla Firefox, and Opera all support many HTML5 features. (Youll find more detailed browser compatibility tables throughout this book.) The mobile web browsers that come preinstalled on iPhones, iPads, and Android phones all have excellent support for HTML5. Even Microsoft has announced that the upcoming Version 9 of Internet Explorer will support some HTML5 functionality.

This book will focus on eight topics:

  • New semantic elements like

    ,, and()
  • Canvas, a two-dimensional drawing surface that you can program with JavaScript ()

  • Video that you can embed on your web pages without resorting to third-party plug-ins ()

  • Geolocation, whereby visitors can choose to share their physical locations with your web application ()

  • Persistent local storage without resorting to third-party plug-ins ()

  • Offline web applications that work even after network access is interrupted ()

  • Improvements to HTML web forms ()

  • Microdata that lets you create your own vocabularies beyond )

) using a few lines of JavaScript. Dont rely on fragile browser sniffing to decide which browsers support HTML5! Instead, test for the features you need using HTML5 itself.

Conventions Used in This Book

The following typographical conventions are used in this book:

Italic

Indicates new terms, URLs, email addresses, filenames, and file extensions.

Constant width

Used for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, environment variables, statements, and keywords.

Constant width bold

Shows commands or other text that should be typed literally by the user.

Constant width italic

Shows text that should be replaced with user-supplied values or by values determined by context.

Tip

This icon signifies a tip, suggestion, or general note.

Caution

This icon indicates a warning or caution.

Using Code Examples

This book is here to help you get your job done. In general, you may use the code in this book in your programs and documentation. You do not need to contact us for permission unless youre reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a CD-ROM of examples from OReilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your products documentation does require permission.

We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN. For example: HTML5: Up and Running by Mark Pilgrim. Copyright 2010 OReilly Media, Inc., 978-0-596-80602-6.

If you feel your use of code examples falls outside fair use or the permission given above, feel free to contact us at .

A Note on the Editions of This Book

This book is derived from its HTML5 source, found at http://diveintohtml5.org/ and maintained by the author. The ebook and Safari Books Online editions include all the original hyperlinking, while the print edition includes only a subset of the hyperlinks, set as URLs in parentheses. If you are reading the print edition, please refer to one of the other editionsor the original sourcefor a richer linking experience. Because the author maintains http://diveintohtml5.org/ in HTML5, the site includes live examples of the code described in this book, many of which had to be modified for publication. Please visit http://diveintohtml5.org/ to see these examples, but be aware that their rendering may vary across browsers.

Safari Books Online
Note

Safari Books Online is an on-demand digital library that lets you easily search over 7,500 technology and creative reference books and videos to find the answers you need quickly.

With a subscription, you can read any page and watch any video from our library online. Read books on your cell phone and mobile devices. Access new titles before they are available for print, and get exclusive access to manuscripts in development and post feedback for the authors. Copy and paste code samples, organize your favorites, download chapters, bookmark key sections, create notes, print out pages, and benefit from tons of other time-saving features.

OReilly Media has uploaded this book to the Safari Books Online service. To have full digital access to this book and others on similar topics from OReilly and other publishers, sign up for free at http://my.safaribooksonline.com.

How to Contact Us

Please address comments and questions concerning this book to the publisher:

OReilly Media, Inc.
1005 Gravenstein Highway North
Sebastopol, CA 95472
800-998-9938 (in the United States or Canada)
707-829-0515 (international or local)
707-829-0104 (fax)

We have a web page for this book, where we list errata, examples, and any additional information. You can access this page at:

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «HTML5: Up and Running»

Look at similar books to HTML5: Up and Running. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «HTML5: Up and Running»

Discussion, reviews of the book HTML5: Up and Running and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.