CHAPTER 5

image

Scripting Enhancements

In this chapter I will demonstrate a few miscellaneous improvements that affect the scripting aspect of web development. So far, I have introduced the markup changes and the CSS enhancements. Scripting is the third leg of the overall HTML5 umbrella and a significant amount of attention was given to this area. This chapter will explain some improvements that have broad application, specifically:

  • Query selectors
  • Web workers
  • Bundling and minification

Bundling and minification is not actually part of HTML5 but is a new feature of Visual Studio 2012. It is really easy to use and can make your page load much faster. ...

Get Pro HTML5 with Visual Studio 2012 now with O’Reilly online learning.

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