Tuesday 3 May 2016

JScript Introduction and how to write a JavaScript?

JavaScript was released by Netscape and Sun Microsystems in 1995. JavaScript is not the same thing as Java.



What is a Java Script?

  • It is a programming language.
  • It is an interpreted language. 
  • It is object-based programming. 
  • It is widely used and supported .
  • It is accessible to the beginner. 
Uses of JavaScript 
  • Use it to add multimedia elements With  JavaScript you can show, hide, change, resize images, and create image rollovers.  You  can create scrolling text across the status bar. 
  • Create pages dynamically Based on the user's choices, the date, or other external data, JavaScript can produce pages that are customized to the user. 
  • Interact with the user It can do some processing of  forms and can validate user input when the user submits the form.
Javascript is a dynamic computer programming language.It is lightweight and most commonly used as a part of web pages, whose implementations allow client-side script to interact with the user and make dynamic pages.

JavaScript was first known as LiveScript, but Netscape changed its name to JavaScript, possibly because of the excitement being generated by Java. 

JavaScript made its first appearance in Netscape 2.0 in 1995 with the name LiveScript. The general-purpose core of the language has been embedded in Netscape, Internet Explorer, and other web browsers.

=> JavaScript can be implemented using JavaScript statements.













Desrption About Attributes

  • Language: This attribute specifies what scripting language you are using. Typically, its value will be javascript. Although recent versions of HTML (and XHTML, its successor) have phased out the use of this attribute. 
  • Type: This attribute is what is now recommended to indicate the scripting language in use and its value should be set to "text/javascript".

No comments:

Post a Comment