Dive Into HTML5
Free

Dive Into HTML5

By Mark Pilgrim
Free
Book Description

Dive Into HTML5 seeks to elaborate on a hand-picked Selection of features from the HTML5 specification and other fine Standards.

The archived pdf version has been prepared by Mislav Marohnić.

Table of Contents
  • Dive Into HTML5
    • Table of Contents
  • Five Things You Should Know About HTML5
    • 1. It’s not one big thing
    • 2. You don’t need to throw anything away
    • 3. It’s easy to get started
    • 4. It already works
    • 5. It’s here to stay
  • How Did We Get Here?
    • Diving In
    • MIME types
    • A long digression into how standards are made
    • An unbroken line
    • A timeline of HTML development from 1997 to 2004
    • Everything you know about XHTML is wrong
    • A competing vision
    • WHAT Working Group?
    • Back to the W3C
    • Postscript
    • Further Reading
  • Detecting HTML5 Features
    • Diving In
    • Detection Techniques
    • Modernizr, an HTML5 Detection Library
    • Canvas
    • Canvas Text
    • Video
    • Video Formats
    • Local Storage
    • Web Workers
    • Offline Web Applications
    • Geolocation
    • Input Types
    • Placeholder Text
    • Form Autofocus
    • Microdata
    • History API
    • Further Reading
  • What Does It All Mean?
    • Diving In
    • The Doctype
    • The Root Element
    • The <head> Element
    • Character Encoding
    • Friends & (Link) Relations
      • rel = stylesheet
      • rel = alternate
      • Other Link Relations in HTML5
    • New Semantic Elements in HTML5
    • A long digression into how browsers handle unknown elements
    • Headers
    • Articles
    • Dates and Times
    • Navigation
    • Footers
    • Further Reading
  • Let’s Call It A Draw(ing Surface)
    • Diving In
    • Simple Shapes
    • Canvas Coordinates
    • Paths
    • Text
    • Gradients
    • Images
    • What About IE?
    • A Complete, Live Example
    • Further Reading
  • Video on the Web
    • Diving In
    • Video Containers
    • Video Codecs
      • H.264
      • Theora
      • VP8
    • Audio Codecs
      • MPEG-1 Audio Layer 3
      • Advanced Audio Coding
      • Vorbis
    • What Works on the Web
    • Licensing Issues with H.264 Video
    • Encoding Video With Miro Video Converter
    • Encoding Ogg Video with Firefogg
    • Batch Encoding Ogg Video with ffmpeg2theora
    • Encoding H.264 Video with HandBrake
    • Batch Encoding H.264 Video with HandBrake
    • Encoding WebM Video with ffmpeg
    • At Last, The Markup
      • MIME Types Rear Their Ugly Head
    • What About IE?
    • Issues on iPhones and iPads
    • Issues on Android devices
    • A Complete, Live Example
    • Further Reading
  • You Are Here (And So Is Everybody Else)
    • Diving In
    • The Geolocation API
    • Show Me The Code
    • Handling Errors
    • Choices! I Demand Choices!
    • What About IE?
    • geo.js to the Rescue
    • A Complete, Live Example
    • Further Reading
  • The Past, Present & Future of Local Storage for Web Applications
    • Diving In
    • A Brief History of Local Storage Hacks Before HTML5
    • Introducing HTML5 Storage
    • Using HTML5 Storage
      • Tracking Changes to the HTML5 Storage Area
      • Limitations in Current Browsers
    • HTML5 Storage in Action
    • Beyond Named Key-Value Pairs: Competing Visions
    • Further Reading
  • Let’s Take This Offline
    • Diving In
    • The Cache Manifest
      • Network sections
      • Fallback Sections
    • The Flow of Events
    • The fine art of debugging, a.k.a. “Kill me! Kill me now!”
    • Let’s Build One!
    • Further Reading
  • A Form of Madness
    • Diving In
    • Placeholder Text
    • Autofocus Fields
      • Setting focus as early as possible
    • Email Addresses
    • Web Addresses
    • Numbers as Spinboxes
    • Numbers as Sliders
    • Date Pickers
    • Search Boxes
    • Color Pickers
    • Form Validation
    • Required Fields
    • Further Reading
  • “Distributed,” “Extensibility,” & Other Fancy Words
    • Diving In
    • What is Microdata?
    • The Microdata Data Model
    • Marking Up People
      • Introducing Google Rich Snippets
    • Marking Up Organizations
    • Marking Up Events
      • The Return of Google Rich Snippets
    • Marking Up Reviews
    • Further Reading
  • Manipulating History for Fun & Profit
    • Diving In
    • The Why
    • The How
    • Further Reading
  • The All-In-One Almost-Alphabetical No-Bullshit Guide to Detecting Everything
    • Further Reading
  • About The Book
    You May Also Like
    Dive Into Python 3
    Free
    Dive Into Python 3
    By Mark Pilgrim
    Also Available On
    Categories
    Curated Lists