Monday, November 8, 2010

Getting Started

JavaScript code is written anywhere inside the <html> tags of your page. The beginning of your code begins with

JavaScript is a language of objects, and all objects have both methods and properties. "Document" is just one of the many objects. It is the object that controls the layout of a webpage-background color, text, images etc.

Document Object has the following properties:
bgColor
lastModified
referrer
fgColor

No comments:

Post a Comment