Chapter 1

HTML, Say Hello to JavaScript

In This Chapter

arrow Understanding what JavaScript is

arrow Understanding how JavaScript fits in with HTML5

JavaScript is a text-based scripting language that’s interpreted by a client system to perform tasks in various settings. The most common setting is within browsers. A developer wants to do something special, such as accept input from a form, and JavaScript makes it possible.

JavaScript appears in many other places. For example, Windows has long allowed the use of JavaScript to create applications, and now it has an even bigger role with Windows 8. (See for details.) Special versions of JavaScript also support application development on the Macintosh. (See as an example.) In fact, you can even run Linux in a browser by using a JavaScript emulator. (See for details.) The point is that JavaScript is a language that appears in all sorts of places on many different operating systems. When you discover JavaScript, you open an exciting new world of programming that works on myriad platforms — a dream that developers have had for a very long time.

This book doesn’t explore ...

Get HTML5 Programming with JavaScript For Dummies now with O’Reilly online learning.

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