0
autofocus
i can't understand the concept of autofocus. What's need to use it.
1 ответ
+ 1
An <input> element wich get the "focus" is the "active" element ( receiving keyboard entries... ).
Attribute "autofocus" can be only set on once <form> child element of type input ( <button> <input> <keygen> <select> <textarea> ) and, if present, give the focus to this element when the page load.