SitePoint
  • Premium
  • Library
  • Community
  • Jobs
  • Blog
LoginStart Free Trial
HTML5 & CSS3 for the Real World: 2nd Edition
HTML5 & CSS3 FOR THE REAL WORLD
Notice of Rights
Notice of Liability
Trademark Notice
About Alexis Goldstein
About Louis Lazaris
About Estelle Weyl
About the Technical Editor
About SitePoint
Who Should Read This Book
Conventions Used
Supplementary Materials
Acknowledgments
Want to Take Your Learning Further?
What is HTML5?
How did we get here?
Would the real HTML5 please stand up?
Why should I care about HTML5?
What is CSS3?
Why should I care about CSS3?
What do we mean by “the Real World”?
The Current Browser Market
The Growing Mobile Market
On to the Real Stuff
Introducing The HTML5 Herald
A Basic HTML5 Template
The Doctype
The html Element
The head Element
Leveling the Playing Field
The Rest Is History
HTML5 FAQ
Defining the Page’s Structure
The header Element
The section Element
The article Element
The nav Element
The aside Element
The footer Element
Structuring The HTML5 Herald
The New main Element
Continuing to Structure The Herald
Wrapping Things Up
A New Perspective on Content Types
The Document Outline
No More hgroup
More New Elements
Changes to Existing Features
Other New Elements and Features
The Future of Markup — Web Components?
Validating HTML5 Documents
Summary
Dependable Tools in Our Toolbox
HTML5 Form Attributes
Input Types
Additional New Form Controls in HTML5
Changes to Existing Form Controls
In Conclusion
A Bit of History
The Current State of Play
The Markup
Encoding Video Files for Use on the Web
Creating Custom Video Controls
What about audio?
Accessible Media
It’s Showtime
Getting Older Browsers on Board
CSS3 Selectors
CSS3 Colors
Putting It into Practice
Rounded Corners:
Drop Shadows
Text Shadow
More Shadows
Up Next
Linear Gradients
Radial Gradients
Repeating Gradients
Multiple Background Images
Background Size
In the Background
Transforms
Transitions
Animations
Moving On
Web Fonts with @font-face
@font-face rule
CSS3 Multicolumn Layouts
Up Next
Flexbox
Media Queries
Living in Style
Geolocation
Offline Web Applications
Web Storage
Additional HTML5 APIs
Back to the Future
Canvas
SVG
Drag and Drop
That’s All, Folks!
Using Modernizr with CSS
Using Modernizr with JavaScript
Further Reading
How WAI-ARIA Complements Semantics
The Current State of WAI-ARIA
Further Reading
Aren’t HTML5’s semantics enough?
The Microdata Syntax
Understanding Name-Value Pairs
Microdata Namespaces
Further Reading

Community Questions