Recently, with the advent of the XHTML (Extensible HTML) standard, the <script/> tag has also undergone some changes. This tag no longer uses the language feature, but uses the type feature to declare the mime type of embedded code or external file to be added. The mime type of JavaScript is "text/javascript". For example:
Sample code [www.CuoXIn.com]