+ 4
NOT able to understand : autofocus AND autocomplete.
Please help. THANK YOU.
3 ответов
+ 4
- Autofocus is to focus the form when the user enter a website. The web will automatically goes to this form when the user enter a website. It is use in <input> tag.
- Autocomplete is when you click to fill in a form. It will make a suggestion based on your last input.
There is an example of autocomplete attribute.
https://code.sololearn.com/WyCM4Z3wjpHZ/?ref=app
+ 4
This autofocus stand alone attribute. You will see that the form is at the bottom of the webpage. But it automatically go to the form. In this code, I give this attribute in name textbox (<input> tag). While clicking run. Try to go to the top of the webpage.
https://code.sololearn.com/WCvRSJt9nd3K/?ref=app
+ 2
Please give example of autofocus also.....
// If possible