Site icon Shaharia's Blog

What is JavaScript?

[adsense_id=”4″]

JavaScript is a scripting programming language most commonly used to add interactive features to webpages.

JavaScript is not it’s official name. The official name of JavaScript is ECMAScript. It is developed and maintained by ECMA Organization.

Sample JavaScript code

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head><title>simple page</title></head>
  <body>
    <script type="text/javascript">
      document.write('Hello World!');
    </script>
    <noscript>
<p>Your browser either does not support JavaScript, or you have JavaScript turned off.</p>
    </noscript>
  </body>
</html>
[adsense_id="2"]
Exit mobile version