Visit Mozilla.org

Core JavaScript 1.5 Reference:About:Formatting Conventions

From MDC

JavaScript applications run on many operating systems; the information in this book applies to all versions. File and directory paths are given in Windows format (with backslashes separating directory names). For Unix versions, the directory paths are the same, except that you use slashes instead of backslashes to separate directories.

This book uses uniform resource locators (URLs) of the following form:

http://server.domain/path/file.html

In these URLs:

  • server represents the name of the server on which you run your application, such as research1 or www
  • domain represents your Internet domain name, such as netscape.com or uiuc.edu
  • path represents the directory structure on the server
  • file.html represents an individual file name

In general, items in italics in URLs are placeholders and items in normal monospace font are literals.

This book uses the following font conventions:

  • The monospace font is used for sample code and code listings, API and language elements (such as method names and property names), file names, path names, directory names, HTML tags, and any text that must be typed on the screen. (Monospace italic font is used for placeholders embedded in code.)
  • Italic type is used for book titles, emphasis, variables and placeholders, and words used in the literal sense.
  • Boldface type is used for glossary terms.