autofocus
Read More at MDN DocsView SpecSafe to Use
autofocus
is not safe to use.
It’s supported by 68% of global browsers.
Browsers
Version Breakdown
Full Support
Partial Support
Supported for the <button>
, <input>
, <select>
, and <textarea>
elements.
Full Support
Partial Support
Supported for the <button>
, <input>
, <select>
, and <textarea>
elements.
Full Support
Partial Support
Supported for the <button>
, <input>
, <select>
, and <textarea>
elements.
Partial Support
Supported for the <button>
, <input>
, <select>
, and <textarea>
elements.
Partial Support
Supported for the <button>
, <input>
, <select>
, and <textarea>
elements.
Partial Support
Supported for the <button>
, <input>
, <select>
, and <textarea>
elements.
Full Support
Partial Support
Supported for the <button>
, <input>
, <select>
, and <textarea>
elements.
Full Support
Partial Support
Supported for the <button>
, <input>
, <select>
, and <textarea>
elements.
Full Support
Partial Support
Supported for the <button>
, <input>
, <select>
, and <textarea>
elements.
Partial Support
Supported for the <button>
, <input>
, <select>
, and <textarea>
elements.
Partial Support
Supported for the <button>
, <input>
, <select>
, and <textarea>
elements.
Full Support
Partial Support
Supported for the <button>
, <input>
, <select>
, and <textarea>
elements.
Full Support
Partial Support
Supported for the <button>
, <input>
, <select>
, and <textarea>
elements.