JavaScript Introduction


JavaScript is a high-level, interpreted programming language which works client-side and easy to use because integrated with HTML.

 

JavaScript supports major browsers with various web technologies like asp.net, PHP etc. & allows to implement complex things on web pages.




Information
  • JavaScript was invented to do by Brendan Eich way back in 1995.
  • JavaScript works client-side.
  • JavaScript is a high-level, interpreted programming language.
  • JavaScript file that’s called from within a <Script> element, i.e., enclosed by <Script> tags.
  • JavaScript files are identified by the .js extension.
  • JavaScript is mostly used to interact with HTML objects.



What can be done by JavaScript ??


  • We can create the web applications.
  • We can Store useful values inside variables.
  • We can create Application Programming Interfaces (APIs).
  • It allows to add the user validation with web controls for a date, require, expression etc.
  • It can be used to develop Mobile Apps.
  • it uses in the Games application
  • It can perform the calculation in forms.
  • It allows to interacting with multiple frames.
  • It allows to change HTML content, HTML styles and HTML attributes.


Users


JavaScript tutorials are designed for the developers who would like to learn the basic of JavaScript and its concepts, In this tutorial, we will guide you how to learn and implement the basic JavaScript with example.


 

Prerequisites

 

Before to start JavaScript tutorials we request all users to have basic knowledge of JavaScript, HTML, CSS, and AJAX etc. which will help to quickly learn the tutorials of JavaScript that going forward to explain.


And it would be great if you have the knowledge of web technologies. We will explain web-based tutorials with the simple example where you can use this code in your own applications.


Execute JavaScript


The following is the basic example which displays how to use the JavaScript in the HTML page.



<html>
<head>
<script language="javascript" type="text/javascript">
document.write("Hello JavaScript!")
</script>
</head>
<body>
Display java Script Message !
<body>
</html>



Result


The above example will produce the result as shown below you can copy the above code and can try in your own application.



Hello JavaScript!