How can I set an input element to be immediately ready for the user to type in, i.e, they do not have to click on the input to start typing, as soon as it renders, it displays the flashing vertical line and enables them to type straight away?
Asked
Active
Viewed 27 times
0
-
Did you use `autofocus` attribute – Ahmet Zeybek Jan 30 '20 at 10:55
2 Answers
1
You should use the attribute autofocus like in this example: https://www.w3schools.com/tags/att_input_autofocus.asp

Troy Kessler
- 377
- 1
- 8