sign in

 



Forgot your password?

signup

Why sign up?
- One account for five websites!
- Free access to Premium Codes
- Acess to cool web tools
- Ask and answer questions
- Stay ahead of other web developers
- and MUCH MORE!




You can also sign up by your facebook account!
Feel The Power

Javascript Tutorial: Begin!

Before starting, lets have a review of our new web and windows developing blogs:
Learn and use HTML5 step by step: HTML5 Tutorial
Manage your site for the search engines and learn Search Engine Optimization: SEO Tutorial
Learn and develope windows application by VB.Net: Visual Basic



JavaScript Introduction

What is JavaScript?

It is a web programming language that has a communication with HTML elements and their values. It can add or remove some effects to them and handle events which happen in the page. JavaScript is client side language, i.e. it is ran on visitors’ computers, not on a web server. So when you run a clock script with Java, it gets the time from the visitor computer clock.

What are the differences between Java and JavaScript?

It is better to ask what are the similarities except the name? Java is a language that can create special objects for being inserted in a web page as an 'Applet' and is more complex language than JavaScript. JavaScript is a language inserted directly among HTML codes and no compiling or extra resources are needed to get ran. But, Java needs its package to be downloaded and installed on your computer.

Introduction (JavaScript and HTML):

Before you can start JavaScript programming, you must know HTML coding. You must create your own page by one HTML editor (such as notepad) as we have said in HTML tutorial. Tables, anchors, images, forms, paragraphs, divs and etc. are HTML elements and designed by HTML language; Then it’s the time to put your java codes to make your page more intelligent; No extra editor or component is needed. You can also let visitors to edit your HTML codes with JavaScript!

JavaScript codes are usually added in the <head> part of the HTML pages. To start JavaScript tag, follow this structure:

Code

<html>
  <head>
    <script>
     
    </script>
  </head>

  <body>

  </body>
</html>

Between the red tags is the place to put the JavaScript expressions. Notice that the line formation is not important (you can write all codes in one line!) and the codes are sensitive to the capital and small letters.

We will introduce the codes step by step during our lessons . . .



counter

samie293 Posted on 10 January, 2014 - 06:26 PM 1
excellent tutorials
 

You can leave comments once you sign in/up.




Review

Please Rate this!
VISITORS
Online Users: 1
Total Online Users: 12
Recent Members: ajaypromo, andrew_kerr,
FIND US

LINK US

Link to us:

Please put this code in your page.