3 ms·Focus can also be set automatically on page load by adding the HTML ‘autofocus’ attribute to the input field.by extra88 5y agoFocus can also be set automatically on page load by adding the HTML ‘autofocus’ attribute to the input field.