Book description
Practical HTML5 Projects is a collection of valuable web techniques that any developer or designer can use. This book is all about saving time. Busy web developers should not have to plow through pages of theory or history only to discover that no practical applications are provided, nor should they have to read a paragraph five times to extract some meaning from it. All of the techniques within this book are explained using fully worked examples that you can immediately apply to your own projects.
With each technique the book provides:
A practical and useful example (and a screen shot of the end result where applicable).
The markup for a fully worked example.
A downloadable template to adapt for use in your own websites.
With Practical HTML5 Projects, you can dive straight into the book at the required chapter and immediately find answers to your website problems, and find the sample code you can use to get it right. Start creating websites using the practical examples, summaries, and templates.
This book includes topics such as rollover navigation menus without scripts, adding audio and video, rounded corners, drop shadows, adding PayPal services, and much more. It also includes sections on troubleshooting and transitioning to HTML5 and CSS3 to help bring your existing content up to date.
Table of contents
- Title
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
-
Chapter 1: Moving to HTML5
- Moving to HTML5
- The New Elements in HTML5
- Simple Examples of Page Layout with Semantic Tags
- The Solution for Internet Explorer 7 and 8
- The <nav> Tag
- A More Complex Example Using Semantic Tags
- The <section> vs. <article> Controversy
- The <aside> Tag
- The <mark> Tag
- The <figure> Tag
- The <hgroup> Tag
- The New HTML5 Form Controls
- SVG Images
- The <details> and <summary> Tags
- APIs (Application Programming Interfaces)
- A Strategy for Moving to HTML5
- Summary
- Chapter 2: A Rollover Picture Gallery
-
Chapter 3: Backgrounds
- Overview
- Create Gradient Backgrounds
- A Background Header Image
- Overlay a Background Image with Text
- Superimpose an Image on the Header
- What About Backgrounds in Semi-Liquid Layouts?
- Transparent Backgrounds
- Background Bullets
- Multiple Backgrounds Using HTML5 and CSS2
- Multiple Backgrounds Using CSS3
- Multiple CSS2 and Images in a Real-World Page
- The Rules for CSS Background Images
- Summary
- Chapter 4: Rollover Menus
- Chapter 5: Moving to CSS3
- Chapter 6: Audio, Video, and Slide Shows
- Chapter 7: Rounded Corners
- Chapter 8: Drop Shadows
- Chapter 9: Create Collages and Galleries
- Chapter 10: Add PayPal
-
Chapter 11: Secure Feedback Methods
- Enciphering Email Addresses to Prevent Spam
- A Minor Problem Solved
- Secure Feedback Forms
- An Example of a Hack-Proof Feedback Form
- The Form Handler and Its Anti-Hack Filters
- For the Curious: An Explanation of Some of the PHP Code
- The “Thank You” Page and the Error Messages
- The New HTML5 Form Controls
- Using CAPTCHA
- Summary
-
Chapter 12: Monitor Mayhem
- Monitors and the Problem of Color Rendition
- Monitor Sizes and Screen Resolutions
- Monitors and the Problem with Fixed-Width Layouts
- Monitors and the Problem with Liquid Layouts
- Monitors and Semi-Liquid Layouts
- An Acceptable Compromise
- Other Monitor-Related Considerations
- Will the Web Site Work on a Handheld Device?
- Summary
- Chapter 13: Appearance and Usefulness
-
Chapter 14: Accessibility
- Laws and Guidelines
- Help for the Partially Sighted and Color Blind
- General Advice
- Testing Your Web Sites for General Accessibility
- Screen Readers for the Blind and Severely Visually-Impaired
- Data Tables and Screen Readers
- Screen Readers and Feedback Forms
- Screen Readers for HTML5, XHTML5, and CSS3
- Testing Your Web Site for Screen Reader Accessibility
- Summary
- Chapter 15: Dump Those Deprecated Items
-
Chapter 16: Search Engine Optimization
- Overview
- Beware of False Promises
- Page Rank and Popularity
- Keywords and Phrases
- Choosing Keywords and Phrases
- Well-Designed Internal Links
- External Links to Your Site
- Things You Should Never Do
- A Web Site Containing No Search Engine Optimization
- Sitemaps Help SEs Index a Web Site
- Let People Know That Your Web Site Exists
- Summary
- Chapter 17: Printing, Counting, and Redirecting
- Chapter 18: Validation
-
Chapter 19: Troubleshooting
- Testing Your Pages
- If a Browser Treats the Page As If It Has No DOCTYPE
- If You Have Positioning Problems
- If You Have a Horizontal Menu Problem
- If You Have a Server Problem
- If You Have a Browser Variation Problem
- Should We Troubleshoot Problems with IE 6 and Other Older Browsers?
- Browsers Can Have Minor Display Differences
- If Strange Symbols Appear on the Screen
- If You Changed the CSS, but It Looks the Same
- If You Experience Float Drop
- If an HTML5 Page Has No Styling in IE 7 and IE 8
- If Data Tables Have Double Borders
- If the Site Owner Is Not Receiving Replies from the Secure Feedback Form
- Summary
- Appendix: Quick Reference, Techniques, and Useful Data
- Index
Product information
- Title: Practical HTML5 Projects
- Author(s):
- Release date: May 2012
- Publisher(s): Apress
- ISBN: 9781430242758
You might also like
book
HTML5 in Action
HTML5 in Action provides a complete introduction to web development using HTML5. You'll explore every aspect …
book
HTML5 Solutions: Essential Techniques for HTML5 Developers
HTML5 brings the biggest changes that HTML has seen in years. Web designers and developers now …
book
HTML5 Web Application Development By Example Beginner's guide
Learn how to write rich, interactive web applications using HTML5 and CSS3 through real-world examples. In …
book
HTML5: Up and Running
If you don't know about the new features available in HTML5, now's the time to find …