Home arrow HTML arrow HTML5 Boilerplate: Working with jQuery and Modernizr
HTML

HTML5 Boilerplate: Working with jQuery and Modernizr


This article concludes a two-part tutorial on the many benefits of using HTML5 Boilerplate. As you'll see, its “style.css” and “index.html” files are real time-savers, especially when you're building HTML5 websites that need to be rendered cohesively across most modern browsers.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 3
February 01, 2012
TABLE OF CONTENTS:
  1. · HTML5 Boilerplate: Working with jQuery and Modernizr
  2. · Exploring HTML5 Boilerplate's

print this article
SEARCH DEVARTICLES

HTML5 Boilerplate: Working with jQuery and Modernizr
(Page 1 of 2 )

Let’s face it: developing HTML5 websites that can be rendered consistently across most mainstream browsers is a challenging task (even for experienced developers). The standard is still immature, and many browsers do not support certain features of the specification. It's no surprise that Internet Explorer is the worst offender here. 

Fortunately, there are a few tools that will help you to make the development process much less painful, trust me. A good example of such a tool is HTML5 Boilerplate. This powerful, full-featured HTML5 template permits you to deal more easily with the aforementioned inconsistencies by providing you with a set of fine-tuned default files, aimed at efficiently handling different aspects of your website, including its visual presentation, behavior and even what parts of it should be cached for offline access via the so-called Cache Manifest. Quite impressive, right?

Of course, if you've already read the previous article, you know the advantages that HTML5BP provides right out of the box. In that piece I took an in-depth look at its default “style.css” file. This file comes bundled with a hard-to-beat set of rules for assigning default styles to HTML elements (including the brand new HTML5 ones), dealing with image replacement, clearfixes, and even hidden elements.

As I said in the introductory part, HTML5BP will let you do a few other clever things. These include performing Progressive Enhancement and Graceful Degradation with jQuery and Modernizr, the two most popular JavaScript libraries available today. In this final chapter I’ll be discussing the fine details of how HTML5BP handles these libraries behind the scenes, so that you can take advantage of them in no time.


blog comments powered by Disqus
HTML ARTICLES

- Does HTML5 Need a Main Element?
- Revisiting the HTML5 vs. Native Debate
- HTML5: Not for Phone Apps?
- HTML5 or Native?
- Job Hunting? Freelancer.com Lists This Quart...
- HTML5 in the News
- Report: HTML5 Mobile Performance Lags
- The Top HTML5 Audio Players
- Top HTML5 Video Tutorials
- HTML5: Reasons to Learn and Use It
- More of the Top Tutorials for HTML5 Forms
- MobileAppWizard Releases HTML5 App Builder
- HTML5 Boilerplate: Working with jQuery and M...
- HTML5 Boilerplate Introduction
- New API Platform for HTML5

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials