<html> <body> <script language="JavaScript"> document.getElementById("myLink").name = "par3"; </script> <a href="#par3">Go to paragraph # 3 in this page</a> <a id="myLink">www.java2java.com</a> </body> </html>