Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

JavaScript Guide

JavaScript Guide


JavaScript - client-side scripting

JavaScript is the scripting language of the web!

JavaScript is used by millions of web pages to improve design, validate forms, detect browsers, create cookies, and more.

JavaScript is easy to learn

JavaScript examples

My first JavaScript program

This is a paragraph

Try it »

Click the "Try it" button to view the online example.


What is JavaScript?


Client-side scripting

JavaScript "governs" browser behavior; this is called client-side scripting (or browser scripting).

Server-side scripting "governs" server behavior (see our ASP / PHP tutorials on this site).


What can JavaScript do?


What is the HTML DOM?

The HTML DOM defines the standard methods for accessing and manipulating HTML documents.

The DOM represents an HTML document as a tree structure.

HTML DOM Tree example


How to learn JavaScript?

Visit the complete JavaScript tutorial

Visit the complete HTML DOM tutorial

Visit the complete JavaScript and HTML DOM reference manual