Year in and year out, you should update the copyright notices on your site(s). With just the following couple lines of JavaScript code in the footer area of your Web pages’ source code, your copyright dates can update automatically at the turn of each year:
<p>© <script language="JavaScript">
<!--
today=new Date();
year0=today.getFullYear();
document.write(year0);
//-->
</script>. All Rights Reserved.</p>
|
Notice that this example uses the © entity to display the copyright symbol (©).