SitePoint
Blog
Forum
Library
Login
Join Premium
Toggle sidebar
HTML5 & CSS3 for the Real World: 2nd Edition
Toggle community discussions
Close
Content
Files
Bookmarks
Preface
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?
1
Introducing HTML5 and CSS3
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
Markup, HTML5 Style
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
More HTML5 Semantics
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
HTML5 Forms
Dependable Tools in Our Toolbox
HTML5 Form Attributes
Input Types
Additional New Form Controls in HTML5
Changes to Existing Form Controls
In Conclusion
HTML5 Video and Audio
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
Introducing CSS3
Getting Older Browsers on Board
CSS3 Selectors
CSS3 Colors
Putting It into Practice
Rounded Corners:
Drop Shadows
Text Shadow
More Shadows
Up Next
CSS3 Gradients and Multiple Backgrounds
Linear Gradients
Radial Gradients
Repeating Gradients
Multiple Background Images
Background Size
In the Background
CSS3 Transforms and Transitions
Transforms
Transitions
Animations
Moving On
Embedded Fonts and Multicolumn Layouts
Web Fonts with @font-face
@font-face rule
CSS3 Multicolumn Layouts
Up Next
Flexbox and Media Queries
Flexbox
Media Queries
Living in Style
Geolocation, Offline Web Apps, and Web Storage
Geolocation
Offline Web Applications
Web Storage
Additional HTML5 APIs
Back to the Future
Canvas, SVG, and Drag and Drop
Canvas
SVG
Drag and Drop
That’s All, Folks!
Appendix A. Modernizr
Using Modernizr with CSS
Using Modernizr with JavaScript
Further Reading
Appendix B. WAI-ARIA
How WAI-ARIA Complements Semantics
The Current State of WAI-ARIA
Further Reading
Appendix C. Microdata
Aren’t HTML5’s semantics enough?
The Microdata Syntax
Understanding Name-Value Pairs
Microdata Namespaces
Further Reading
Open text modal
Community Questions
Close