Open In App

HTML | DOM Button autofocus Property

The Button autofocus property in HTML DOM is used to set or return whether the button should get focus when the page loads. This property is used to reflect the HTML autofocus attribute.

Syntax:



Article Tags :