Chapter 21. JavaScript

In This Chapter

  • What JavaScript Can Do for You

  • Reviewing JavaScript's Objects

  • JavaScript's Events and Handlers

  • JavaScript's Language Is Complete

JavaScript enables you to add multimedia capabilities to your Web site. JavaScript is linked to DHTML, as you learned in Chapter 18, “Dynamic HTML,” but it is a separate entity from DHTML. Although DHTML relies on JavaScript, DHTML is a collection of technologies that surpasses HTML alone. By itself, JavaScript is a script-based programming environment that you use to spruce up Web sites and make those sites more interactive.

  • JavaScript is loosely based on the Java programming language.

  • A Web page can contain a JavaScript scriptlet that executes in response to the user's actions. ...

Get Absolute Beginner's Guide to Programming, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.