Contact Our Development Team
Free Code Tutorials & Open Source Code
JavaScript - The Basics
Tutorials > JavaScript
What is JavaScript

JavaScript is a scripting language designed to add interactivity to web pages. It is supported by all major web browsers, as well as many modern mobile devices such as phones and PDAs. JavaScript code is usually written within an HTML page, or in a separate file which is then referenced from that page.

Note that JavaScript is not the same as Java. Java is a fully-fledged programming language, comparable to C++, with a very different purpose and structure.

Prerequisites
Before starting this tutorial, you should:
  • Have a good knowledge of HTML.
  • Make sure that JavaScript is enabled in your web browser.
Page Responses
Posted: 24th September at 4:41pm
Hello World
<html>
<body>

<script type="text/javascript">
document.write("Hello World!");
</script>

</body>
</html>
If you have anything to contribute to this tutorial, found a bug, or know a better way of achieving the same goal, please leave your response below.
     
Copyright ©2009, Wired IDS Ltd. | Licensed under Creative Commons Attribution Share-Alike | Load time: 0.3016 seconds