For RunBasic 1.0, there is no method to set the focus for a link. The following subroutine will do this using JavaScript:

sub setLinkFocus id$
    html "<script type='text/javascript'> document.getElementById('" + id$ + "').focus() </script>"
end sub

This subroutine will set the focus of a link using the RunBasic handle. For example:
call setLinkFocus "#logIn"

David den Haring.
Simple Computing Blog