Simple Javascript

Here is a simple Javascript

<script type=”text/javascript”> document.write(”Hello World!”); </script>

Output:

Hello world

Also you can test this in your browser also

Just Copy this code and paste it in your browser

javascript: document.write(”Hello World!”);

Paste this in your address bar

This entry was posted on Saturday, February 23rd, 2008 at 5:30 pm and is filed under Javascripts. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Post a Comment