The Most Secure Cross Browser Testing Platform since 2012


Cross Browser Autofocus Attribute

BLOG / Web Development

Cross Browser Autofocus Attribute

Autofocus attribute allows a form field to be immediately focused on page load.

Browser Support

Autofocus attribute is already supported by all major browser so it should be really easy to get it working cross browser.

Code Example

You can use Autofocus attribute like this:

<input type="text" autofocus></input>

More Information

More information can be found here.