0
Explain autofocus attribute
SoloLearn don't teach this attribute well ! So , Could you help me and teach this attribute ? Thanks 🎃 🎉 .
3 Answers
+ 2
It is mainly used for input tag
If autofocus is true for input tag it will focused as soon as page loaded .
By default is focused when we click on it.
+ 1
textarea is the element with which it is used so that when you add text to it,it will be focused automatically
0
Simply, In the 'form' we see the plain boxes, right? When u don't use autofocus u have to click on that empty box to type the txt.
When u use autofocus, u don't have to click on the box, it'll automatically blink the cursor in that empty box, u have to just type the txt.
Hope u got it. 👍🏻
Hot today
I have made a calculator in which my % (Percentage) not work correctly for 100%50 or 100%20.
3 Votes
Python palindrome challenge.
1 Votes
Java
0 Votes
Number of Ones ( C++ ) question!
1 Votes
For Moderators
1 Votes