As you know how can we integrate our javascript in our html code.
But in your html code that is a good programming practice to put your js code in head section.
Now Javascript statements :
Actually we use javascript basically for validation and change dynamic data.
In javscript if you want to print something the syntax for that is
document.write("Your message");
Example :
<script type="text/javascript">
document.write("This is my first statement for javascript");
</script>
It will print your message : This is my first statement for javascript.
But remember a thing Javascript is case-sensitive language
Comments
Post a Comment