HTML and JavaScript

  • Russ Ferguson
  • Christian Heilmann


In this chapter, you finally get your hands dirty in real JavaScript code. You’ll learn how JavaScript interacts with the page structure—defined in HTML—and how to receive data and give back information to your visitors. I start with an explanation of what an HTML document is and how it is structured, and then I explain several ways to create page content via JavaScript. You’ll then hear about the JavaScript developer’s Swiss Army knife—the Document Object Model (DOM)—and how to separate JavaScript and HTML to create now-seamless effects that developers used to create in an obtrusive manner with DHTML.


Child Node List Item User Agent Error Message Text Content 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Russ Ferguson 2013

Authors and Affiliations

  • Russ Ferguson
    • 1
  • Christian Heilmann
    • 2
  1. 1.NJUnited States
  2. 2.LOUnited Kingdom

Personalised recommendations