Saturday 4 August 2012

Javascript - What is Javascript?

For this tutorial you should already have a good knowledge of HTML and CSS.

What is Javascript?

Javascript is a scripting language that was designed to add interactivity on HTML web pages. A scripting language is a programming language that does not need to be compiled before its execution and is interpreted from the source code. That goes without saying that Javascript is therefore a scripting language is often embedded directly into the HTML page.
Don’t get confused with Javascript and JAVA! JAVA is a much more complex language and the two languages are significantly different in concept and design.

The Basics

The HTML <script> tag is used to embed Javascript into HTML pages and the HTML id attribute is used to identify the HTML elements.

What can Javascript be used for?

  • JavaScript can react to events
  • JavaScript can manipulate HTML elements
  • JavaScript can be used to validate data
  • JavaScript can be used to detect the visitor's browser 
  • JavaScript can be used to create cookies
You can view the video from Tutormeonline.co.za's Youtube channel

No comments:

Post a Comment

Please feel free to comment. No backlinks will be displayed.