Google News
logo
Javascript Introduction
JavaScript is the programming language of the Web. Javascript Most commonly used websites this is client-side script to interact with the user and make dynamic pages. All modern web browsers on desktops, tablets, and smart phones are using JavaScript. JavaScript is part of the triad of technologies that all Web developers must learn: HTML(Hyper Text Markup Language) to specify the content of web pages, CSS(Cascading Style Sheets) to specify the presentation of web pages, and JavaScript to specify the behavior of web pages.

JavaScript History:

In early 1995, Brendan Eich from Netscape, took charge of design and implementation of a new language for non-java programmers to give access of newly added Java support in Netscape navigator.


Advantages of JavaScript:

1. JavaScript is a lightweight, interpreted programming language and easy to learn.
2. JavaScript executes on client's browser, so eliminates server side processing.
3. JavaScript executes on any OS.
4. JavaScript can be used with any type of web page e.g. PHP, JAVA, ASP.NET, Perl etc.
5. Performance of web page increases due to client side execution.
6. JavaScript code can be minified to decrease loading time from server.

Basic Syntax :
<html>
<head>
   <title>Basic Javascript Syntax</title>
</head>
<body>
   
      <script language="javascript" type="text/javascript">
         
            document.write("Hello World!")
         
      </script>
      
   </body>
</html>
Output :