Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Introduction to JavaScript: Fundamentals and Syntax, Study notes of Web Programming and Technologies

JavaScript

Typology: Study notes

2012/2013

Uploaded on 01/29/2013

bunkeraditya
bunkeraditya 🇮🇳

4

(2)

8 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
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 <script> and </script> tags.
Scripts can be put in the <body> and in the <head> section of an HTML page.
JavaScript in <head> or <body> :
You can place an unlimited number of scripts in an HTML document.
Scripts can be in the <body> or in the <head> section of HTML, and/or in both.
It is a common practice to put functions in the <head> 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 <script> tag:
External scripts cannot contain <script> tags.
********** The <script> Tag **********
To insert a JavaScript into an HTML page, use the <script> tag.
The <script> and </script> tells where the JavaScript starts and ends.
The lines between the <script> and </script> contain the JavaScript:

Partial preview of the text

Download Introduction to JavaScript: Fundamentals and Syntax and more Study notes Web Programming and Technologies in PDF only on Docsity!

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: