Contents
Acknowledgments........... ix
Preface.............. xi
- An Overview of HTML5 and CSS3........ 1
1.1 A Stronger Platform for Web Development 1
1.2 The Road to the Future Is Bumpy 5
Part I — Improving User Interfaces
- New Structural Tags and Attributes....... 13
Tip 1. Redefining a Blog Using Semantic Markup 15
Tip 2. Showing Progress toward a Goal with the
Element 26
Tip 3. Creating Pop-Up Windows with Custom Data
Attributes 30
Tip 4. Defining an FAQ with a Description List 34 - Creating User-Friendly Web Forms....... 37
Tip 5. Describing Data with New Input Fields 39
Tip 6. Jumping to the First Field with Autofocus 49
Tip 7. Providing Hints with Placeholder Text 50
Tip 8. Validating User Input without JavaScript 54
Tip 9. In-Place Editing with contenteditable 59 - Styling Content and Interfaces........ 67
Tip 10. Styling Tables with Pseudoclasses 69
Tip 11. Making Links Printable with :after and content 78
Tip 12. Building Mobile Interfaces with Media Queries 81
Tip 13. Creating Multicolumn Layouts 84
Download from Wow! eBook <www.wowebook.com>