How To Display Or Show Text On Html Using Javascript Document.write()
how to display or show text on html using javascript document.write()
how, to, display, or, show, text, on, html, using, javascript, documentwrite
How To Display Or Show Text On Html Using Javascript Document.write()
Post Description: how to display or show text on html using javascript document.write()
POST# 1197
Posted On: Sat Apr 19, 2008 7:15 pm
web hosting
Topic: How To Display Or Show Text On Html Using Javascript Document.write()
as a php programmer i know that to display information on the screen i can use echo or print

but since i am new to javascript this is how you can show or display the text on the browser in your web page with javascript

<SCRIPT language="javascript" type="text/javascript">
<!--
document.write ("Wello Webune, Javascript is Cool!");
//-->
</SCRIPT>


so basically to show the output you use the document.write() function

the above sample code will ouput this on your broswer:

Wello Webune, Javascript is Cool!


No Repies
(0) Comments for How To Display Or Show Text On Html Using Javascript Document.write()

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload
     
  1. Putting Javascript In An HTML File
  2. Where Do You Put Javascript Code? HEAD OR BODY?
  3. How To Use The HTML SCRIPT Tags In Javascript
  4. How To Attached External Javascript Scripts
  5. How To Hide Javascript Code From Older Browsers
  6. How To Create Your First Javascript Web Page
  7. How To Insert Javascript Code Into HTML Pages
  8. How To Display Or Show Text On Html Using Javascript Document.write()