<!doctype html> <html> <body onload="document.links['foo'].focus();"> <a name="foo" href="test1.html">Link</a> </body> </html>