What you will learn in HTML5 in Action
Chapter by chapter
Chapter 1: Chapter 1. HTML5: from documents to applications
This introduction contrasts HTML5’s application-oriented capabilities with earlier document-focused HTML and illustrates its elements and JavaScript APIs with video.
What you learn in chapter 1 →Chapter 2: Chapter 2. Form creation: input widgets, data binding, and data validation
This introduction outlines how HTML5 form features provide richer input widgets and support client-side validation and styling.
What you learn in chapter 2 →Chapter 3: Chapter 3. File editing and management: rich formatting, file storage, drag and drop
Introduces the Super HTML5 Editor and the desktop-like browser capabilities it brings together.
What you learn in chapter 3 →Chapter 4: Chapter 4. Messaging: communicating to and from scripts in HTML5
This introduction motivates HTML5 messaging APIs and identifies server-originated and in-browser communication as uses.
What you learn in chapter 4 →Chapter 5: Chapter 5. Mobile applications: client storage and offline execution
This introduction explains how local data storage can support offline web application use and improve performance, and identifies the application cache manifest as a way to run a game completely offline.
What you learn in chapter 5 →Chapter 6: Chapter 6. 2D Canvas: low-level, 2D graphics rendering
Introduces Canvas as a plug-in-free way to create interactive 2D graphics and contrasts its strengths with SVG.
What you learn in chapter 6 →Chapter 7: Chapter 7. SVG: responsive in-browser graphics
Introduces SVG through its resizable vector graphics, HTML integration, and browser support, contrasting it with bitmap images.
What you learn in chapter 7 →Chapter 8: Chapter 8. Video and audio: playing media in the browser
The introduction contrasts HTML5’s in-browser media playback with plug-ins and defines the chapter’s telestrator application.
What you learn in chapter 8 →Chapter 9: Chapter 9. WebGL: 3D application development
This introduction explains WebGL’s role as a plug-in-free way to build 3D applications and its relationship to Canvas.
What you learn in chapter 9 →Concepts explained in this book
- HTML5HTML5 is a version of the HTML standard that defines markup and APIs for structuring and presenting web content.
- server-sent eventsServer-sent Events is a web API for receiving a stream of event updates from a server over an HTTP connection.
- web storage apiA browser API that provides client-side storage through the sessionStorage and localStorage interfaces.
- object storeAn object store is an IndexedDB database structure that stores a collection of objects under keys.
- IndexedDBIndexedDB is a browser API for storing and querying structured data in a client-side database.
- CanvasThe Canvas API is a web API for drawing graphics in an HTML canvas element.
- feature detectionFeature detection is the technique of checking whether a software environment supports a particular capability.
- SVGSVG 2 is a version of the Scalable Vector Graphics specification that succeeds SVG 1.1.
- cache manifestA file that specifies resources for a browser to cache for offline use by a web application.
- media element interfaceThe audio and video APIs are browser interfaces for working with media playback in web documents.
- data attributeAn HTML data-* attribute associates custom application-specific data with an element.
- WebSocketThe protocol that browser vendors and servers implement to establish and maintain WebSocket connections and pass data.
- cross-document messagingCross-document messaging is a browser mechanism for exchanging messages between documents, including documents from different origins.
- EventSourceThe browser interface for opening a connection to a server-sent event stream and receiving its events.
- animationAn animation is a sequence of visual changes displayed over time to create an impression of movement.
- event streamAn event stream is a plain-text response formatted to carry server-sent events to a browser over an open connection.
- rich-text editingRich-text editing is the editing of document content while preserving or applying formatting and other rich-text features.
- viewbox attributeThe SVG viewBox attribute defines the position and dimensions of the coordinate system used to display content within a viewport.
- collision detectionCollision detection is the computational technique of determining whether objects intersect or come into contact.
- navigationView navigation is the process of switching between views within an application.
- WebGLWebGL is a JavaScript API for rendering interactive 2D and 3D graphics in a web browser.
- video elementThe HTML video element embeds a video resource in a web document and provides playback controls through the media element interface.
- Constraint Validation APIThe Constraint Validation API is a browser API that exposes properties and methods for checking and controlling the validity of form controls.
- designModedesignMode is a document-level editing setting that makes the document editable.
- document.execCommanddocument.execCommand is a Document method for executing editing and formatting commands on editable content.
- game engineThe game engine is the example game's software component for coordinating its operation and managing its 3D assets.
- requestAnimationFramerequestAnimationFrame is a browser API method that schedules a callback before the next repaint.
- ModernizrModernizr is a JavaScript library that detects support for web platform features in a browser.
- polyfillA polyfill is code that supplies an implementation of a web platform feature in an environment that lacks native support for it.
- filesystem APIThe File API is a web platform interface for accessing information about files selected by a user.
- local storagelocalStorage is a Web Storage interface whose client-side data persists across multiple sessions.
- drag and dropDrag and drop is an interaction technique in which a user moves an object by dragging it and releasing it over a destination.
- bitmap imageA bitmap is a raster image represented by a fixed grid of pixels.
- output elementThe HTML output element represents the result of a calculation or the outcome of a user action.
- SVG groupThe SVG group element groups graphical elements so they can be treated as a unit.
- web formA web form is an HTML interface for collecting user input and submitting it to a web application.
- bufferA buffer is a region of memory used to hold data for processing or transfer.
- form input typeAn HTML input type is a value of an input element's type attribute that determines the kind and behavior of the control.
- drag and drop apiThe HTML Drag and Drop API provides browser interfaces for handling drag operations and transferring data during drag-and-drop interactions.
- source elementThe HTML source element specifies alternative media resources for a parent media element.
- vector imageVector graphics represent images using geometric shapes and paths rather than a fixed grid of pixels.
- HTML elementAn HTML5 element is a markup element defined by the HTML5 specification.
- pseudo-classA CSS pseudo-class is a selector component that targets elements based on a state or condition.
- matrixA matrix is a rectangular array of values used to represent transformations and other mathematical operations.
- image processingImage processing is the computational manipulation or analysis of image data, including its pixel values.
- microdataMicrodata is an HTML feature for embedding semantic data in a web page using named vocabularies and properties.
- pattern attributeThe pattern attribute specifies a regular expression against which a form control's value is checked.
- application cacheA browser API for caching web application resources so an application can run offline.
- websqlWeb SQL is a discontinued specification for a relational client-side database queried and manipulated with SQL statements.
- self-executing functionA self-executing function is a function that runs immediately when it is defined or evaluated.
- client-side validationClient-side validation checks user-provided data in the browser before it is submitted to a server.
- canvas contextA 2D context is the drawing interface that provides methods for rendering two-dimensional graphics on a canvas.
- grayscale conversionGrayscale conversion is an image-processing technique that transforms color image data into shades of gray.
- file systemA system for organizing and storing files on a storage device.
- Document Object ModelThe Document Object Model is a programming interface that represents a document as a structured tree of objects.
- canvas elementThe canvas element is an HTML element that provides a drawable region for graphics rendered by scripts.
- gradientA gradient is a visual effect that blends colors across a region.
- placeholder attributeThe HTML placeholder attribute provides a short hint describing the expected value of a form control.
- getFilegetFile is a File System API method for retrieving or creating a file entry according to supplied options.
- File Writer APIThe File Writer API is a web platform interface for writing data to files.
- sandboxed filesystemA sandboxed filesystem is client-side file storage isolated and restricted to an application's permitted access.
- valueAsNumberThe valueAsNumber property of an HTML input element gets or sets its value as a number.
- currentSrccurrentSrc is a media-element property containing the URL of the media resource currently selected for playback.
- MP3MP3 is a digital audio coding format that uses lossy compression.
- MPEG-4MPEG-4 is a family of standards for coding and delivery of digital audio and video.
- OggOgg is an open container format for digital multimedia streams.
- WebMWebM is an open, royalty-free media container format for web video and audio.
- bounding boxA rectangular region that encloses a graphic or group of graphics.
- getbboxAn SVG DOM method that returns the bounding box of an SVG graphics element.
- XLinkXLink is an XML linking language for expressing links between resources in XML documents.
- details elementThe HTML details element is a disclosure widget that contains additional information that can be shown or hidden.
- summary elementThe HTML summary element provides a visible heading or label for a details disclosure widget.
- key rangeA key range specifies the keys that define a set of records traversable by an IndexedDB cursor.
- required attributeThe required attribute specifies that a form control must have a value before its form can be submitted.
- geolocation apiA browser API that allows web applications to request a user's geographic location, subject to the user's permission.
- email input typeThe email input type represents a form control for entering an email address and can trigger browser validation of the entered address.
- formaction attributeThe formaction attribute specifies the URL to which a form is submitted when a particular submit control is activated.
- formnovalidate attributeThe formnovalidate attribute specifies that a form submission by a particular button should bypass the form's validation.
- location.hashThe Location.hash property gets or sets the fragment identifier of a URL.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.
