Pages

Wednesday, December 19, 2012

JAVA SCRIPT IN HTML WRITING

OK THIS IS A LITLE BIT HARD BUT LEARNING FAST IS A COOL THING


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 Hello World! to the HTML output:


<script>
document.write("Hello World!")
</script>




No comments:

Post a Comment