JavaScript


What is Java Script?
  • Introduced in 1996 by the Netscape team and release with Netscape 2.0
  • Javascript was design to add interactivity to HTML documents
  • Javascript is a scripting language specially a client side scripting language
  • Javascript is usually embedded directly into HTML documents
  • Javascript is a dynamic type programming Language
  • Javascript supports all the browsers namely Internet Explorer, Mozilla Firefox, Google Chrome, Opera & Safari.
  • Javascript can be used to form verification
  • Javascript can be used to Basic document intelligence that can embed a base level of intelligence to the document by linking elements to script via events
  • Javascript can be used to document animation and automation
  • Everyone can be used to react to events
  • The standard was approved as an International ISO (ISO/IEC 16262) standard in 1998.
Syntax: 
<script language = "javascript" type = "text/javascript"
------
</script>

* Some earlier browsers are not supporting for Javascript  & display the code as body content. To prevent that, include javascript inside the HTML comment tag. Javascript supporting browsers interpret following & others hiding the code.
Ex: 
<script language = "javascript" type = "text/javascript">

<!--
document.write("This phrase inside the HTML Comment");
-->
</script>

No comments:

Post a Comment