What is javascript?

10 Apr 2014, 11:23 AM

JavaScript is the most popular programming language that is most commonly used for client-side web development. It is a scripting language and lightweight programming language. It is easy to learn and it provides easy way to get, delete, copy HTML elements. Here is the example of the JavaScript

 <div id="divHello"></div>

 <script type="text/javascript">

        var item = document.getElementById("divHello");
        item.innerHTML = "Hello World!";


Add the following code in the HTML page and write the javascript code inside the script tag <script type="text/javascript">

Related Contents

15 May 2014, 08:07 AM
C#, LINQ, List
15 May 2014, 07:54 AM
C#, LINQ, List
29 Apr 2014, 03:07 AM
C#, Generic
What is javascript

Date Posted 10 Apr 2014, 11:03 AM
Author Brainy Solutions
Views 2,105