JAVA SCRIPT

‡Java script is the scripting language of the web. ‡Java script is used in million of web pages to add functionality, validate forms, detect browsers and much more.

‡ Js is an interpreted language (means that script execute without preliminary compilation) ‡ Everyone can use Js without purchasing a license. .What is a JAVA SCRIPT? ‡ Js was designed to add interactivity to HTML pages. ‡ Js is a scripting language-is a light weight programming language. ‡ Js is usually embedded directly into HTML pages.

Are Java and Java Script the same ‡ No ‡ Concept and Design-completely different ‡ Powerful & complex programming language (same as c & c++) .

JS can put dynamic text into an HTML page.What can a Java Script do? ‡ ‡ ‡ ‡ ‡ ‡ JS gives HTML designers a programming tool. JS can be used to create cookies . JS can read and write HTML elements. JS can be used to validate data. JS can be used to detect the visitors browser.

Example 1 <html> <body> <script type=³text/Javascript´> document. </script> </body> </html> .write(³Hello world´).

Sign up to vote on this title
UsefulNot useful