How to use this book

Throughout the book, we’ve used some devices that should make it easier for you to work with both the book and with JavaScript itself.

In the step-by-step instructions that make up most of the book, we’ve used a special type style to denote either HTML or JavaScript code, like this:

<div align="center">
window.onload = initLinks;

You’ll also notice that we show the HTML and the JavaScript in lowercase. We’ve done that because all of the scripts in this edition are compliant with the XHTML 1.0 Transitional standard from the W3C, the World Wide Web Consortium. Whenever you see a quote mark in a JavaScript, it is always a straight quote (like ‘ or “), never curly quotes (aka “smart” quotes, like ’ or “). Curly quotes will prevent ...

Get JavaScript and Ajax for the Web: Visual QuickStart Guide, Seventh 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.