Home Page Icon
Home Page
Table of Contents for
Dedication
Close
Dedication
by Adam Freeman
The Definitive Guide to HTML5
Title
Dedication
Contents at a Glance
Contents
About the Author
About the Technical Reviewers
Acknowledgments
PART I: Getting Started
CHAPTER 1: Putting HTML5 in Context
The History of HTML
Introducing HTML5
The Current State of HTML5
The Structure of This Book
Finding More Information About HTML5
Summary
CHAPTER 2: Getting Ready
Selecting a Browser
Selecting an HTML Editor
Selecting a Web Server
Obtaining Node.js
Getting the Sample Code
Summary
CHAPTER 3: Getting Started with HTML
Using Elements
Using Element Attributes
Creating an HTML Document
Using HTML Entities
The HTML5 Global Attributes
Useful HTML Tools
Summary
CHAPTER 4: Getting Started with CSS
Defining and Applying a Style
Understanding How Styles Cascade and Inherit
Working with CSS Colors
Understanding CSS Lengths
Other CSS Units
Testing for CSS Feature Support
Useful CSS Tools
Summary
CHAPTER 5: Getting Started with JavaScript
Getting Ready to Use JavaScript
Using Statements
Defining and Using Functions
Using Variables and Types
Using JavaScript Operators
Working with Arrays
Handling Errors
Comparing the undefined and null Values
Useful JavaScript Tools
Summary
PART II: The HTML Elements
CHAPTER 6: HTML Elements in Context
Understanding the Sematic/Presentation Divide
Understanding How to Select Elements
Understanding Element Descriptions
Element Quick Reference
Unimplemented Elements
Summary
CHAPTER 7: Creating HTML Documents
Setting Up the Basic Document Structure
Describing Documents with the Metadata Elements
Using the Scripting Elements
Summary
CHAPTER 8: Marking Up Text
Creating Hyperlinks
Annotating Content with the Basic Text Elements
Creating Breaks
Representing Inputs and Outputs
Creating Citations, Quotations, Definitions, and Abbreviations
Working with the Language Elements
Wrapping Up: The Other Text Elements
Summary
CHAPTER 9: Grouping Content
Understanding the Need to Group Content
Creating Paragraphs
Using the div Element
Working with Preformatted Content
Quoting from Other Sources
Adding Thematic Breaks
Grouping Content into Lists
Dealing with Figures
Summary
CHAPTER 10: Creating Sections
Adding Basic Headings
Hiding Subheadings
Creating Sections
Adding Headers and Footers
Adding Navigation Blocks
Working with Articles
Creating Sidebars
Providing Contact Information
Creating a Details Section
Summary
CHAPTER 11: Table Elements
Creating a Basic Table
Adding Headers Cells
Adding Structure to a Table
Creating Irregular Tables
Associating Headers with Cells
Adding a Caption to a Table
Working with Columns
Applying Borders to the table Element
Summary
CHAPTER 12: Working with Forms
Creating a Basic Form
Configuring the Form
Adding Labels to a Form
Automatically Focusing on an input Element
Disabling Individual input Elements
Grouping Form Elements Together
Using the button Element
Working with Elements Outside the Form
Summary
CHAPTER 13: Customizing the Input Element
Using the input Element for Text Input
Using the input Element for Password Input
Using the input Element to Create Buttons
Using the input Element to Restrict Data Entry
Using the input Element to Obtain Search Terms
Using the input Element to Create Hidden Data Items
Using the input Element to Create Image Buttons and Maps
Using the input Element to Upload Files
Summary
CHAPTER 14: Other Form Elements and Input Validation
Using the Other Form Elements
Using Input Validation
Disabling Input Validation
Summary
CHAPTER 15: Embedding Content
Embedding an Image
Embedding Another HTML Document
Embedding Content Using Plugins
Other Uses for the object Element
Embedding Numeric Representations
Other Embedding Elements
Summary
PART III: Cascading Style Sheets
CHAPTER 16: CSS in Context
Understanding CSS Standardization
Understanding the Box Model
Selectors Quick Reference
Properties Quick Reference
Summary
CHAPTER 17: Using the CSS Selectors—Part I
Using the Basic CSS Selectors
Combining Selectors
Using Pseudo-Element Selectors
Summary
CHAPTER 18: Using the CSS Selectors—Part II
Using the Structural Pseudo-Class Selectors
Using the UI Pseudo-Class Selectors
Using the Dynamic Pseudo-Class Selectors
Other Pseudo-Selectors
Summary
CHAPTER 19: Using Borders and Backgrounds
Applying a Border
Setting Element Backgrounds
Creating a Box Shadow
Using Outlines
Summary
CHAPTER 20: Working with the Box Model
Applying Padding to an Element
Appling Margin to an Element
Controlling the Size of an Element
Dealing with Overflowing Content
Controlling Element Visibility
Setting an Element Box Type
Creating Floating Boxes
Summary
CHAPTER 21: Creating Layouts
Positioning Content
Creating Multicolumn Layouts
Creating Flexible Box Layouts
Creating Table Layouts
Summary
CHAPTER 22: Styling Text
Applying Basic Text Styles
Decorating and Transforming Text
Creating Text Shadows
Working with Fonts
Using Web Fonts
Summary
CHAPTER 23: Transitions, Animations, and Transforms
Using Transitions
Using Animations
Using Transforms
Summary
CHAPTER 24: Other CSS Properties and Features
Setting Element Color and Transparency
Styling Tables
Styling Lists
Styling the Cursor
Summary
PART IV: Working with the DOM
CHAPTER 25: The DOM in Context
Understanding the Document Object Model
Understanding DOM Levels and Compliance
The DOM Quick Reference
Summary
CHAPTER 26: Working with the Document Object
Working with Document Metadata
Obtaining HTML Element Objects
Navigating the DOM Tree
Summary
CHAPTER 27: Working with the Window Object
Obtaining a Window Object
Getting Information about the Window
Interacting with the Window
Prompting the User
Getting General Information
Working with the Browser History
Using Cross-Document Messaging
Using Timers
Summary
CHAPTER 28: Working with DOM Elements
Working with Element Objects
Working with Text
Modifying the Model
Summary
CHAPTER 29: Styling DOM Elements
Working with Stylesheets
Working with Element Styles
Working with CSSStyleDeclaration Objects
Working with Computed Styles
Summary
CHAPTER 30: Working with Events
Using Simple Event Handlers
Using the DOM and the Event Object
Working with the HTML Events
Summary
CHAPTER 31: Using the Element-Specific Objects
The Document and Metadata Objects
The Text Elements
The Grouping Elements
The Section Elements
The Table Elements
The Form Elements
The Content Elements
Summary
PART V: Advanced Features
CHAPTER 32: Using Ajax – Part I
Getting Started with Ajax
Using the Ajax Events
Dealing with Errors
Getting and Setting Headers
Making Cross-Origin Ajax Requests
Aborting Requests
Summary
CHAPTER 33: Using Ajax—Part II
Getting Ready to Send Data to the Server
Sending Form Data
Sending Form Data Using a FormData Object
Sending JSON Data
Sending Files
Tracking Upload Progress
Requesting and Processing Different Content Types
Summary
CHAPTER 34: Working with Multimedia
Using the video Element
Using the audio Element
Working with Embedded Media via the DOM
Summary
CHAPTER 35: Using the Canvas Element – Part I
Getting Started with the Canvas Element
Getting a Canvas Context
Drawing Rectangles
Setting the Canvas Drawing State
Saving and Restoring Drawing State
Drawing Images
Summary
CHAPTER 36: Using the Canvas Element – Part II
Drawing Using Paths
Drawing Arcs
Drawing Bezier Curves
Creating a Clipping Region
Drawing Text
Using Effects and Transformations
Summary
CHAPTER 37: Using Drag & Drop
Creating the Source Items
Creating the Drop Zone
Working with the DataTransfer Object
Summary
CHAPTER 38: Using Geolocation
Using Geolocation
Handling Geolocation Errors
Specifying Geolocation Options
Monitoring the Position
Summary
CHAPTER 39: Using Web Storage
Using Local Storage
Using Session Storage
Summary
CHAPTER 40: Creating Offline Web Applications
Defining the Problem
Defining the Manifest
Detecting the Browser State
Working with the Offline Cache
Summary
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
The Definitive Guide to HTML5
Next
Next Chapter
Contents at a Glance
Dedicated to my lovely wife, Jacqui Griffyth
–Adam Freeman
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset