What is javascript?
JavaScript is an interpreted programming or script language from Netscape. It is somewhat similar in capability to Microsoft'sVisual Basic, Sun's Tcl, the UNIX-derived Perl, and IBM's REXX. In general, script languages are easier and faster to code in than the more structured and compiled languages such as C and C++. Script languages generally take longer to process than compiled languages, but are very useful for shorter programs.
JavaScript is the programming language of HTML and the Web.Programming makes computers do what you want them to do.JavaScript is easy to learn.This tutorial will teach you JavaScript from basic to advanced.
Example of javascript:
<html>
<head>
<title>Javascript</title>
</head>
<body>
<script type="text/javascript">
//This for link
function link(){
window.open('http://www.google.com','_self');
}
</script>
<input type="button" value="Goto Google" onclick="link()">
</body>
</html>
No comments:
Post a Comment