Go Back   Wiki NewForum | Latest Entertainment News > Career Forum & Tips > Tech Forum & Tutorial > HTML Forum & Tutorial


HTML Scripts


Reply
Views: 2150  
Thread Tools Rate Thread
  #1  
Old 05-03-2009, 02:57 PM
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 80,566
Default HTML Scripts

Add scripts to HTML pages to make them more dynamic and interactive.
Examples

Insert a script
This example demonstrates how to insert a script into your HTML document.


Work with browsers that do not support scripts
This example demonstrates how to handle browsers that do not support scripting.
Insert a Script into HTML Page

A script in HTML is defined with the




The script above will produce this output:

Hello World!


Note: To learn more about scripting in HTML, visit our JavaScript School.
How to Handle Older Browsers

A browser that does not recognize the

VBScript:



The
Reply With Quote
  #2  
Old 05-03-2009, 02:57 PM
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 80,566
Insert a script
This example demonstrates how to insert a script into your HTML document.








Reply With Quote
  #3  
Old 05-03-2009, 02:58 PM
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 80,566
Work with browsers that do not support scripts
This example demonstrates how to handle browsers that do not support scripting.










A browser that does not support JavaScript will show the text in the noscript element.




Reply With Quote
Reply

New topics in HTML Forum & Tutorial





Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
WikiNewForum)