November 2001
Intermediate to advanced
936 pages
68h 43m
English
HTMLAnchorElement.focus( ) — make a link or anchor visible and give it keyboard focus
DOM Level 1 HTML
void focus( );
This method scrolls the document so the specified anchor or hyperlink is visible. If the element is a hyperlink and the browser allows hyperlinks to have keyboard focus, this method also gives keyboard focus to the element.