tag <script> missing required attribute "type".

admin

Administrator
Staff member
I have entered in the following script into my web page but when I have it checked I receive the following message - Warning: tag <script> missing required attribute "type". Hint: use "type" attribute with "language" attribute

Can some one possibly let me know what I need to add to my script inorder that theis error does not occur.

<script language="JavaScript"><!--
// hide script
function mailer()
{
var sb_domain = "doncaster40.freeserve.co.uk"
var sb_user = "alan_grey"
var sb_recipient = sb_user + "@" + sb_domain
var sb_url = "mailto:"
window.location.href= sb_url + sb_recipient;
}
// -->
</script>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#" onClick="mailer()">E-mail</a>
 
Back
Top