>> KYSCORP.COM TUTORIALS >> CSS Tutorials
Script tags in HTML
In this tutorial you will learn the meaning of the tags related to scripts in
HTML:
Tag |
Description |
|---|---|
| <script> | Defines a script |
| <noscript> | Defines an alternate text if the script is not executed |
| <object> | Defines an embedded object |
| <param> | Defines run-time settings (parameters) for an object |
| <applet> | Deprecated. Use <object> instead |
| Examples: | |
Language |
Tags |
| Javascript | <script language="JavaScript" type="text/JavaScript"></script> |
| VBScript | <script language="VBScript" type="text/VBScript"></script> |
| PHP | <script language="PHP"></script> |
Example with Javascript:
<script type="text/javascript">
document.write("Welcome to Kyscorp Tutorials !!")
</script>This will gives: Welcome to Kyscorp Tutorials !!