Saturday, 29 August 2015

Html Javascript

Html Javascript:

Javascript make html pages attractive and dynamic.

Html <script> Tag:

<script> tag is used to define client side script just like Javascript.
<script> element contains scripting statement or external script file through src attribute.
Uses of javascript are image manipulation,form validation and dynamic changes of content.
Script below writes Hello javascript into html element with id="demo",

Example:


Html <noscript> Tag:

<noscript> element only be displayed if scripts are not supported or disabled in user's browser.

Example:


Taste Of Javascript:

Here are some examples:

Javascript can change Html content:


Javascript can also change Html style:


Javascript can change Html attributes:


Html script tags:


No comments:

Post a Comment