
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
JavaScript
Typology: Study notes
1 / 1
This page cannot be seen from the preview
Don't miss anything!
ECMA-262 is the official name of the JavaScript standard. JavaScript was invented by Brendan Eich.
JavaScript is the world's most popular programming language. It is the language for HTML and the web, for servers, PCs, laptops, tablets, smart phones, and more.
JavaScript is a Scripting Language A scripting language is a lightweight programming language. JavaScript is programming code that can be inserted into HTML pages. JavaScript inserted into HTML pages, can be executed by all modern web browsers.
Scripts in HTML must be inserted between tags. Scripts can be put in the
and in the section of an HTML page.JavaScript in
or :You can place an unlimited number of scripts in an HTML document. Scripts can be in the
or in the section of HTML, and/or in both. It is a common practice to put functions in the section, or at the bottom of the page. This way they are all in one place and do not interfere with page content.External JavaScripts :
Scripts can also be placed in external files. External files often contain code to be used by several different web pages. External JavaScript files have the file extension .js. To use an external script, point to the .js file in the "src" attribute of the tells where the JavaScript starts and ends. The lines between the contain the JavaScript: