Hacker News new | ask | show | jobs
by extra88 1806 days ago
Focus can also be set automatically on page load by adding the HTML ‘autofocus’ attribute to the input field.