Skip to Content
JavaScript and Ajax for the Web, Sixth Edition: Visual QuickStart Guide
book

JavaScript and Ajax for the Web, Sixth Edition: Visual QuickStart Guide

by Tom Negrino, Dori Smith
August 2006
Beginner
512 pages
11h 8m
English
Peachpit Press
Content preview from JavaScript and Ajax for the Web, Sixth Edition: Visual QuickStart Guide

Chapter 2. Start Me Up!

Enough of the warm up; it’s time to get scripting. In this chapter, you’ll learn where to put your scripts in your HTML; how you can leave comments in your scripts so that you can more easily understand them at a later time; and how you can use scripts to communicate with the user. You’ll also see how to make the page automatically change to another page (called redirection). Let’s get to it!

Table 2.1. Just Enough HTML—The Basics

Tag

Attribute

Meaning

html

 

Contains the HTML part of the Web page

head

 

Contains the header part of the Web page

script

 

Contains the Web page’s script or a reference to the external script file. Usually JavaScript, but not always.

 

language

The programming language for the script. This attribute has been ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

You might also like

Javascript for the World Wide Web: Visual Quickstart Guide, Fifth Edition

Javascript for the World Wide Web: Visual Quickstart Guide, Fifth Edition

Tom Negrino, Dori Smith

Publisher Resources

ISBN: 0321430328Purchase book