<SCRIPT> and </SCRIPT>

DescriptionAttributes Examples

Description:

Defines a script which may be used within a document. A script contains code which is executable.

Attributes:

language=name
Indicates the language of the script. Netscape supports "JavaScript" and Internet Explorer supports "Javascript" and "vbscript". You may also include a version number to precisely inform the browser the support you need for the script. An example of this is "Javascript1.1".
src="url"
Indicates that the Javascript code is contained in an external file.

 

Examples:

<script language="Javascript">
<!--
function reload() {
location.href = location.href
}
setTimeout("reload()", 900000);

//-->
</script>

 

Internet Tips Contents
404 Errors Advertising Autoresponse Awardmaster Basics Browsers Careers Chatting Disasters Domains Email Emoticons Ezines Free Stuff Fun Stuff FTP Graphics Homepages HTML Reference HTML Tutorial Interactive Legal Links Msg Boards Microsoft Money Multimedia Networks Newsgroups Newsletter Products RFC's Ringmaster Searches Security Sticky Sites Surfing TANSTAAFL Telnet Viral Webmaster Your System