Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
input types - "autofocus" attribute
<form action="#">
First name: <input type="text" name="firstname" autofocus><br>
Last name: <input type="text" name="lastname"><br>
<input type="submit">
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.