- Forums
- Javascipt
- A Hello World Example In Javascript Code
This Page Contains information about A Hello World Example In Javascript Code By web hosting in category Javascipt with 1 Replies. [2155], Last Updated: Mon Jun 24, 2024
web hosting
Sat Apr 19, 2008
1 Comments
438 Visits
this sample shows you javascript in action by loading an HTML document in your browser. the script writes a line of text in the broser using javascript.
step 1. open your text editor (like notepad if you have windows)
step 2. copy and paste the following code into a blank notepad
<HTML>
<BODY>
<SCRIPT Language="Javascript" type="text/javascript">
<!--
document.write ("Hello World. This Is A Webune Script Written In Javascript!");
//-->
</SCRIPT>
</BODY>
</HTML>
step3. save this file as
webune-javascript.html and open it with your web browser. you should see a single like of text that was written with Javascript
SUMMARY: in this small snippet. you coppied and pasted a section of code into a text editor and saved the file as
webune-javascript.html when you opened the saved file in your web bnrowser, a line of text was displayed in the browser. this text ws written inthe browser windows using javascript. you will see more about how this type of script works if you practice and learn more about javascript.
Javascript CODE IN ACTION
https://www.webune.com/forums/a-hello-world-example-in-javascript-code.html