JavaScript Guid
JavaScript-client script
JavaScript is a scripting language that belongs to the network!
JavaScript is used by millions of web pages to improve design, validate forms, test browsers, create cookies, and more.
JavaScript is easy to learn.
JavaScript instance
My First Web Page
This is a paragraph.
Display Date
What is JavaScript?
JavaScript is designed to add interactive behavior to HTML pages.
JavaScript is a scripting language (scripting language is a lightweight programming language).
JavaScript consists of several lines of executable computer code.
JavaScript is usually embedded directly into HTML pages.
JavaScript is an interpretive language (that is, code execution is not precompiled).
All people can use JavaScript without purchasing a license.
Client script
JavaScript “formulates” browser behavior. This is called client script (orbrowser script).
Server-side scripts are “tailored” to the behavior of the server (see the ASP / PHP tutorial on this site).
What can JavaScript do?
JavaScript provides a programming tool for HTML designers. HTML creators areoften not programmers, but JavaScript is a scripting language with extremely simple syntax! Almost everyone has the ability to put short code snippets into their HTML pages.
JavaScript can put dynamic text into a HTML page a JavaScript declaration like this can put a variable piece of text into a HTML page: document.write (”< H1 >” + name + “< / H1 >”)
JavaScript can respond to events by setting the JavaScript to be executed only when an event occurs, such as when the page loads or when the user clicks on a HTML element.
JavaScript can read and write HTML elements JavaScript can read and change the contents of HTML elements.
JavaScript can be used to validate data JavaScript can be used to validate data before it is submitted to the server.
The browser that JavaScript can be used to detect visitors JavaScript can beused to detect visitors and load the corresponding page for the browser according to the detected browser.
JavaScript can be used to create a cookies JavaScript that can be used to store and retrieve information located on the visitor’s computer.
What is HTML DOM?
HTML DOM defines a standard way to access and manipulate HTML documents.
DOM expresses HTML documents as tree structures.
HTML DOM Tree instance
How to learn JavaScript?
Access the complete JavaScript tutorial
Access the complete HTML DOM tutorial
Access the complete JavaScript and HTML DOM reference manual