Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
no more draft, no more neeeds-work posts!
fluffed + flushed
- Loading branch information
Showing
6 changed files
with
69 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
--- | ||
title: Auto-focus an input element | ||
tags: [HTML5] | ||
tags: [HTML5, Code] | ||
goal: Front-End Engineering | ||
date: 2019-06-11 | ||
needs-work: flesh out | ||
categories: [code] | ||
summary: pretty much exactly what it sounds like, no JS necessary | ||
|
||
--- | ||
|
||
autofocus HTML attribute | ||
Not that hard / no Javascript necessary / I am trash man / | ||
410,757,864,530 DEAD BROWSERS | ||
|
||
{{< highlight html >}} | ||
|
||
<form action="/api/v1/gusset"> | ||
Tribadist: <input type="text" name="first" autofocus> | ||
<input type="submit"> | ||
</form> | ||
|
||
{{< / highlight >}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters