Pentru descarcare , inregistreaza-te ! Au fost introduse noi Hack-uri 2015 !





What is JavaScript?

Go down

What is JavaScript?

Post by Sfinx on Thu Nov 29, 2012 10:54 am

Articol original engleza.
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 your 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’. It is more complex language than JavaScript. JavaScript is a language inserted directly among HTML cods and no compiling or extra resources is 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 added in the part of 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 JavaScript expressions. Notice that the line formation is not important (you can write all codes in one line!) and the codes are sensitive to capital and small letters.


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



Code name: Mozilla
App name: Opera
Version: 9.80 (Windows NT 5.1)
Language: ro
Plateform: [You must be registered and logged in to see this image.] windows
User Agent: Opera/9.80 (Windows NT 5.1) Presto/2.12.388 Version/12.14


[You must be registered and logged in to see this link.]

Sign by Danasoft - [You must be registered and logged in to see this link.]

avatar
Sfinx
Administrator
Administrator

Mesaje Mesaje : 1440
Data nasterii Data nasterii : 25/02/1995
Localizare Localizare : Timisoara
Server Server : Bine

http://metin2hacks.bossforum.net/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum