Tuesday, November 2, 2010

The HTML script Element

The <script> tag is used to define a client-side script, such as a JavaScript.
The script element either contains scripting statements or it points to an external script file through the src attribute.
The required type attribute specifies the MIME type of the script.
Common uses for JavaScript are image manipulation, form validation, and dynamic changes of content.
The script below writes IRENG BLOG! to the HTML output:

 <script type="text/javascript">
document.write("IRENG BLOG!")
</script>

TRY IT...

0 komentar:

Post a Comment