HTML5: the Missing Manual by Matthew Macdonald

Total Page:16

File Type:pdf, Size:1020Kb

HTML5: the Missing Manual by Matthew Macdonald HTML5 The book that should have been in the box® Matthew MacDonald Beijing | Cambridge | Farnham | Köln | Sebastopol | Tokyo HTML5: The Missing Manual by Matthew MacDonald Copyright © 2011 Matthew MacDonald. All rights reserved. Printed in the Unites States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly Media books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles: http://my.safaribooksonline.com. For more information, contact our corporate/institutional sales department: 800-998-9938 or [email protected]. Printing History: August 2011: First Edition. Nutshell Handbook, the Nutshell Handbook logo, the O’Reilly logo, and “The book that should have been in the box” are registered trademarks of O’Reilly Media, Inc. HTML5: The Missing Manual, The Missing Manual logo, Pogue Press, and the Pogue Press logo are trademarks of O’Reilly 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 O’Reilly 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 authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. ISBN: 978-1-449-30239-9 [M] Table of Contents The Missing Credits .............................. xi Introduction ................................... 1 Part One: Meet the New Language Chapter 1: Introducing HTML5 ....................... 11 The Story of HTML5 ....................................... 11 XHTML 1.0: Getting Strict ................................... 12 XHTML 2: The Unexpected Failure .............................. 12 HTML5: Back From the Dead ................................. 13 HTML: The Living Language ................................. 14 Three Key Principles of HTML5 .................................. 15 1. Don’t Break the Web .................................... 15 2. Pave the Cowpaths..................................... 17 3. Be Practical ......................................... 17 Your First Look at HTML5 Markup ................................ 18 The HTML5 Doctype ..................................... 20 Character Encoding ...................................... 21 The Language ......................................... 21 Adding a Style Sheet ..................................... 22 Adding JavaScript ....................................... 22 The Final Product ....................................... 23 A Closer Look at HTML5 Syntax ................................. 24 The Loosened Rules ..................................... 24 HTML5 Validation ....................................... 25 The Return of XHTML ..................................... 27 iii HTML5’s Element Family ..................................... 29 Added Elements ....................................... 29 Removed Elements ...................................... 30 Adapted Elements ...................................... 30 Tweaked Elements ...................................... 32 Standardized Elements .................................... 33 Using HTML5 Today ........................................ 34 Evaluating Browser Support ................................. 34 Browser Adoption Statistics ................................. 36 Feature Detection with Modernizr .............................. 38 Feature “Filling” with Polyfills ................................ 40 Chapter 2: A New Way to Structure Pages ............... 43 Introducing the Semantic Elements ................................ 44 Retrofitting a Traditional HTML Page ............................... 45 Page Structure the Old Way ................................. 47 Page Structure with HTML5 ................................. 49 Subtitles with <hgroup> ................................... 52 Adding a Figure with <figure> ................................ 53 Adding a Sidebar with <aside> ................................ 56 Browser Compatibility for the Semantic Elements ........................ 57 Designing a Site with the Semantic Elements .......................... 60 Deeper into Headers ..................................... 61 Navigation Links with <nav> ................................. 62 Deeper into Footers ..................................... 67 Deeper into Sections ..................................... 69 The HTML5 Outlining System ................................... 70 How to View an Outline ................................... 70 Basic Outlines ......................................... 71 Sectioning Elements ..................................... 73 Solving an Outline Problem ................................. 76 Chapter 3: Meaningful Markup ...................... 81 The Semantic Elements Revisited ................................. 82 Dates and Times with <time> ................................ 83 JavaScript Calculations with <output> ............................ 84 Highlighted Text with <mark> ................................ 86 Other Standards that Boost Semantics .............................. 87 ARIA (Accessible Rich Internet Applications) ........................ 88 RDFa (Resource Description Framework) .......................... 89 Microformats ......................................... 89 Microdata ........................................... 95 Google Rich Snippets ....................................... 97 Enhanced Search Results ................................... 98 The Recipe Search Engine .................................. 101 iv table of contents Part Two: Creating Modern Web Pages Chapter 4: Web Forms, Refined ...................... 107 Understanding Forms ...................................... 108 Revamping a Traditional HTML Form .............................. 109 Adding Hints with Placeholders ............................... 113 Focus: Starting in the Right Spot ............................... 115 Validation: Stopping Errors .................................... 116 How HTML5 Validation Works ................................ 116 Turning Validation Off .................................... 118 Validation Styling Hooks ................................... 119 Validating with Regular Expressions ............................ 120 Custom Validation ...................................... 121 Browser Support for Validation .............................. 123 New Types of Input ....................................... 125 Email Addresses ...................................... 128 URLs ............................................ 128 Search Boxes ........................................ 128 Telephone Numbers .................................... 129 Numbers .......................................... 129 Sliders ............................................ 130 Dates and Times ....................................... 131 Colors ............................................ 132 New Elements .......................................... 132 Input Suggestions with <datalist> ............................. 133 Progress Bars and Meters ................................. 135 Toolbars and Menus with <command> and <menu> ................... 138 An HTML Editor in a Web Page ................................. 138 Using contentEditable to Edit an Element ......................... 138 Using designMode to Edit a Page .............................. 141 Chapter 5: Audio and Video ........................ 143 Understanding Video Today .................................. 144 Introducing HTML5 Audio and Video .............................. 145 Making Some Noise with <audio> ............................. 145 Getting the Big Picture with <video> ............................ 148 Format Wars and Fallbacks ................................... 149 Meet the Formats ...................................... 150 Browser Support for Media Formats ............................ 152 Multiple Formats: How to Please Every Browser ..................... 154 The <source> Element ................................... 154 The Flash Fallback ..................................... 155 Controlling Your Player with JavaScript ............................. 160 Adding Sound Effects .................................... 160 Creating a Custom Video Player .............................. 163 JavaScript Media Players .................................. 166 Captions and Accessibility ................................. 168 table of contents v Chapter 6: Basic Drawing with the Canvas ............... 171 Getting Started with the Canvas ................................. 172 Straight Lines ......................................... 174 Paths and Shapes ....................................... 177 Curved Lines ......................................... 179 Transforms ......................................... 182 Transparency ........................................ 185 Building a Basic Paint Program ................................. 188 Preparing to Draw ..................................... 189 Drawing on the Canvas ................................... 190 Saving the Picture in the Canvas .............................. 192 Browser Compatibility for the Canvas ............................. 195 Polyfilling the Canvas .................................... 196 The Canvas Fallback and Feature Detection ......................... 197 Chapter 7: Deeper into the Canvas .................... 199 Other Things
Recommended publications
  • Jquery Marquee Plugin Usage
    Jquery Marquee Plugin Usage By using following codes, we can get rid of marquee element. For more information please click <style type="text/css"> 1 .wordwrap { 2 3 white-space: -moz-pre-wrap; /* Firefox */ 4 white-space: -pre-wrap; /* Opera <7 */ 5 white-space: -o-pre-wrap; /* Opera 7 */ 6 word-wrap: break-word; /* IE */ 7 } 8 9 .marquee,.marquee-left { overflow: hidden; } 10 </style> 11 <script type="text/javascript"> 12 $(function () { 13 var options = { 14 duration: 25000, gap: 150, delayBeforeStart: 0, duplicated: true, pauseOnHover: 15 true,allowCss3Support: false}; 16 $('div.marquee-left').marquee(options); 17 $.extend(options, {direction:'up'}); 18 $('div.marquee').marquee(options); 19 20 $('div.marquee ,div.marquee-left').mouseover(function() { 21 $(this).marquee("pause"); 22 }).mouseout(function() { 23 $(this).marquee("resume"); 24 }); 25 26 }); 27 </script> Content of marquee.js File 1 /** 2 * jQuery.marquee - scrolling text like old marquee element 3 * @author Aamir Afridi - aamirafridi(at)gmail(dot)com / http://aamirafridi.com/jquery/jquery- 4 marquee-plugin 5 */ 6 !function(e) { 7 e.fn.marquee = function(t) { 8 return this.each(function() { 9 var i, a, n, r, s, o = e.extend({}, e.fn.marquee.defaults, t), u = e(this), d = 3, 10 p = "animation-play-state", l = !1, c = function(e, t, i) { for (var a = ["webkit", "moz", 11 "MS", "o", ""], n = 0; n < a.length; n++) a[n] || (t = t.toLowerCase()), 12 e.addEventListener(a[n] + t, i, !1) }, 13 f = function(e) { 14 var t = []; 15 for (var i in e) e.hasOwnProperty(i) && t.push(i + ":"
    [Show full text]
  • W W Orking with XHTML
    Tutorial 9 1 E-- ww orking with XHTML Creating a Well-Formed, Valid Document I Case I Wizard Works Fireworks I Wizard Works is one of the largest sellers of brand-name and customized fire- works in the central states. Its Web site produces the bulk of the company's sales. Tom Blaska, the head of advertising for Wizard Works, helps develop the content and design of the company's Web site. Because the Web site has been around for many years, some of the code dates back to the earliest versions of HTML. Tom would like the Web site code to be updated to reflect current stan- dards and practices. Specifically, he wants you to look into rewriting the Web site code in XHTML rather than HTML. He also would like you to find ways ta verify that the code used by Wizard Works meets XHTML standards. rlReview dtd-list.txt dtd-list.txt breaktxt.htm dtd-list.txt casttxt.htm address.txt workstxt.htm founttxt.htm dinnrtxt.htm gargtxt.htm dtd-list.txt astro.txt wwtxt.css + 2 graphic dtd-list.txt + 5 graphic + 6 graphic chem.txt + 4 graphic files lunchtxt.htm files files dtd-list.txt files + 4 graphic hebdtxt.htm + 1 graphic files hightxt-htm file laketxt.htm elect.txt scottxt. htm eng.txt + 4 HTML physics.txt files HTML 51 HTML and XHTML I Tutorial 9 Working with XHTA I Introducing XHTML he suggests that puupgrade the hame page file Icr XHTML standards MreCD ta the rest the Web site, ww.css, respectively, in the same folder.
    [Show full text]
  • Introducing HTML5 Second Edition
    HTMLINTRODUCING SECOND 5EDITION BRUCE LAWSON REMY SHARP Introducing HTML5, Second Edition Bruce Lawson and Remy Sharp New Riders 1249 Eighth Street Berkeley, CA 94710 510/524-2178 510/524-2221 (fax) Find us on the Web at: www.newriders.com To report errors, please send a note to [email protected] New Riders is an imprint of Peachpit, a division of Pearson Education Copyright © 2012 by Remy Sharp and Bruce Lawson Project Editor: Michael J. Nolan Development Editor: Margaret S. Anderson/Stellarvisions Technical Editors: Patrick H. Lauke (www.splintered.co.uk), Robert Nyman (www.robertnyman.com) Production Editor: Cory Borman Copyeditor: Gretchen Dykstra Proofreader: Jan Seymour Indexer: Joy Dean Lee Compositor: Danielle Foster Cover Designer: Aren Howell Straiger Cover photo: Patrick H. Lauke (splintered.co.uk) Notice of Rights All rights reserved. No part of this book may be reproduced or transmitted in any form by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. For informa- tion on getting permission for reprints and excerpts, contact permissions@ peachpit.com. Notice of Liability The information in this book is distributed on an “As Is” basis without war- ranty. While every precaution has been taken in the preparation of the book, neither the authors nor Peachpit shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the instructions contained in this book or by the com- puter software and hardware products described in it. Trademarks Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks.
    [Show full text]
  • A Taxonomy of Hyperlink Hiding Techniques
    A Taxonomy of Hyperlink Hiding Techniques Guang-Gang Geng1, Xiu-Tao Yang2, Wei Wang1, and Chi-Jie Meng1 1 China Internet Network Information Center, Computer Network Information Center, Chinese Academy of Sciences, Beijing, China, 100180 {gengguanggang,wangwei,mengchijie}@cnnic.cn 2 Beijing Institute of Electronic System Engineering, Beijing, China, 100854 xiutaoyang [email protected] Abstract. Hidden links are designed solely for search engines rather than visitors. To get high search engine rankings, link hiding techniques are usually used for the profitability of underground economies, such as illicit game servers, false medical services, illegal gambling, and less attractive high-profit industry. This paper investigates hyperlink hiding techniques on the Web, and gives a detailed taxonomy. We believe the taxonomy can help develop appropriate countermeasures. Statistical experimental results on real Web data indicate that link hiding techniques are very prevalent. We also tried to explore the attitude of Google towards link hiding spam by analyzing the PageRank values of relative links. The results show that more should be done to punish the hidden link spam. Keywords: Web spam, link hiding, hidden spam, spam detection 1 Introduction Most Web surfers depend on search engines to locate information on the Web. Link analysis algorithms [1], such as PageRank [2] and HITS [3], are usually used for Search engines ranking. Link analysis algorithms assume that every link represents a vote of support, in the sense that if there is a link from page x to page y and these two pages are authored by different people, then the author of page x is recommending page y.
    [Show full text]
  • Internet Programming Chapter Name: Markup Language UNIT 1 MARKUP LANGUAGE
    Course Code: SIT1302 Course Name: Internet Programming Chapter Name: Markup Language UNIT 1 MARKUP LANGUAGE UNIT 1: Introduction to HTML - Structure of HTML, HTML elements - Mark up tags for inserting URL, Images, Tables, Frames - Form and its controls - Image maps - Client and Server Side – CSS – Inline – Internal and External - Multimedia components - Audio and Video - Dynamic HTML. 1.1 Introduction to HTML 1.1.1 Brief History of HTML In the late 1980's , A physicist, Tim Berners-Lee who was a contractor at CERN, proposed a system for CERN researchers. In 1989, he wrote a memo proposing an internet based hypertext system. Tim Berners-Lee is known as father of HTML. The first available description of HTML was a document called "HTML Tags" proposed by Tim in late 1991. 1.1.2 Features of HTML 1) It is a very easy and simple language. It can be easily understood and modified. 2) It is very easy to make effective presentation with HTML because it has a lot of formatting tags. 3) It is a markup language so it provides a flexible way to design web pages along with the text. 4) It facilitates programmers to add link on the web pages (by html anchor tag) , so it enhances the interest of browsing of the user. 5) It is platform-independent because it can be displayed on any platform like Windows, Linux and Macintosh etc. 6) It facilitates the programmer to add Graphics, Videos, and Sound to the web pages which makes it more attractive and interactive. ➢ HTML stands for Hyper Text Markup Language.
    [Show full text]
  • Wireless CSS Specification Candidate Version 1.1 – 09 Jun 2004
    Wireless CSS Specification Candidate Version 1.1 – 09 Jun 2004 Open Mobile Alliance OMA-WAP-WCSS-V1_1-20040609-C 2004 Open Mobile Alliance Ltd. All Rights Reserved. Used with the permission of the Open Mobile Alliance Ltd. under the terms as stated in this document. [OMA-Template-SpecWAP-20040205] OMA-WAP-WCSS-V1_1-20040609-C Page 2 (47) Use of this document is subject to all of the terms and conditions of the Use Agreement located at http://www.openmobilealliance.org/UseAgreement.html. Unless this document is clearly designated as an approved specification, this document is a work in process, is not an approved Open Mobile Alliance™ specification, and is subject to revision or removal without notice. You may use this document or any part of the document for internal or educational purposes only, provided you do not modify, edit or take out of context the information in this document in any manner. Information contained in this document may be used, at your sole risk, for any purposes. You may not use this document in any other manner without the prior written permission of the Open Mobile Alliance. The Open Mobile Alliance authorizes you to copy this document, provided that you retain all copyright and other proprietary notices contained in the original materials on any copies of the materials and that you comply strictly with these terms. This copyright permission does not constitute an endorsement of the products or services. The Open Mobile Alliance assumes no responsibility for errors or omissions in this document. Each Open Mobile Alliance member has agreed to use reasonable endeavors to inform the Open Mobile Alliance in a timely manner of Essential IPR as it becomes aware that the Essential IPR is related to the prepared or published specification.
    [Show full text]
  • Internet Applications
    Internet Applications Notes Sushma Jaiswal Assistant Professor, CSIT Guru Ghasidas Vishwavidyalaya, Bilaspur (C.G.) To all my loving students Preface I am glad to present this notes, especially designed to serve the needs of the students of Bsc V th semester Computer Science. The notes have been written keeping in mind the general weakness in understanding the fundamental concepts of the topics. The notes are self-explanatory and adopt the “Teach Yourself” style. It is also based on question-answer pattern. The language of notes is quite easy and understandable based on scientific approach. Thanks to the online readers for their overwhelming response to our previous notes of computer graphics, software engineering, software testing & programming based numerical methods. The feedback and the response we received, encouraged me to write to this notes. Any further improvement in the contents of the notes by making corrections, omission and inclusion is keen to be achieved based on suggestions from the readers for which the author shall be obliged. I acknowledge special thanks to all who involve directly and indirectly, which are the backbones and main concept provider and also have been constant source of motivation throughout this endeavour. They played an active role in coordinating the various stages of this endeavour and spearheaded the collecting work. I look forward to receiving valuable suggestions from professors of various educational institutions, other faculty members and my loving students for improvement of the quality of the notes. The reader may feel free to send in their comments and suggestions to the under mentioned address. Sushma Jaiswal Email-Id [email protected] Internet Basics What is the Internet? Ans.
    [Show full text]
  • Using Web Standards in Your Web Pages
    Using Web Standards in Your Web Pages Mozilla searchProducts mozilla: Support Store Developers About Roadmap Using Web Standards in Your Web Pages Projects "Browser makers are no longer the problem. The problem lies with designers and developers chained to the browser-quirk-oriented markup of the 1990s-often because they don't realize it is Coding possible to support current standards while accommodating old browsers." Web Standards Project ❍ Module Owners A number of elements and practices for adding DHTML to web pages were excluded from the W3C HTML 4.01 and Document Object Model (DOM) specifications. Elements like <LAYER> and collection of objects ❍ Hacking like document.layers[] (Netscape 4) or document.all (Internet Explorer 5+), for example, are actually not a part of any web standard. Browsers that comply with the W3C web standards, such as Firefox, Mozilla and Netscape 6/7, do not support these non-compliant elements and these proprietary DOM collections. ❍ Get the Source This article provides an overview of the process for upgrading the content of your web pages to conform to the W3C web standards. The various sections identify some practices which are at odds with the standards and ❍ Build It suggest replacements. Every proposed web standards replacement in this article has been tested, verified and is working without a problem in modern browsers like MSIE 6, Netscape 7.x, Firefox 1. x, Opera 7+, Safari 1.2+, Konqueror 3.x, etc. The final section, Summary of Changes, outlines all the Testing changes described in this article. ❍ Releases In this document: ❍ Nightly 1. Upgrading Layer Elements (Netscape 4) Builds 2.
    [Show full text]
  • Introducing HTML5 Second Edition
    ptg6964689 HTMLINTRODUCING ptg6964689 SECOND 5EDITION BRUCE LAWSON REMY SHARP Introducing HTML5, Second Edition Bruce Lawson and Remy Sharp New Riders 1249 Eighth Street Berkeley, CA 94710 510/524-2178 510/524-2221 (fax) Find us on the Web at: www.newriders.com To report errors, please send a note to [email protected] New Riders is an imprint of Peachpit, a division of Pearson Education Copyright © 2012 by Remy Sharp and Bruce Lawson Project Editor: Michael J. Nolan Development Editor: Margaret S. Anderson/Stellarvisions Technical Editors: Patrick H. Lauke (www.splintered.co.uk), Robert Nyman (www.robertnyman.com) Production Editor: Cory Borman Copyeditor: Gretchen Dykstra Proofreader: Jan Seymour Indexer: Joy Dean Lee Compositor: Danielle Foster Cover Designer: Aren Howell Straiger Cover photo: Patrick H. Lauke (splintered.co.uk) ptg6964689 Notice of Rights All rights reserved. No part of this book may be reproduced or transmitted in any form by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. For informa- tion on getting permission for reprints and excerpts, contact permissions@ peachpit.com. Notice of Liability The information in this book is distributed on an “As Is” basis without war- ranty. While every precaution has been taken in the preparation of the book, neither the authors nor Peachpit shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the instructions contained in this book or by the com- puter software and hardware products described in it. Trademarks Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks.
    [Show full text]
  • Read Ebook // HTML « NQASJ6LSCMP0
    FZUUXENB385J > Book < HTML HTML Filesize: 8.01 MB Reviews Certainly, this is the very best work by any writer. It is loaded with knowledge and wisdom I am just quickly will get a satisfaction of reading through a created publication. (Donavon Okuneva) DISCLAIMER | DMCA UNBLJTVMTK91 « Doc « HTML HTML To read HTML eBook, make sure you refer to the button listed below and save the ebook or have access to additional information which are in conjuction with HTML ebook. Reference Series Books LLC Mrz 2014, 2014. Taschenbuch. Book Condition: Neu. 246x189x10 mm. Neuware - Source: Wikipedia. Pages: 75. Chapters: Unicode and HTML, Ruby character, Transclusion, Dynamic HTML, Meta element, Character encodings in HTML, HTML scripting, Image map, HTML element, XHTML, Comparison of layout engines, List of XML and HTML character entity references, HTML attribute, HTML5, HTML5 video, Quirks mode, Html5 in mobile devices, Tag soup, Form, Use of Ogg formats in HTML5, HTML e-mail, Comparison of HTML5 and Flash, MHTML, Span and div, Conditional comment, XHTML+RDFa, File select, CE-HTML, Canvas element, HTML Application, Blink element, Marquee element, Font family, Numeric character reference, Microdata, Alt attribute, FHTML, Meta refresh, Microcontent, The HTML Sourcebook: The Complete Guide to HTML, TeX4ht, HTML decimal character rendering, Table cell, Link relation, Scott Isaacs, Blockquote element, RDDL, JHTML, Layer element, XHTML+SMIL, Validator, HTML color names, Canonical meta tag, HOCR, DVB-HTML, Request Based Distributed Computing, HTML sanitization, Nokogiri. Excerpt: HTML, which stands for HyperText Markup Language, is the predominant markup language for web pages. HTML is the basic building-blocks of webpages. HTML is written in the form of HTML elements consisting of tags, enclosed in angle brackets (like ), within the web page content.
    [Show full text]
  • [MS-HTML401E]: Internet Explorer Extensions to HTML 4.01 and DOM Level 2 HTML Specifications
    [MS-HTML401E]: Internet Explorer Extensions to HTML 4.01 and DOM Level 2 HTML Specifications Intellectual Property Rights Notice for Open Specifications Documentation . Technical Documentation. Microsoft publishes Open Specifications documentation (“this documentation”) for protocols, file formats, data portability, computer languages, and standards support. Additionally, overview documents cover inter-protocol relationships and interactions. Copyrights. This documentation is covered by Microsoft copyrights. Regardless of any other terms that are contained in the terms of use for the Microsoft website that hosts this documentation, you can make copies of it in order to develop implementations of the technologies that are described in this documentation and can distribute portions of it in your implementations that use these technologies or in your documentation as necessary to properly document the implementation. You can also distribute in your implementation, with or without modification, any schemas, IDLs, or code samples that are included in the documentation. This permission also applies to any documents that are referenced in the Open Specifications documentation. No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation. Patents. Microsoft has patents that might cover your implementations of the technologies described in the Open Specifications documentation. Neither this notice nor Microsoft's delivery of this documentation grants any licenses under those patents or any other Microsoft patents. However, a given Open Specifications document might be covered by the Microsoft Open Specifications Promise or the Microsoft Community Promise. If you would prefer a written license, or if the technologies described in this documentation are not covered by the Open Specifications Promise or Community Promise, as applicable, patent licenses are available by contacting [email protected].
    [Show full text]
  • Safari HTML Reference
    Safari HTML Reference Apple Applications > Safari 2008-11-12 PROVIDED “AS IS,” AND YOU, THE READER, ARE ASSUMING THE ENTIRE RISK AS TO ITS QUALITY Apple Inc. AND ACCURACY. © 2008 Apple Inc. IN NO EVENT WILL APPLE BE LIABLE FOR DIRECT, All rights reserved. INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES RESULTING FROM ANY DEFECT OR INACCURACY IN THIS DOCUMENT, even No part of this publication may be reproduced, if advised of the possibility of such damages. stored in a retrieval system, or transmitted, in THE WARRANTY AND REMEDIES SET FORTH ABOVE any form or by any means, mechanical, ARE EXCLUSIVE AND IN LIEU OF ALL OTHERS, ORAL OR WRITTEN, EXPRESS OR IMPLIED. No Apple electronic, photocopying, recording, or dealer, agent, or employee is authorized to make otherwise, without prior written permission of any modification, extension, or addition to this Apple Inc., with the following exceptions: Any warranty. person is hereby authorized to store Some states do not allow the exclusion or limitation of implied warranties or liability for incidental or documentation on a single computer for consequential damages, so the above limitation or personal use only and to print copies of exclusion may not apply to you. This warranty gives you specific legal rights, and you may also have documentation for personal use provided that other rights which vary from state to state. the documentation contains Apple’s copyright notice. The Apple logo is a trademark of Apple Inc. Use of the “keyboard” Apple logo (Option-Shift-K) for commercial purposes without the prior written consent of Apple may constitute trademark infringement and unfair competition in violation of federal and state laws.
    [Show full text]