adsense


Saturday, 7 November 2015

VB SCRIPT IN BODY AND BODY SECTION PAGE 37

COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button




VB SCRIPT IN <BODY> AND </BODY> SECTION




VBScript in <body>...</body> section 


If you need a script to run as the page loads so that the script 
generates content in the page, the script goes in the <body> 
portion of the document. In this case, you would not have any function defined using VBScript: 
<html> 
<head> 
</head> 
<body> 
<script type="text/vbscript"> 
<!-- 
    document.write("Hello World") 
//--> 
</script> 
<p>This is web page body </p> 
</body> 
</html> 
It will produce the following result: 
Hello World 
This is web page body  


No comments: