B. An Active jQuery Website

As you learn to develop with jQuery, you’ll find that code organization, documentation, and readability should be first and foremost when it comes to putting your websites and web applications together.

This appendix can be your guide to keeping things straight as well as giving you a starting point for any web project you might create with jQuery, HTML5, and CSS.

You’ll also find the information for laying out downloadable code examples available from www.jayblanchard.net.

HTML5 Boilerplate

Two examples are provided: one is really basic and includes the use of the Google CDN, and the other is a fallback in the event the CDN is not available. Here’s the markup for the basic template (Script basic_html5.html):

<!DOCTYPE ...

Get jQuery and jQuery UI: Visual QuickStart Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.